Template:Quests: Difference between revisions

From Ethene
Content added Content deleted
mNo edit summary
(Update template.)
Line 9: Line 9:


=== Variable Descriptions ===
=== Variable Descriptions ===

* '''num''': The number of the quest (use 1, 10, 100, etc. as the format of the quest. Do not use 001, 010, etc.)
* '''en_name''': English name of the quest.
* '''en_name''': English name of the quest.
* '''ja_name''': Japanese name of the quest.
* '''ja_name''': Japanese name of the quest.
Line 29: Line 27:


=== Usage ===
=== Usage ===

Note that this template appends a header of '''<nowiki>== Walkthrough ==</nowiki>'''. Just add the steps necessary to perform the quest after the template.

<pre>
<pre>
{{Quests
{{Quests
| num =
| en_name =
| en_name =
| ja_name =
| ja_name =
Line 54: Line 48:
</pre>
</pre>
</noinclude><includeonly>[[Category:Quests]]
</noinclude><includeonly>[[Category:Quests]]
{| class="wikitable" colspan="5" align="right"
{| class="wikitable" colspan="3" width="100%"
! colspan="6" style="background-color: #7d735a; color: white;" | {{#if: {{{num|}}}|{{{num}}}|&nbsp;}}
! colspan="3" style="background-color: #7d735a; color: white;" | {{#invoke:String|replace|{{SUBPAGENAME}}|Quest|}}
|-
|-
! style="background-color: #c6bca1;" | Name
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Name
| colspan="5" style="background-color: #f7f3ed;" | {{#if: {{{en_name|}}}|{{{en_name}}}|-}}{{#if: {{{ja_name|}}}|<br>({{{ja_name}}})|}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{en_name|}}}|{{{en_name}}}|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{ja_name|}}}|{{{ja_name}}}|-}}
|-
|-
! style="background-color: #c6bca1;" | Location
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Location
| colspan="5" style="background-color: #f7f3ed;" | {{#if: {{{loc|}}}|[[{{{loc}}}]]|-}}
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{loc|}}}|[[{{{loc}}}]]|-}}
|-
|-
! style="background-color: #c6bca1;" | Coordinates
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Coordinates
| colspan="5" style="background-color: #f7f3ed;" | {{#if: {{{coords|}}}|{{{coords}}}|-}}
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{coords|}}}|{{{coords}}}|-}}
|-
|-
! style="background-color: #c6bca1;" | NPC
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | NPC
| colspan="5" style="background-color: #f7f3ed;" | {{#if: {{{en_npc|}}}|{{{en_npc}}}|-}}{{#if: {{{ja_npc|}}}|<br>({{{ja_npc}}})|}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{en_npc|}}}|{{{en_npc}}}|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{ja_npc|}}}|{{{ja_npc}}}|-}}
|-
|-
! style="background-color: #c6bca1;" | Image
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Requirements
| colspan="5" style="background-color: #f7f3ed; text-align: center;" | {{#if: {{{img|}}}|[[File:{{{img}}}|border|250px]]|}}
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{req|}}}|{{{req}}}|-}}
|-
|-
! style="background-color: #c6bca1;" | Requirements
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Previous Quest
| colspan="5" style="background-color: #f7f3ed;" | {{#if: {{{req|}}}|{{{req}}}|-}}
| colspan="2" style="background-color: #f7f3ed; width: 88%" | {{#if: {{{prev_quest|}}}|[[Quest_{{{prev_quest}}}|{{{prev_quest}}}]]|-}}
|-
|-
! colspan="5" style="background-color: #7d735a; color: white;" | Initial Rewards
! 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}}}]]|-}}
|-
|}
! style="background-color: #c6bca1;" | Experience

| colspan="5" style="background-color: #f7f3ed;" | {{#if: {{{exp|}}}|{{{exp}}} P|-}}
{| class="wikitable" colspan="3" width="100%"
|-
! style="background-color: #c6bca1;" | Fame
! colspan="3" style="background-color: #7d735a; color: white;" | Rewards (First Time / Repeat)
| style="background-color: #f7f3ed;" | {{#if: {{{fame|}}}|{{{fame}}} P|-}}
|-
! style="background-color: #c6bca1;" | Rewards
| style="background-color: #f7f3ed;" | {{#if: {{{reward|}}}|{{{reward}}}|-}}
|-
! colspan="5" style="background-color: #7d735a; color: white;" | Replay Rewards
|-
! style="background-color: #c6bca1;" | Experience
| style="background-color: #f7f3ed;" | {{#if: {{{rep_exp|}}}|{{{rep_exp}}} P|-}}
|-
! style="background-color: #c6bca1;" | Fame
| style="background-color: #f7f3ed;" | {{#if: {{{rep_fame|}}}|{{{rep_fame}}} P|-}}
|-
! style="background-color: #c6bca1;" | Rewards
| style="background-color: #f7f3ed;" | {{#if: {{{rep_reward|}}}|{{{rep_reward}}}|-}}
|-
|-
! colspan="5" style="background-color: #7d735a; color: white;" | Quest Progression
! 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%" | {{{rep_exp|}}}|{{{rep_exp}}} P|-}}
|-
|-
! style="background-color: #c6bca1;" | Previous
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Fame
| style="background-color: #f7f3ed;" | {{#if: {{{prev_quest|}}}|[[Quest_{{{prev_quest}}}|{{{prev_quest}}}]]|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{fame|}}}|{{{fame}}} P|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{rep_fame|}}}|{{{rep_fame}}} P|-}}
|-
|-
! style="background-color: #c6bca1;" | Next
! scope="row" style="width: 12%; background-color: #c6bca1; text-align: left;" | Rewards
| style="background-color: #f7f3ed;" | {{#if: {{{next_quest|}}}|[[Quest_{{{next_quest}}}|{{{next_quest}}}]]|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{reward|}}}|{{{reward}}}|-}}
| style="background-color: #f7f3ed; width: 44%" | {{#if: {{{rep_reward|}}}|{{{rep_reward}}}|-}}
|}
|}
=== Walkthrough ===
</includeonly>
</includeonly>

Revision as of 16:05, 3 July 2024

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 [[]] 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 <br> 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 <br> 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 <br> 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

{{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 = 
}}