Template:Quest list: Difference between revisions

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Gurgum (talk | contribs)
added default param
Gurgum (talk | contribs)
remove unused & invalid "Requires npc" condition (no property by that name)
Line 1: Line 1:
<includeonly>{{#ask:[[Has context::Quest]]{{#if:{{{conditions|}}}|{{#arraymap:{{{conditions}}}|;|@@@|[[@@@]]|\s}}|}}{{#switch:{{#show:{{#vardefineecho:query-term|{{{1|{{#titleparts:{{PAGENAME}}}}}}}}}|?Has context}}|NPC={{#if:{{#show:{{#var:query-term}}|?Has aggression type}}|[[Requires enemy::{{#var:query-term}}]]OR[[Requires enemy race::{{#var:query-term}}]]|[[Requires npc::{{#var:query-term}}]]}}|Item=[[Requires item::{{#var:query-term}}]]}}
<includeonly>{{#ask:[[Has context::Quest]]{{#if:{{{conditions|}}}|{{#arraymap:{{{conditions}}}|;|@@@|[[@@@]]|\s}}|}}{{#switch:{{#show:{{#vardefineecho:query-term|{{{1|{{#titleparts:{{PAGENAME}}}}}}}}}|?Has context}}|NPC={{#if:{{#show:{{#var:query-term}}|?Has aggression type}}|[[Requires enemy::{{#var:query-term}}]]OR[[Requires enemy race::{{#var:query-term}}]]}}|Item=[[Requires item::{{#var:query-term}}]]}}
|?Has canonical name
|?Has canonical name
|?Has quest type
|?Has quest type

Revision as of 15:45, 9 January 2026

Documentation for Template:Quest list [view] [edit] [history] [purge] (How does this work?)

Usage

Generates a list of quests requiring such context (enemy, item, etc). Format using {{Quest list result format}}, and uses {{Quest list header}} for header.

{{quest list}}
{{quest list|css-class=<class>}}
{{quest list|<Quest>}}
{{quest list
| unlock = y
| item-rewards = y
| conditions = <condition1>; <condition2>
| default = <text that will appear if no quests are found>
}}

Parameters

Unnamed parameter 1
Query term. Defaults to {{PAGENAME}}.
item-rewards
Optional. Set to 'y' to display a column with the item rewards.
unlocks
Optional. Set to 'y' to display a quest's system unlocks.
conditions
Optional query term. Semi-colon separated list of additional semantic query conditions to filter the quest list.
default
Optional. Text that will display if there are no quest results. Defaults to "No quests found." Pass a blank parameter if you want nothing displayed when there are no results: {{quest list|Foo|default=}}
header
Optional. Header to be displayed above the quest table. Will not appear if there are no results.


Examples

Basic Usage

{{quest list|Grade 1 Carbonized Matter}}
Quest Type Level Quest Giver
Dressed to Harvest Class quest 20 Fufucha
Old Wisdom, New Ways Class quest 20 Adalberta

Display quests meeting certain conditions

{quest list|conditions=Has journal genre::Ninja Quests;Has quest level::50}}
Quest Type Level Quest Giver
Master and Student Job quest 50 Oboro
Strangers in a Strange Land Job quest 50 Oboro
A Relic Reborn (Yoshimitsu) Feature quest 50 Gerolt (ARR)

Display system unlocks and item rewards

{{quest list
| unlocks = y
| item-rewards = y
| conditions = Has journal genre::Ninja Quests;Has system unlock::+
}}
Quest Type Level Quest Giver Unlocks Rewards
Peasants by Day, Ninjas by Night Job quest 30 Jacke Ninja
  Ten
Ninja (Simple) Adventurer Plate Ninja (Simple) Adventurer Plate
  1 Soul of the Ninja
Killer Combinations Class quest 35 Tsubame   Chi
Pirates versus Ninjas Class quest 40 Oboro   Shukuchi
Tough Guys Class quest 45 Oboro   Jin   1 Ninja Hatsuburi
  1 Ninja Tekko
  1 Ninja Hakama
  1 Ninja Kyahan
Master and Student Job quest 50 Oboro   Kassatsu
  Against the Ninja I
  Ninja - Part 1
  1 Ninja Chainmail
  1 Koga Garb Coffer (IL 90)
A Relic Reborn (Yoshimitsu) Feature quest 50 Gerolt (ARR) A Relic Reborn: The Chimera A Relic Reborn: The Chimera
A Relic Reborn: The Hydra A Relic Reborn: The Hydra
  Yoshimitsu's Island
  1 Yoshimitsu
The Impossible Girl Job quest 52 Oboro   Hakke Mujinsatsu
Ninja Assassin Job quest 54 Oboro   Armor Crush
Medieval Espionage Job quest 56 Oboro   Dream Within a Dream
  Adept Assassination
In Her Defense Class quest 60 Oboro   Against the Ninja II
  Ninja - Part 2
  1 Iga Garb Coffer (IL 210)
When Clans Collide Job quest 70 Oboro   Ten Chi Jin
  Against the Ninja III
  Ninja - Part 3
  1 Kage-kakushi Attire Coffer (IL 290)
Oboro's Big Idea Sidequest 80 Oboro   Against the Ninja IV
  Ninja - Part 4
  1 Heavens' Eye Materia VII
  1 Savage Aim Materia VII
  1 Savage Might Materia VII

No quest results

{{quest list|conditions=Has context::nonexistent}}

No quests found.

Custom "no results" text

{{quest list
| conditions = Has context::nonexistent
| default = No quests for you!
}}

No quests for you!