Template:Quest Header/Type: Difference between revisions

From HorizonXI Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch: {{lc:{{{1}}}}}
<includeonly><onlyinclude>{{#switch: {{lc:{{{1}}}}}
| general = General
| general = {{#ifeq:{{{2|}}}|oc||General}}
| af | artifact = {{#ifeq:{{{2|}}}|oc||[[:Category:Artifact Quests|Artifact Quest]]}}{{categorize|{{{2|}}}|[[Category:Artifact Quests]]}}
| af | artifact = {{#ifeq:{{{2|}}}|oc||[[:Category:Artifact Quests|Artifact Quest]]}}{{categorize|{{{2|}}}|[[Category:Artifact Quests]]}}
| job | job unlock | job quest = {{#ifeq:{{{2|}}}|oc||[[:Category:Job Quests|Job Quest]]}}{{categorize|{{{2|}}}|[[Category:Job Quests]]}}
| job | job unlock | job quest = {{#ifeq:{{{2|}}}|oc||[[:Category:Job Quests|Job Quest]]}}{{categorize|{{{2|}}}|[[Category:Job Quests]]}}

Revision as of 21:30, 11 July 2024

Usage

Helper template which can be used in Template:Quest Header to filter the quest type into predefined categories and autocategorize.

Options for the first parameter are:

  • general
  • af / artifact
  • job / job unlock / job quest
  • ws / weapon skill
  • fast travel
  • map
  • scroll
  • avatar

The optional second parameter can be set to:

  • nc - no categorization (e.g. for example pages)
  • oc - only categorization (suppressing other output)

Examples

{{Quest Header/Type|map}}

Map Quest