Template:Quests: Difference between revisions

From Ethene
Content added Content deleted
m (Move includeonly closing tag to end of image to hopefully fix newline after template usage in quest page.)
(Remove usage + description. Add templedata tag to template to make usable with TemplateWizard. Also looks way cleaner!)
 
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 ===
* '''en_name''': English name of the quest.
"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__

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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Quest Name (EN)en_name

The name of the quest in English.

Stringrequired
Quest Name (JP)ja_name

The name of the quest in Japanese.

Stringsuggested
Locationloc

The location of where the quest starts. Use the English map name as it will generate a link to the map on this wiki.

Stringrequired
Coordinatescoords

The <LETTER><NUMBER> coordinates found on the in-game map. e.g.: E4

Stringrequired
NPC Name (EN)en_npc

The English name of the NPC to start the quest.

Stringrequired
NPC Name (JA)ja_npc

The Japanese name of the NPC to start the quest.

Stringsuggested
Quest Requirementsreq

A list of requirements that must be met in order to start the quest. Separate each requirement with a <br> tag.

Stringoptional
Quest Imageimg

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

Stringsuggested
Experienceexp

The amount of experience rewarded on the first completion of the quest.

Numbersuggested
Famefame

The amount of fame rewarded on the first completion of the quest.

Numbersuggested
Rewardsreward

A list of rewards that are gained upon first completion of the quest. Separate each reward with a <br> tag.

Stringsuggested
Repeat Experiencerep_exp

The amount of experience rewarded on a repeat playthrough of the quest.

Stringsuggested
Repeat Famerep_fame

The amount of fame rewarded on a repeat playthrough of the quest.

Numbersuggested
Repeat Rewardsrep_reward

A list of rewards that are gained on a repeat playthrough of the quest. Separate each reward with a <br> tag.

Stringsuggested
Previous Questprev_quest

If this quest is part of a chain, the previous quest number in the chain.

Numberoptional
Next Questnext_quest

If this quest is part of a chain, the next quest number in the chain.

Numberoptional