Template:Infobox Quest: Difference between revisions
From Zelda Wiki, the Zelda encyclopedia
Generalized to other games that need it
JumbledLimes (talk | contribs) No edit summary |
PhantomCaleb (talk | contribs) (Generalized to other games that need it) |
||
Line 2: | Line 2: | ||
-->{{InfoField|Start |{{{name|{{PAGENAME}}}}}}}<!-- | -->{{InfoField|Start |{{{name|{{PAGENAME}}}}}}}<!-- | ||
-->{{InfoField|Image |{{{image|}}}|{{{caption|}}}|Required}}<!-- | -->{{InfoField|Image |{{{image|}}}|{{{caption|}}}|Required}}<!-- | ||
-->{{InfoField|Overflow|Game(s) |{{{game|}}}}}<!-- | |||
-->{{InfoField|Quest Giver |{{{giver|}}}|Optional}}<!-- | -->{{InfoField|Quest Giver |{{{giver|}}}|Optional}}<!-- | ||
-->{{InfoField|Prerequisite(s)|{{{prereq|}}}|Optional}}<!-- | -->{{InfoField|Prerequisite(s)|{{{prereq|}}}|Optional}}<!-- | ||
-->{{InfoField|Requirement(s)|{{{req|}}}|Optional}}<!-- | -->{{InfoField|Requirement(s)|{{{req|}}}|Optional}}<!-- | ||
-->{{InfoField|Location |{{#switch:{{PAGENAME}}|Watch Out for the Flowers|A Gift of Nightshade|Xenoblade Chronicles 2|EX Champion Revali's Song|EX Champion Daruk's Song= {{{location}}}|#default= '''[[{{{location|}}}|{{Color|BotW {{#switch:{{{type}}}|Main= Main|Side= Side|Shrine= Shrine|#default= Main}} Quest|{{{location}}}}}]]'''}}|Optional}}<!-- | -->{{InfoField|Location |{{#if:{{{location|}}}|{{#switch:{{PAGENAME}}|Watch Out for the Flowers|A Gift of Nightshade|Xenoblade Chronicles 2|EX Champion Revali's Song|EX Champion Daruk's Song= {{{location}}}|#default= '''[[{{{location|}}}|{{Color|BotW {{#switch:{{{type}}}|Main= Main|Side= Side|Shrine= Shrine|#default= Main}} Quest|{{{location}}}}}]]'''}}}}|Optional}}<!-- | ||
-->{{InfoField|Reward |{{{reward|}}}|Optional}}<!-- | -->{{InfoField|Reward |{{{reward|}}}|Optional}}<!-- | ||
-->{{#vardefine:NextH|<th style="text-align:{{#if:{{{previous|}}}|right|center}}; vertical-align:middle; padding:4px; {{#if:{{{previous|}}}|width:50%;max-width:11em;"|" colspan="2"}}>Next Quest</th>}}<!-- | -->{{#vardefine:NextH|<th style="text-align:{{#if:{{{previous|}}}|right|center}}; vertical-align:middle; padding:4px; {{#if:{{{previous|}}}|width:50%;max-width:11em;"|" colspan="2"}}>Next Quest</th>}}<!-- | ||
Line 25: | Line 26: | ||
{{Clear}} | {{Clear}} | ||
=== Usage === | === Usage === | ||
This template is used to display information about Quests | This template is used to display information about [[:Category:Quests|Quests]].<br/> | ||
To add this template to an article copy and paste the following code and then fill in the information (all fields are optional): | To add this template to an article copy and paste the following code and then fill in the information (all fields are optional): | ||
<pre> | <pre> | ||
{{Quest | {{Infobox Quest | ||
|name= the name of the Quest (do NOT put quotation marks around it here) | |name= the name of the Quest (do NOT put quotation marks around it here) | ||
|image= an image depicting the Quest | |image= an image depicting the Quest | ||
|caption= a caption for the image, should one be necessary (be brief) | |caption= a caption for the image, should one be necessary (be brief) | ||
|type= the type of Quest (Main, Shrine, Side) | |type= the type of Quest (Main, Shrine, Side) | ||
|game= The game(s) in which the quest appears. | |||
|giver= the Quest giver | |giver= the Quest giver | ||
|location= the location where the Quest is received | |location= the location where the Quest is received |