Template:Quests: Difference between revisions
m (Remove trailing line break after image.) |
(Remove usage + description. Add templedata tag to template to make usable with TemplateWizard. Also looks way cleaner!) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<noinclude> |
<noinclude> |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
<templatedata> |
|||
=== Explanation === |
|||
{ |
|||
"description": "Creates a standard quest table with details about the quest. Used on all quest pages. If a parameter is not known, leave it blank.", |
|||
Template used for creating Quest pages. |
|||
"format": "block", |
|||
"params": { |
|||
If data is not available or not known, leave it blank. |
|||
"en_name": { |
|||
"label": "Quest Name (EN)", |
|||
=== Variable Descriptions === |
|||
"description": "The name of the quest in English.", |
|||
"type": "string", |
|||
* '''ja_name''': Japanese name of the quest. |
|||
"required": true |
|||
* '''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.) |
|||
"ja_name": { |
|||
* '''en_npc''': English name of the NPC that starts the quest. |
|||
"label": "Quest Name (JP)", |
|||
* '''ja_npc''': Japanese name of the NPC that starts the quest. |
|||
"description": "The name of the quest in Japanese.", |
|||
* '''req''': A list of requirements that are required to complete the quest. Use '''<nowiki><br></nowiki>''' to separate items. |
|||
"type": "string", |
|||
* '''img''': Filename of the image to use. Just list the filename (ex: monster_slime.jpg). |
|||
"suggested": true |
|||
* '''exp''': Amount of experience awarded on quest completion. |
|||
}, |
|||
* '''fame''': Amount of fame awarded on quest completion. |
|||
"loc": { |
|||
* '''reward''': A list of rewards that are awarded on quest completion. Use '''<nowiki><br></nowiki>''' to separate items. |
|||
"label": "Location", |
|||
* '''rep_exp''': Amount of experience awarded on a replay of the quest. |
|||
"description": "The location of where the quest starts. Use the English map name as it will generate a link to the map on this wiki.", |
|||
* '''rep_fame''': Amount of fame awarded on a replay of the quest. |
|||
"type": "string", |
|||
* '''rep_reward''': A list of rewards awarded on a replay of the quest. Use '''<nowiki><br></nowiki>''' to separate items. |
|||
"required": true |
|||
* '''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.). |
|||
"coords": { |
|||
"label": "Coordinates", |
|||
=== Usage === |
|||
"description": "The <LETTER><NUMBER> coordinates found on the in-game map. e.g.: E4", |
|||
<pre> |
|||
"type": "string", |
|||
{{Quests |
|||
"required": true |
|||
| en_name = |
|||
}, |
|||
| ja_name = |
|||
"en_npc": { |
|||
| loc = |
|||
"label": "NPC Name (EN)", |
|||
| coords = |
|||
"description": "The English name of the NPC to start the quest.", |
|||
| en_npc = |
|||
"type": "string", |
|||
| ja_npc = |
|||
"required": true |
|||
| req = |
|||
}, |
|||
| img = |
|||
"ja_npc": { |
|||
| exp = |
|||
"label": "NPC Name (JA)", |
|||
| fame = |
|||
"description": "The Japanese name of the NPC to start the quest.", |
|||
| reward = |
|||
"type": "string", |
|||
| rep_exp = |
|||
"suggested": true |
|||
| rep_fame = |
|||
}, |
|||
| rep_reward = |
|||
"req": { |
|||
| prev_quest = |
|||
"label": "Quest Requirements", |
|||
| next_quest = |
|||
"description": "A list of requirements that must be met in order to start the quest. Separate each requirement with a <br> tag.", |
|||
}} |
|||
"type": "string" |
|||
</pre> |
|||
}, |
|||
"img": { |
|||
"label": "Quest Image", |
|||
"description": "A relevant image describing the quest. This can be the quest starting NPC or a scene that occurs within the quest. When referencing a quest image, don't encapsulate the image in brackets; just type the name of the file. e.g. Quest_202_NPC.jpg", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"exp": { |
|||
"label": "Experience", |
|||
"description": "The amount of experience rewarded on the first completion of the quest.", |
|||
"type": "number", |
|||
"suggested": true |
|||
}, |
|||
"fame": { |
|||
"label": "Fame", |
|||
"description": "The amount of fame rewarded on the first completion of the quest.", |
|||
"type": "number", |
|||
"suggested": true |
|||
}, |
|||
"reward": { |
|||
"label": "Rewards", |
|||
"description": "A list of rewards that are gained upon first completion of the quest. Separate each reward with a <br> tag.", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"rep_exp": { |
|||
"label": "Repeat Experience", |
|||
"description": "The amount of experience rewarded on a repeat playthrough of the quest.", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"rep_fame": { |
|||
"label": "Repeat Fame", |
|||
"description": "The amount of fame rewarded on a repeat playthrough of the quest.", |
|||
"type": "number", |
|||
"suggested": true |
|||
}, |
|||
"rep_reward": { |
|||
"label": "Repeat Rewards", |
|||
"description": "A list of rewards that are gained on a repeat playthrough of the quest. Separate each reward with a <br> tag.", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"prev_quest": { |
|||
"label": "Previous Quest", |
|||
"description": "If this quest is part of a chain, the previous quest number in the chain.", |
|||
"type": "number" |
|||
}, |
|||
"next_quest": { |
|||
"label": "Next Quest", |
|||
"description": "If this quest is part of a chain, the next quest number in the chain.", |
|||
"type": "number" |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
</noinclude><includeonly>[[Category:Quests]] |
</noinclude><includeonly>[[Category:Quests]] |
||
__NOTOC__ |
__NOTOC__ |
||
Line 192: | Line 248: | ||
== Walkthrough == |
== Walkthrough == |
||
{{#if: {{{img|}}}|[[File:{{{img}}}|right|border|250px]]|}} |
{{#if: {{{img|}}}|[[File:{{{img}}}|right|border|250px]]|}}</includeonly> |
||
</includeonly> |
Latest revision as of 17:14, 3 July 2024
Creates a standard quest table with details about the quest. Used on all quest pages. If a parameter is not known, leave it blank.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quest Name (EN) | en_name | The name of the quest in English. | String | required |
Quest Name (JP) | ja_name | The name of the quest in Japanese. | String | suggested |
Location | loc | The location of where the quest starts. Use the English map name as it will generate a link to the map on this wiki. | String | required |
Coordinates | coords | The <LETTER><NUMBER> coordinates found on the in-game map. e.g.: E4 | String | required |
NPC Name (EN) | en_npc | The English name of the NPC to start the quest. | String | required |
NPC Name (JA) | ja_npc | The Japanese name of the NPC to start the quest. | String | suggested |
Quest Requirements | req | A list of requirements that must be met in order to start the quest. Separate each requirement with a <br> tag. | String | optional |
Quest Image | img | A relevant image describing the quest. This can be the quest starting NPC or a scene that occurs within the quest. When referencing a quest image, don't encapsulate the image in brackets; just type the name of the file. e.g. Quest_202_NPC.jpg | String | suggested |
Experience | exp | The amount of experience rewarded on the first completion of the quest. | Number | suggested |
Fame | fame | The amount of fame rewarded on the first completion of the quest. | Number | suggested |
Rewards | reward | A list of rewards that are gained upon first completion of the quest. Separate each reward with a <br> tag. | String | suggested |
Repeat Experience | rep_exp | The amount of experience rewarded on a repeat playthrough of the quest. | String | suggested |
Repeat Fame | rep_fame | The amount of fame rewarded on a repeat playthrough of the quest. | Number | suggested |
Repeat Rewards | rep_reward | A list of rewards that are gained on a repeat playthrough of the quest. Separate each reward with a <br> tag. | String | suggested |
Previous Quest | prev_quest | If this quest is part of a chain, the previous quest number in the chain. | Number | optional |
Next Quest | next_quest | If this quest is part of a chain, the next quest number in the chain. | Number | optional |