Template:Quest infobox: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<div class="wrapper"> | <div class="wrapper"> | ||
;Region | ;Region | ||
: [[{{{starting zone}}}]] | : [[{{{starting zone}}}]][[Category:{{{starting zone}}}]] | ||
;Type | ;Type | ||
: ''{{#if:{{{type|}}}|[[List of {{lc:{{{type}}}}} quests|{{{type}}}]]|[[Quest|Series]]}}''{{#if:{{{class|}}}| | : ''{{#if:{{{type|}}}|[[List of {{lc:{{{type}}}}} quests|{{{type}}}]]|[[Quest|Series]]}}''{{#if:{{{class|}}}| | ||
Line 20: | Line 20: | ||
: [[{{{next}}}]]}}{{#if:{{{next2|}}}| | : [[{{{next}}}]]}}{{#if:{{{next2|}}}| | ||
; | ; | ||
: [[{{{next2}}}]]}}{{#if:{{{id|}}}| | : [[{{{next2}}}]]}}{{#if:{{{next3|}}}| | ||
; | |||
: [[{{{next3}}}]]}}{{#if:{{{next4|}}}| | |||
; | |||
: [[{{{next4}}}]]}}{{#if:{{{next5|}}}| | |||
; | |||
: [[{{{next5}}}]]}}{{#if:{{{id|}}}| | |||
;id | ;id | ||
:''{{{id}}}''}}{{#if:{{{coordinates|}}}| | :''{{{id}}}''}}{{#if:{{{coordinates|}}}| | ||
Line 36: | Line 42: | ||
{{!}}} | {{!}}} | ||
| {{clear}} }} | | {{clear}} }} | ||
</div>{{#switch:{{lc:{{{type|Series}}}}}|series=[[Category:Series quest]]|group=[[Category:Group quest]]|daily=[[Category:Daily quest]]}}{{#if:{{{class|]}}}|{{#switch:{{ucfirst:{{string split|{{{class|}}}|" "|1}}}} | </div>{{#switch:{{lc:{{{type|Series}}}}}|series=[[Category:Series quest]]|group=[[Category:Group quest]]|daily=[[Category:Daily quest]]|rebel=[[Category:Rebel quest]]}}{{#if:{{{class|]}}}|{{#switch:{{ucfirst:{{string split|{{{class|}}}|" "|1}}}} | ||
|Wr=[[Category:Warrior quest]] | |Wr=[[Category:Warrior quest]] | ||
|Kn=[[Category:Knight quest]] | |Kn=[[Category:Knight quest]] | ||
Line 92: | Line 98: | ||
|Cl=[[Category:Cleric quest]] | |Cl=[[Category:Cleric quest]] | ||
|Sn=[[Category:Summoner quest]] | |Sn=[[Category:Summoner quest]] | ||
}}|{{clear}}}} | }}|{{clear}}}}[[Category:Quest]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Description == | == Description == | ||
Line 118: | Line 124: | ||
; start npc : Required. The NPC that gives the quest. | ; start npc : Required. The NPC that gives the quest. | ||
; type : Optional. The quest type (i.e. Series, Group, Class, Daily), defaults to ''Series''. | ; type : Optional. The quest type (i.e. Series, Group, Class, Daily), defaults to ''Series''. | ||
; class : Optional. Include required | ; class : Optional. Include class(es) required to start quest. Use shortened class name: Wr Kn Ac Pa Wi Cl Sn | ||
; level : Required. The required level to start this quest. | ; level : Required. The required level to start this quest. | ||
; previous : Optional. The previous quest in the chain that unlocks this one. | ; previous : Optional. The previous quest in the chain that unlocks this one. | ||
; next : Optional. The next quest in the chain that this quest unlocks. | ; next : Optional. The next quest in the chain that this quest unlocks. Include 2-5 if multiple quests can branch from this one (e.g. next2=, next3=, etc.) | ||
; id : Optional. Quest id (e.g. qsf00_192). | ; id : Optional. Quest id (e.g. qsf00_192). | ||
; coordinates : Optional. Map coordinates for the starting NPC. | ; coordinates : Optional. Map coordinates for the starting NPC. | ||
; map : Optional. Map image of the quest (can include starting NPC, objective locations, etc.). | ; map : Optional. Map image of the quest (can include starting NPC, objective locations, etc.). | ||
; map-text : Optional. Map image description. | ; map-text : Optional. Map image description. | ||
== TODO == | == TODO == |
Latest revision as of 21:11, 19 May 2025
Description
This is the Quest infobox template. It should be transcluded in the following format:
{{Quest infobox |name= |starting zone= |start npc= |type= |class= |level= |previous= |next= |id= |coordinates= |map= |map-text= }}
Parameters
- name
- Optional. Only include if the name of the quest differs from the article name. Defaults to the name of the article:
{{PAGENAME}}
- starting zone
- Required. The region/zone the quest is first acquired (e.g. Silent Woods).
- start npc
- Required. The NPC that gives the quest.
- type
- Optional. The quest type (i.e. Series, Group, Class, Daily), defaults to Series.
- class
- Optional. Include class(es) required to start quest. Use shortened class name: Wr Kn Ac Pa Wi Cl Sn
- level
- Required. The required level to start this quest.
- previous
- Optional. The previous quest in the chain that unlocks this one.
- next
- Optional. The next quest in the chain that this quest unlocks. Include 2-5 if multiple quests can branch from this one (e.g. next2=, next3=, etc.)
- id
- Optional. Quest id (e.g. qsf00_192).
- coordinates
- Optional. Map coordinates for the starting NPC.
- map
- Optional. Map image of the quest (can include starting NPC, objective locations, etc.).
- map-text
- Optional. Map image description.
TODO
- Add properties to parameters