Template:Quests: Difference between revisions

From Ethene
Template:Quests
Content deleted Content added
m Move includeonly closing tag to end of image to hopefully fix newline after template usage in quest page.
m Re-direct template to Quest.
Tag: New redirect
 
(One intermediate revision by the same user not shown)
Line 1:
#REDIRECT [[Template:Quest]]
__NOTOC__
<noinclude>
[[Category:Templates]]
=== Explanation ===
 
Template used for creating Quest pages.
 
If data is not available or not known, leave it blank.
 
=== Variable Descriptions ===
* '''en_name''': English name of the quest.
* '''ja_name''': Japanese name of the quest.
* '''loc''': Location of where the quest is started. Don't use '''<nowiki>[[]]</nowiki>''' to link to the page. Don't add the Japanese here.
* '''coords''': Coordinates on the map to where the quest NPC can be found (ex: G-5, C-2, etc.)
* '''en_npc''': English name of the NPC that starts the quest.
* '''ja_npc''': Japanese name of the NPC that starts the quest.
* '''req''': A list of requirements that are required to complete the quest. Use '''<nowiki><br></nowiki>''' to separate items.
* '''img''': Filename of the image to use. Just list the filename (ex: monster_slime.jpg).
* '''exp''': Amount of experience awarded on quest completion.
* '''fame''': Amount of fame awarded on quest completion.
* '''reward''': A list of rewards that are awarded on quest completion. Use '''<nowiki><br></nowiki>''' to separate items.
* '''rep_exp''': Amount of experience awarded on a replay of the quest.
* '''rep_fame''': Amount of fame awarded on a replay of the quest.
* '''rep_reward''': A list of rewards awarded on a replay of the quest. Use '''<nowiki><br></nowiki>''' to separate items.
* '''prev_quest''': If this is a quest in the middle of a quest chain, use the previous quest number here. Use just the quest number (1, 10, 100, etc.).
* '''next_quest''': If this is a quest that is part of a quest chain, use the next quest number here. Use just the quest number (1, 10, 100, etc.).
 
=== Usage ===
<pre>
{{Quests
| en_name =
| ja_name =
| loc =
| coords =
| en_npc =
| ja_npc =
| req =
| img =
| exp =
| fame =
| reward =
| rep_exp =
| rep_fame =
| rep_reward =
| prev_quest =
| next_quest =
}}
</pre>
</noinclude><includeonly>[[Category:Quests]]
__NOTOC__
<noinclude>
[[Category:Templates]]
=== Explanation ===
 
Template used for creating Quest pages.
 
If data is not available or not known, leave it blank.
 
=== Variable Descriptions ===
* '''en_name''': English name of the quest.
* '''ja_name''': Japanese name of the quest.
* '''loc''': Location of where the quest is started. Don't use '''<nowiki>[[]]</nowiki>''' to link to the page. Don't add the Japanese here.
* '''coords''': Coordinates on the map to where the quest NPC can be found (ex: G-5, C-2, etc.)
* '''en_npc''': English name of the NPC that starts the quest.
* '''ja_npc''': Japanese name of the NPC that starts the quest.
* '''req''': A list of requirements that are required to complete the quest. Use '''<nowiki><br></nowiki>''' to separate items.
* '''img''': Filename of the image to use. Just list the filename (ex: monster_slime.jpg).
* '''exp''': Amount of experience awarded on quest completion.
* '''fame''': Amount of fame awarded on quest completion.
* '''reward''': A list of rewards that are awarded on quest completion. Use '''<nowiki><br></nowiki>''' to separate items.
* '''rep_exp''': Amount of experience awarded on a replay of the quest.
* '''rep_fame''': Amount of fame awarded on a replay of the quest.
* '''rep_reward''': A list of rewards awarded on a replay of the quest. Use '''<nowiki><br></nowiki>''' to separate items.
* '''prev_quest''': If this is a quest in the middle of a quest chain, use the previous quest number here. Use just the quest number (1, 10, 100, etc.).
* '''next_quest''': If this is a quest that is part of a quest chain, use the next quest number here. Use just the quest number (1, 10, 100, etc.).
 
=== Usage ===
<pre>
{{Quests
| en_name =
| ja_name =
| loc =
| coords =
| en_npc =
| ja_npc =
| req =
| img =
| exp =
| fame =
| reward =
| rep_exp =
| rep_fame =
| rep_reward =
| prev_quest =
| next_quest =
}}
</pre>
</noinclude><includeonly>[[Category:Quests]]
__NOTOC__
<noinclude>
[[Category:Templates]]
=== Explanation ===
 
Template used for creating Quest pages.
 
If data is not available or not known, leave it blank.
 
=== Variable Descriptions ===
* '''en_name''': English name of the quest.
* '''ja_name''': Japanese name of the quest.
* '''loc''': Location of where the quest is started. Don't use '''<nowiki>[[]]</nowiki>''' to link to the page. Don't add the Japanese here.
* '''coords''': Coordinates on the map to where the quest NPC can be found (ex: G-5, C-2, etc.)
* '''en_npc''': English name of the NPC that starts the quest.
* '''ja_npc''': Japanese name of the NPC that starts the quest.
* '''req''': A list of requirements that are required to complete the quest. Use '''<nowiki><br></nowiki>''' to separate items.
* '''img''': Filename of the image to use. Just list the filename (ex: monster_slime.jpg).
* '''exp''': Amount of experience awarded on quest completion.
* '''fame''': Amount of fame awarded on quest completion.
* '''reward''': A list of rewards that are awarded on quest completion. Use '''<nowiki><br></nowiki>''' to separate items.
* '''rep_exp''': Amount of experience awarded on a replay of the quest.
* '''rep_fame''': Amount of fame awarded on a replay of the quest.
* '''rep_reward''': A list of rewards awarded on a replay of the quest. Use '''<nowiki><br></nowiki>''' to separate items.
* '''prev_quest''': If this is a quest in the middle of a quest chain, use the previous quest number here. Use just the quest number (1, 10, 100, etc.).
* '''next_quest''': If this is a quest that is part of a quest chain, use the next quest number here. Use just the quest number (1, 10, 100, etc.).
 
=== Usage ===
Note that this template appends an H2 header labeled '''Walkthrough'''. Just add the steps necessary to perform the quest after the template.
 
<pre>
{{Quests
| en_name =
| ja_name =
| loc =
| coords =
| en_npc =
| ja_npc =
| req =
| img =
| exp =
| fame =
| reward =
| rep_exp =
| rep_fame =
| rep_reward =
| prev_quest =
| next_quest =
}}
</pre>
</noinclude><includeonly>[[Category:Quests]]
{| class="wikitable" colspan="3" width="100%"
! colspan="3" style="background-color: #7d735a; color: white;" | {{#invoke:String|replace|{{SUBPAGENAME}}|Quest|}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Name
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{en_name|}}}|{{{en_name}}}|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{ja_name|}}}|{{{ja_name}}}|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Location
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{loc|}}}|[[{{{loc}}}]]|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Coordinates
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{coords|}}}|{{{coords}}}|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | NPC
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{en_npc|}}}|{{{en_npc}}}|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{ja_npc|}}}|{{{ja_npc}}}|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Requirements
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{req|}}}|{{{req}}}|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Previous Quest
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{prev_quest|}}}|[[Quest_{{{prev_quest}}}|{{{prev_quest}}}]]|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Next Quest
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{next_quest|}}}|[[Quest_{{{next_quest}}}|{{{next_quest}}}]]|-}}
|}
 
{| class="wikitable" colspan="3" width="100%"
! colspan="3" style="background-color: #7d735a; color: white;" | Rewards (First Time / Repeat)
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Experience
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{exp|}}}|{{{exp}}} P|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{rep_exp|}}}|{{{rep_exp}}} P|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Fame
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{fame|}}}|{{{fame}}} P|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{rep_fame|}}}|{{{rep_fame}}} P|-}}
|-
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Rewards
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{reward|}}}|{{{reward}}}|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{rep_reward|}}}|{{{rep_reward}}}|-}}
|}
 
== Walkthrough ==
{{#if: {{{img|}}}|[[File:{{{img}}}|right|border|250px]]|}}</includeonly>