Template:Quest infobox: Difference between revisions

From FHX Wiki
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p>
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p>
<div class="wrapper">
<div class="wrapper">
;Zone
;Region
: [[{{{starting zone}}}]]
: [[{{{starting zone}}}]]
;Type
;Type
: ''{{#if:{{{type|}}}|[[List of {{{type}}} quests|{{{type}}}]]|[[Quest|Series]]}}''{{#if:{{{class|}}}|
: ''{{#if:{{{type|}}}|[[List of {{lc:{{{type}}}}} quests|{{{type}}}]]|[[Quest|Series]]}}''{{#if:{{{class|}}}|
;Req. class
;Req. class
: [[{{{class}}}]][[Category:{{{class}}} quest]]}}
: [[{{{class}}}]][[Category:{{{class}}} quest]]}}
Line 32: Line 32:
{{!}}}
{{!}}}
| {{clear}} }}
| {{clear}} }}
{{#if:{{{type|}}}|[[Category:{{{type}}} quest]]|[[Category:Series quest]]}}
{{#switch:{{lc:{{{type|Series}}}}}|series=[[Category:Series quest]]|group=[[Category:Group quest]]|daily=[[Category:Daily quest]]}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Description ==
== Description ==
Line 55: Line 55:
== Parameters ==
== Parameters ==
; name : Optional. Only include if the name of the quest differs from the article name. Defaults to the name of the article: <code><nowiki>{{PAGENAME}}</nowiki></code>
; name : Optional. Only include if the name of the quest differs from the article name. Defaults to the name of the article: <code><nowiki>{{PAGENAME}}</nowiki></code>
; starting zone : Required. The zone the quest is first acquired (e.g. Silent Woods).
; starting zone : Required. The region/zone the quest is first acquired (e.g. Silent Woods).
; 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''.
Line 69: Line 69:
== Example ==
== Example ==
{{Quest infobox
{{Quest infobox
|name=Dusty Hobgoblin's Final Attack
|name=
|starting zone=Dusty Gorge
|starting zone=
|start npc=Claudia Pink
|start npc=
|type=Group
|type=
|level=28
|level=
|previous=Spark of Uprising
|previous=
|id=qsf00_195
|id=
|coordinates=
|coordinates=
|map=
|map=
Line 82: Line 82:
<pre>
<pre>
{{Quest infobox
{{Quest infobox
|name=Dusty Hobgoblin's Final Attack
|name=
|starting zone=Dusty Gorge
|starting zone=
|start npc=Claudia Pink
|start npc=
|type=Group
|type=
|level=28
|level=
|previous=Spark of Uprising
|previous=
|id=qsf00_195
|id=
|coordinates=
|coordinates=
|map=
|map=
Line 94: Line 94:
}}
}}
</pre>
</pre>
== TODO ==
== TODO ==
:*Add properties to parameters
:*Add properties to parameters

Latest revision as of 03:24, 16 September 2024

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 required class if quest is a Class quest.
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.
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.

Example

Quest infobox

Region
[[]]
Type
Series
Req. level
Quest giver
[[]]
{{Quest infobox
|name=
|starting zone=
|start npc=
|type=
|level=
|previous=
|id=
|coordinates=
|map=
|map-text=
}}

TODO

  • Add properties to parameters