Difference between revisions of "Template:Quest Header"

From sureai
Jump to: navigation, search
m (Add top margin)
(Use the new Difficulty template)
Line 29: Line 29:
 
{{!}}-
 
{{!}}-
 
|}}
 
|}}
| style="text-align: right;" | '''Difficulty:'''
+
{{#if: {{{difficulty|}}} |
| style="text-align: left; max-width: 300px;" | {{#switch: {{{difficulty|0}}}
+
{{!}} style="text-align: right;" {{!}} '''Difficulty:'''
    |0 = [[File:Quest-Difficulty-0.png|70px]] Very Easy
+
{{!}} style="text-align: left; max-width: 300px;" {{!}} {{Difficulty|{{{difficulty}}}|text=1}}
    |1 = [[File:Quest-Difficulty-1.png|70px]] Easy
+
    |2 = [[File:Quest-Difficulty-2.png|70px]] Medium
+
    |3 = [[File:Quest-Difficulty-3.png|70px]] Hard
+
    |4 = [[File:Quest-Difficulty-4.png|70px]] Very Hard
+
    |{{{difficulty}}}
+
 
}}
 
}}
 
|}
 
|}
Line 46: Line 41:
  
 
* '''Text Parameters:''' image, name, quest giver, locations, prerequisite, next, rewards, questid
 
* '''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).
+
* '''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), with the same limitations as the [[:Template:Difficulty|Difficulty template]]
  
 
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 102: Line 97:
 
|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>
 
</pre>
Line 110: Line 104:
 
|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
 
 
}}
 
}}
  

Revision as of 11:56, 20 December 2018

Quest Header

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), with the same limitations as the Difficulty template

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
}}
EN-Quest-Ornament-Mainquest-Left.png
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: Quest-Difficulty-4.png 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?
}}
EN-Quest-Ornament-Sidequest-Left.png
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?

{{Quest Header}}
Quest Header