Difference between revisions of "Template:Quest Info"
Jump to navigation
Jump to search
alfheim>Xellie |
m |
||
| (17 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><table width="100%"><tr><td> |
{{#if: {{{cat|}}} | | | {{#if: {{{cat|}}} | | | ||
{{#if: {{{window|}}} | [[Category:Quest Window Quests]] }} | {{#if: {{{window|}}} | [[Category:Quest Window Quests]] }} | ||
| Line 5: | Line 5: | ||
{{#if: {{{baseexpreward|}}} | [[Category:Base Experience Reward]] }} | {{#if: {{{baseexpreward|}}} | [[Category:Base Experience Reward]] }} | ||
{{#if: {{{classreq|}}} | [[Category:{{{classreq}}}]] }} | {{#if: {{{classreq|}}} | [[Category:{{{classreq}}}]] }} | ||
| − | {{# | + | {{#iferror:{{#expr:{{{levelreq}}} > 0}} | |
| + | [[Category: Level 1~99 Quests]] | ||
| + | | | ||
| + | {{#ifexpr: {{{levelreq}}} > 89 | [[Category: Level 90~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 79 | [[Category: Level 80~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 69 | [[Category: Level 70~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 59 | [[Category: Level 60~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 49 | [[Category: Level 50~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 39 | [[Category: Level 40~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 29 | [[Category: Level 30~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 19 | [[Category: Level 20~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 9 | [[Category: Level 10~99 Quests]] | | ||
| + | {{#ifexpr: {{{levelreq}}} > 0 | [[Category: Level 1~99 Quests]] | }}}}}}}}}}}}}}}}}}}} | ||
}} | }} | ||
| − | {| | + | }} |
| + | {| style="border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: left; text-align: left; font-size: 100%; border-spacing: 2; width: 30em; vertical-align: top;" | ||
|- | |- | ||
| − | + | | align="center" colspan="2" style={{#if: {{{window|}}} | "background:#DAA520" | "background:#cccccc"}} | '''{{PAGENAME}}''' | |
|- | |- | ||
| − | + | | align="center" colspan="2" style={{#if: {{{window|}}} | "background:#DAA520" | "background:#cccccc"}} | '''Requirements''' | |
|- | |- | ||
| − | | ''' | + | | '''Base Level:''' |
| + | |style="text-align: center; width: 60%"| {{{levelreq}}} | ||
|- | |- | ||
{{#if: {{{joblevelreq|}}} | | {{#if: {{{joblevelreq|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Job Level:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{joblevelreq}}} |
| + | {{!}}- }} | ||
{{#if: {{{classreq|}}} | | {{#if: {{{classreq|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Class:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} [[{{{classreq}}}]] |
| + | {{!}}- }} | ||
{{#if: {{{skillreq|}}} | | {{#if: {{{skillreq|}}} | | ||
| − | {{!}} '''Skill Requirements:''' {{!}}{{!}} {{{skillreq}}} | + | {{!}} '''Skill Requirements:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{skillreq}}} |
| + | {{!}}- }} | ||
{{#if: {{{partyreq|}}} | | {{#if: {{{partyreq|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''[[Party System]]:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{partyreq}}} |
| + | {{!}}- }} | ||
{{#if: {{{itemreq|}}} | | {{#if: {{{itemreq|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Item(s) (Consumed):''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{itemreq}}} |
| + | {{!}}- }} | ||
{{#if: {{{nitemreq|}}} | | {{#if: {{{nitemreq|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Item(s) (Not Consumed):''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{nitemreq}}} |
| + | {{!}}- }} | ||
{{#if: {{{zenyreq|}}} | | {{#if: {{{zenyreq|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Zeny:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{zenyreq}}} |
| + | {{!}}- }} | ||
{{#if: {{{hunting|}}} | | {{#if: {{{hunting|}}} | | ||
| − | {{!}} '''Hunting:''' {{!}}{{!}} {{{hunting}}} | + | {{!}} '''Hunting:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{hunting}}} |
| + | {{!}}- }} | ||
{{#if: {{{questsreq|}}} | | {{#if: {{{questsreq|}}} | | ||
| − | {{!}} '''Quest Prerequisite(s):''' {{!}}{{!}} {{{questsreq}}} | + | {{!}} '''Quest Prerequisite(s):''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{questsreq}}} |
| + | {{!}}- }} | ||
{{#if: {{{questscoreq|}}} | | {{#if: {{{questscoreq|}}} | | ||
| − | {{!}} '''Quest Corequisite(s):''' {{!}}{{!}} {{{questscoreq}}} | + | {{!}} '''Quest Corequisite(s):''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{questscoreq}}} |
| − | + | {{!}}- }} | |
| + | | align="center" colspan="2" style={{#if: {{{window|}}} | "background:#DAA520" | "background:#cccccc"}} | '''Rewards''' | ||
|- | |- | ||
{{#if: {{{baseexpreward|}}} | | {{#if: {{{baseexpreward|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Base Experience:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{baseexpreward}}} |
| + | {{!}}- }} | ||
{{#if: {{{jobexpreward|}}} | | {{#if: {{{jobexpreward|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Job Experience:''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{jobexpreward}}} |
| + | {{!}}- }} | ||
{{#if: {{{itemreward|}}} | | {{#if: {{{itemreward|}}} | | ||
| − | {{!}} ''' | + | {{!}} '''Item(s):''' |
| − | {{!}}- }} | + | {{!}}align="center" wrap{{!}} {{{itemreward}}} |
| + | {{!}}- }} | ||
{{#if: {{{qreward|}}} | | {{#if: {{{qreward|}}} | | ||
| − | {{!}} '''Quest Reward(s):''' {{!}}{{!}} {{{qreward}}} | + | {{!}} '''Quest Reward(s):''' |
| − | {{!}}- }} | + | {{!}}align="center"{{!}} {{{qreward}}} |
| + | {{!}}- }} | ||
{{#if: {{{external|}}} | | {{#if: {{{external|}}} | | ||
| − | {{!}} colspan=2 | + | {{!}}align="center" colspan="2"{{!}} '''''[{{{external}}} Event Notice]''''' |
| − | {{!}}- }} | + | {{!}}- }} |
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
| − | {| | + | {| style="border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align: left, top; font-size: 100%; border-spacing: 2; width: 30em;" |
|- | |- | ||
| − | + | | align="center" colspan="2" style="background:#cccccc" | '''<nowiki>{{PAGENAME}}</nowiki>''' | |
|- | |- | ||
| − | + | | align="center" colspan="2" style="background:#cccccc" | '''Requirements''' | |
|- | |- | ||
| − | | ''' | + | |width="150pt"| '''Base Level:''' |
| + | |align="center"| {{{levelreq}}} | ||
|- | |- | ||
| − | | ''' | + | | '''Job Level:''' |
| + | |align="center"| {{{joblevelreq}}} | ||
|- | |- | ||
| − | | ''' | + | | '''Class:''' |
| + | |align="center"| {{{classreq}}} | ||
|- | |- | ||
| − | | '''Skill Requirements:''' || {{{skillreq}}} | + | | '''Skill Requirements:''' |
| + | |align="center"| {{{skillreq}}} | ||
|- | |- | ||
| − | | ''' | + | | '''[[Party System]]:''' |
| + | |align="center"| {{{partyreq}}} | ||
|- | |- | ||
| − | | ''' | + | | '''Item(s) (Consumed):''' |
| + | |align="center"| {{{itemreq}}} | ||
|- | |- | ||
| − | | ''' | + | | '''Item(s) (Not Consumed):''' |
| + | |align="center"| {{{nitemreq}}} | ||
|- | |- | ||
| − | | ''' | + | | '''Zeny:''' |
| + | |align="center"| {{{zenyreq}}} | ||
|- | |- | ||
| − | | '''Quest Prerequisite(s):''' || {{{questsreq}}} | + | | '''Quest Prerequisite(s):''' |
| + | |align="center"| {{{questsreq}}} | ||
|- | |- | ||
| − | | '''Quest Corequisite(s):''' || {{{questscoreq}}} | + | | '''Quest Corequisite(s):''' |
| + | |align="center"| {{{questscoreq}}} | ||
|- | |- | ||
| − | + | | align="center" colspan="2" style="background:#cccccc" | '''Rewards''' | |
|- | |- | ||
| − | | ''' | + | | '''Base Experience:''' |
| + | |align="center"| {{{baseexpreward}}} | ||
|- | |- | ||
| − | | ''' | + | | '''Job Experience:''' |
| + | |align="center"| {{{jobexpreward}}} | ||
|- | |- | ||
| − | | ''' | + | | '''Item(s):''' |
| + | |align="center"| {{{itemreward}}} | ||
|- | |- | ||
| − | | '''Quest Reward(s):''' || {{{qreward}}} | + | | '''Quest Reward(s):''' |
| + | |align="center"| {{{qreward}}} | ||
| + | |- | ||
| + | |align="center" colspan="2"| '''''Event Notice Link''''' | ||
|- | |- | ||
| − | |||
|} | |} | ||
| − | |||
| − | ==Usage== | + | == Description == |
| + | This template displays a small info box for a quest and should be used at the beginning of all quest pages. Any changes should be discussed on the Talk page beforehand. | ||
| + | |||
| + | == Usage == | ||
<pre>{{Quest Info | <pre>{{Quest Info | ||
| − | |levelreq= | + | | levelreq = |
| − | |joblevelreq= | + | | joblevelreq = |
| − | |classreq | + | | classreq = |
| − | + | | skillreq = | |
| − | |skillreq= | + | | partyreq = |
| − | |partyreq= | + | | itemreq = |
| − | |itemreq= | + | | nitemreq = |
| − | |nitemreq= | + | | zenyreq = |
| − | |zenyreq= | + | | hunting = |
| − | |hunting= | + | | questsreq = |
| − | |questsreq= | + | | questscoreq = |
| − | |questscoreq= | + | | baseexpreward = |
| − | |baseexpreward= | + | | jobexpreward = |
| − | |jobexpreward= | + | | itemreward = |
| − | |itemreward= | + | | qreward = |
| − | |qreward= | + | | external = |
| − | |external= | + | | window = |
| − | |window= | ||
}}</pre> | }}</pre> | ||
| − | === | + | === Obligatory Fields === |
{| class="wikitable" | {| class="wikitable" | ||
! Field !! Description | ! Field !! Description | ||
|- | |- | ||
| − | + | | baselevel || Base level that is required before the quest can be completed. Should be stated as None if there is no requirement. This field is required in order to prevent ambiguity. | |
| − | | | ||
|} | |} | ||
| − | ===Optional Fields=== | + | === Optional Fields === |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Field !! Description !! Auto-adds Category if used | ! Field !! Description !! Auto-adds Category if used | ||
|- | |- | ||
| − | + | | joblevelreq || Job level that is required before the quest can be completed. All or nearly all of these quests are skill quests. || - | |
| − | | | ||
| − | | - | ||
|- | |- | ||
| − | + | | classreq || Class that the player must be in order to complete the quest. For example, only [[Knight]]s can complete the [[Knight Skill Quest]]. || Category:<classreq> | |
| − | | | ||
| − | | Category:<classreq> | ||
|- | |- | ||
| − | + | | skillreq || Skill that the player must have in order to complete the quest. For example, [[Novice]]s must have learned [[First Aid]] to complete the [[Novice Skill Quest#Play Dead|Play Dead Quest]]. || | |
| − | | Skill that the player must have in order to complete the quest. For example, [[Novice]]s must have learned [[First Aid]] to complete the [[Novice Skill Quest#Play Dead | ||
| − | | | ||
|- | |- | ||
| − | + | | partyreq || # of Party Members and/or Classes required to be in a party. || - | |
| − | | | ||
| − | | - | ||
|- | |- | ||
| − | + | | itemreq || Items that the player must possess (and are removed from the player) in order to complete the quest. Please separate multiple items with <nowiki><br /></nowiki> and use [[Template:Item]] to list them. || - | |
| − | | Items that the player must possess (and are removed from the player) in order to complete the quest. Please separate multiple items with <nowiki><br/></nowiki> and use [[Template:Item]] to list them. | ||
| − | | - | ||
|- | |- | ||
| − | + | | nitemreq || Items that the player must possess (but are not taken) in order to complete the quest. Please separate multiple items with <nowiki><br /></nowiki> and use [[Template:Item]] to list them. || - | |
| − | | Items that the player must possess (but are not taken) in order to complete the quest. Please separate multiple items with <nowiki><br /></nowiki> and use [[Template:Item]] to list them. | ||
| − | | - | ||
|- | |- | ||
| − | + | | zenyreq || Zeny that the player must possess in order to complete the quest. ||- | |
| − | | | ||
| − | | - | ||
|- | |- | ||
| − | + | | hunting || Monsters that players (or party members) will need to kill during the quest ||- | |
| − | | | ||
| − | | - | ||
|- | |- | ||
| − | + | | questreq || Quests that the player must have already completed in order to complete the quest. || - | |
| − | | | ||
| − | | - | ||
|- | |- | ||
| − | + | | questscoreq || Quests that the player must do at the same time in order to complete the quest. || - | |
| − | | | ||
| − | | - | ||
|- | |- | ||
| − | + | | baseexpreward || The total amount of base experience the player receives performing the quest, regardless of if it is in increments or a lump sum. || [[:Category:Base Experience Reward]] | |
| − | | The total amount of | ||
| − | | [[:Category:Base Experience Reward]] | ||
|- | |- | ||
| − | + | | jobexpreward || The total amount of job experience the player receives from performing the quest, regardless of if it is in increments or a lump sum. || [[:Category:Job Experience Reward]] | |
| − | | The total amount of | ||
| − | | [[:Category:Job Experience Reward]] | ||
|- | |- | ||
| − | + | | itemreward || The items the player receives for performing the quest that he or she is able to keep at the end of it. For example. The Sign is a reward for the [[Sign Quest]], but the Sobbing Starlight, which is taken away from the player at the end of the quest, is not. || - | |
| − | | The items the player | ||
| − | | - | ||
|- | |- | ||
| − | + | | qreward || Other rewards, which can include access to dungeons, or abilities such as speaking with NPCs. ||- | |
| − | | Other rewards, which can include access to dungeons, or abilities such as speaking with NPCs. | ||
| − | | - | ||
|- | |- | ||
| − | + | | external || External link to official event notice if applicable. ||- | |
| − | | External link to official event notice | ||
| − | | - | ||
|- | |- | ||
| − | + | | window || set to '''yes''' if this support for this quest is available through the ingame quest window || [[:Category:Quest Window Quests]] | |
| − | | | ||
| − | | [[:Category:Quest Window Quests]] | ||
|} | |} | ||
| − | [[Category:Templates]] | + | [[Category:Templates|Skill Info]] |
</noinclude> | </noinclude> | ||
Latest revision as of 10:45, 24 February 2024
| {{PAGENAME}} | |
| Requirements | |
| Base Level: | {{{levelreq}}} |
| Job Level: | {{{joblevelreq}}} |
| Class: | {{{classreq}}} |
| Skill Requirements: | {{{skillreq}}} |
| Party System: | {{{partyreq}}} |
| Item(s) (Consumed): | {{{itemreq}}} |
| Item(s) (Not Consumed): | {{{nitemreq}}} |
| Zeny: | {{{zenyreq}}} |
| Quest Prerequisite(s): | {{{questsreq}}} |
| Quest Corequisite(s): | {{{questscoreq}}} |
| Rewards | |
| Base Experience: | {{{baseexpreward}}} |
| Job Experience: | {{{jobexpreward}}} |
| Item(s): | {{{itemreward}}} |
| Quest Reward(s): | {{{qreward}}} |
| Event Notice Link | |
Description
This template displays a small info box for a quest and should be used at the beginning of all quest pages. Any changes should be discussed on the Talk page beforehand.
Usage
{{Quest Info
| levelreq =
| joblevelreq =
| classreq =
| skillreq =
| partyreq =
| itemreq =
| nitemreq =
| zenyreq =
| hunting =
| questsreq =
| questscoreq =
| baseexpreward =
| jobexpreward =
| itemreward =
| qreward =
| external =
| window =
}}
Obligatory Fields
| Field | Description |
|---|---|
| baselevel | Base level that is required before the quest can be completed. Should be stated as None if there is no requirement. This field is required in order to prevent ambiguity. |
Optional Fields
| Field | Description | Auto-adds Category if used |
|---|---|---|
| joblevelreq | Job level that is required before the quest can be completed. All or nearly all of these quests are skill quests. | - |
| classreq | Class that the player must be in order to complete the quest. For example, only Knights can complete the Knight Skill Quest. | Category:<classreq> |
| skillreq | Skill that the player must have in order to complete the quest. For example, Novices must have learned First Aid to complete the Play Dead Quest. | |
| partyreq | # of Party Members and/or Classes required to be in a party. | - |
| itemreq | Items that the player must possess (and are removed from the player) in order to complete the quest. Please separate multiple items with <br /> and use Template:Item to list them. | - |
| nitemreq | Items that the player must possess (but are not taken) in order to complete the quest. Please separate multiple items with <br /> and use Template:Item to list them. | - |
| zenyreq | Zeny that the player must possess in order to complete the quest. | - |
| hunting | Monsters that players (or party members) will need to kill during the quest | - |
| questreq | Quests that the player must have already completed in order to complete the quest. | - |
| questscoreq | Quests that the player must do at the same time in order to complete the quest. | - |
| baseexpreward | The total amount of base experience the player receives performing the quest, regardless of if it is in increments or a lump sum. | Category:Base Experience Reward |
| jobexpreward | The total amount of job experience the player receives from performing the quest, regardless of if it is in increments or a lump sum. | Category:Job Experience Reward |
| itemreward | The items the player receives for performing the quest that he or she is able to keep at the end of it. For example. The Sign is a reward for the Sign Quest, but the Sobbing Starlight, which is taken away from the player at the end of the quest, is not. | - |
| qreward | Other rewards, which can include access to dungeons, or abilities such as speaking with NPCs. | - |
| external | External link to official event notice if applicable. | - |
| window | set to yes if this support for this quest is available through the ingame quest window | Category:Quest Window Quests |