Difference between revisions of "Template:Quest Header"
From sureai
m (Add Quest ID to Parameters list) |
(Make unused parameters hidden, change Quest ID location) |
||
Line 1: | Line 1: | ||
{| style="margin: 0 auto" | {| style="margin: 0 auto" | ||
| style="vertical-align: top; " | {{#if: {{{image|}}} | [[File:{{{image}}}|right|250x80px]] |}} | | style="vertical-align: top; " | {{#if: {{{image|}}} | [[File:{{{image}}}|right|250x80px]] |}} | ||
− | | style="text-align: left; max-width: 400px; font-size: 150%; color: white;" | '''{{{name|{{PAGENAME}}}}}''' | + | | style="text-align: left; max-width: 400px; font-size: 150%; color: white;" | '''{{{name|{{PAGENAME}}}}}''' {{#if: {{{questid|}}} | <br/>(<span style="font-family: monospace;">{{{questid}}}</span>) |}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | style=" | + | |
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | {{#if: {{{quest giver|}}} | | ||
+ | {{!}} style="text-align: right; vertical-align: top; " {{!}} '''Quest Giver:''' | ||
+ | {{!}} style="text-align: left; max-width: 300px;" {{!}} {{{quest giver}}} | ||
+ | {{!}}- | ||
+ | |}} | ||
+ | {{#if: {{{locations|}}} | | ||
+ | {{!}} style="text-align: right; vertical-align: top; " {{!}} '''Location(s):''' | ||
+ | {{!}} style="text-align: left; max-width: 300px;" {{!}} {{{locations}}} | ||
+ | {{!}}- | ||
+ | |}} | ||
+ | {{#if: {{{prerequisite|}}} | | ||
+ | {{!}} style="text-align: right; vertical-align: top; " {{!}} '''Prerequisite Quest:''' | ||
+ | {{!}} style="text-align: left; max-width: 300px;" {{!}} {{{prerequisite}}} | ||
+ | {{!}}- | ||
+ | |}} | ||
+ | {{#if: {{{next|}}} | | ||
+ | {{!}} style="text-align: right; vertical-align: top; " {{!}} '''Next Quest:''' | ||
+ | {{!}} style="text-align: left; max-width: 300px;" {{!}} {{{next}}} | ||
+ | {{!}}- | ||
+ | |}} | ||
+ | {{#if: {{{rewards|}}} | | ||
+ | {{!}} style="text-align: right; vertical-align: top; " {{!}} '''Rewards:''' | ||
+ | {{!}} style="text-align: left; max-width: 300px;" {{!}} {{{rewards}}} | ||
+ | {{!}}- | ||
+ | |}} | ||
| style="text-align: right;" | '''Difficulty:''' | | style="text-align: right;" | '''Difficulty:''' | ||
− | | style="text-align: left; max-width: 300px;" | {{#switch: {{{difficulty| | + | | style="text-align: left; max-width: 300px;" | {{#switch: {{{difficulty|0}}} |
|0 = [[File:Quest-Difficulty-0.png|70px]] Very Easy | |0 = [[File:Quest-Difficulty-0.png|70px]] Very Easy | ||
|1 = [[File:Quest-Difficulty-1.png|70px]] Easy | |1 = [[File:Quest-Difficulty-1.png|70px]] Easy | ||
Line 28: | Line 35: | ||
|3 = [[File:Quest-Difficulty-3.png|70px]] Hard | |3 = [[File:Quest-Difficulty-3.png|70px]] Hard | ||
|4 = [[File:Quest-Difficulty-4.png|70px]] Very Hard | |4 = [[File:Quest-Difficulty-4.png|70px]] Very Hard | ||
− | |{{{difficulty | + | |{{{difficulty}}} |
}} | }} | ||
|} | |} | ||
Line 70: | Line 77: | ||
|next = The Wiki Blossoming | |next = The Wiki Blossoming | ||
|rewards = 1 000 000 Gold Bars | |rewards = 1 000 000 Gold Bars | ||
+ | |questid = WIKI01B | ||
|difficulty = 4 | |difficulty = 4 | ||
}} | }} | ||
Line 82: | Line 90: | ||
|next = The Wiki Blossoming | |next = The Wiki Blossoming | ||
|rewards = 1 000 000 Gold Bars | |rewards = 1 000 000 Gold Bars | ||
+ | |questid = WIKI01B | ||
|difficulty = 4 | |difficulty = 4 | ||
}} | }} |
Revision as of 17:41, 11 April 2017
Quest Header | |
Difficulty: | Very Easy |
Usage
Parameters
All parameters are optional.
- Text Parameters: image, name, quest giver, locations, prerequisite, next, rewards, questid
- difficulty: This should be the average difficulty of the quest (On Enderal, can be thought of as the average number of asterisks on the quest objectives), represented as an integer in the range 0-4. Any other value is left as-is (which can be used to mark quests with varying difficulty, see the second example).
If the parameter "name" is left empty, the quest header will use the current page's title (without the namespace) as the quest name.
Available Quest Decorators
Left-Facing
Right-Facing
Examples
{{Quest Header |image = EN-Quest-Ornament-Mainquest-Left.png |name = The Wiki Resistance |quest giver = [[User:Davipb|]] |locations = [[Main Page|SureAI Wiki]], Internet |prerequisite = The Wiki Creation |next = The Wiki Blossoming |rewards = 1 000 000 Gold Bars |questid = WIKI01B |difficulty = 4 }}
The Wiki Resistance (WIKI01B) | |
Quest Giver: | Davipb |
Location(s): | SureAI Wiki, Internet |
Prerequisite Quest: | The Wiki Creation |
Next Quest: | The Wiki Blossoming |
Rewards: | 1 000 000 Gold Bars |
Difficulty: | Very Hard |
{{Quest Header |image = EN-Quest-Ornament-Sidequest-Left.png |name = The quest with the name so long all computers exploded and all narrators died trying to speak its name, and even then the universe could not comprehend it. |rewards = This is a very long reward field, as you can see. But don't worry! Long lines will automatically wrap to keep a properly consistent and centered look. Look, some more words: Fungibility. Awesomeness. Programming. Wikis. Enderal. Skyrim. Power. Force. Let's just add a few more words in here for good mesure, why not? |difficulty = Varies }}
The quest with the name so long all computers exploded and all narrators died trying to speak its name, and even then the universe could not comprehend it. | |
Rewards: | This is a very long reward field, as you can see. But don't worry! Long lines will automatically wrap to keep a properly consistent and centered look. Look, some more words: Fungibility. Awesomeness. Programming. Wikis. Enderal. Skyrim. Power. Force. Let's just add a few more words in here for good mesure, why not? |
Difficulty: | 70px |
{{Quest Header}}
Quest Header |