Difference between revisions of "Template:Quest Header"
From sureai
(Made image sizes more consistent & limited input fields' widths) |
(Added 'difficulty' parameter) |
||
Line 17: | Line 17: | ||
| style="text-align: right;" | '''Rewards:''' | | style="text-align: right;" | '''Rewards:''' | ||
| style="text-align: left; max-width: 300px;" | {{{rewards|-}}} | | style="text-align: left; max-width: 300px;" | {{{rewards|-}}} | ||
+ | |- | ||
+ | | style="text-align: right;" | '''Difficulty:''' | ||
+ | | style="text-align: left; max-width: 300px;" | {{#switch: {{{difficulty|-}}} | ||
+ | |0 = Very Easy | ||
+ | |1 = Easy | ||
+ | |2 = Medium | ||
+ | |3 = Hard | ||
+ | |4 = Very Hard | ||
+ | |{{{difficulty|-}}} | ||
+ | }} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
Line 23: | Line 33: | ||
''All parameters are optional.'' | ''All parameters are optional.'' | ||
− | image, name, quest giver, locations, prerequisite, next, rewards | + | * '''Text Parameters:''' image, name, quest giver, locations, prerequisite, next, rewards |
+ | * '''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. | If the parameter "name" is left empty, the quest header will use the current page's title (without the namespace) as the quest name. | ||
Line 48: | Line 59: | ||
===Examples=== | ===Examples=== | ||
− | + | <pre>{{Quest Header | |
|image = EN-Quest-Ornament-Mainquest-Left.png | |image = EN-Quest-Ornament-Mainquest-Left.png | ||
|name = The Wiki Resistance | |name = The Wiki Resistance | ||
Line 56: | Line 67: | ||
|next = The Wiki Blossoming | |next = The Wiki Blossoming | ||
|rewards = 1 000 000 Gold Bars | |rewards = 1 000 000 Gold Bars | ||
+ | |difficulty = 4 | ||
}} | }} | ||
− | </ | + | </pre> |
{{Quest Header | {{Quest Header | ||
Line 67: | Line 79: | ||
|next = The Wiki Blossoming | |next = The Wiki Blossoming | ||
|rewards = 1 000 000 Gold Bars | |rewards = 1 000 000 Gold Bars | ||
+ | |difficulty = 4 | ||
}} | }} | ||
---- | ---- | ||
− | + | <pre>{{Quest Header | |
|image = EN-Quest-Ornament-Sidequest-Left.png | |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. | |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? | |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 | ||
}} | }} | ||
− | </ | + | </pre> |
{{Quest Header | {{Quest Header | ||
Line 82: | Line 96: | ||
|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. | |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? | |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 | ||
}} | }} | ||
---- | ---- | ||
− | + | <pre>{{Quest Header}}</pre> | |
{{Quest Header}} | {{Quest Header}} |
Revision as of 16:51, 24 August 2016
Quest Header | |
Quest Giver: | - |
Location(s): | - |
Prerequisite Quest: | - |
Next Quest: | - |
Rewards: | - |
Difficulty: | - |
Usage
Parameters
All parameters are optional.
- Text Parameters: image, name, quest giver, locations, prerequisite, next, rewards
- 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 |difficulty = 4 }}
The Wiki Resistance | |
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 |