Difference between revisions of "Template:Quest list header"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Undo revision 784351 by Dr Agon (talk))
Tag: Undo
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| {{STDT|quest}} {{#vardefine:quest-list-required-items|}}{{#vardefine:quest-list-unlocks|}}{{#vardefine:quest-list-item-rewards|}}{{#vardefine:quest-list-split-optional-rewards|}}
{| {{STDT|quest}} {{#vardefine:quest-list-hide-type|}}{{#vardefine:quest-list-required-items|}}{{#vardefine:quest-list-unlocks|}}{{#vardefine:quest-list-item-rewards|}}{{#vardefine:quest-list-split-optional-rewards|}}
!| Quest
!| Quest
!| Type
{{#if:{{{hide-type|}}}|{{#vardefine:quest-list-hide-type|y}}|!! {{!}} Type}}
! style="width:40px"  | Level
! style="width:40px"  | Level
! | Quest Giver<!--
! | Quest Giver<!--
Line 7: Line 7:
-->{{#if:{{{unlocks|}}}|{{#vardefine:quest-list-unlocks|y}}!! {{!}} Unlocks}}<!--
-->{{#if:{{{unlocks|}}}|{{#vardefine:quest-list-unlocks|y}}!! {{!}} Unlocks}}<!--
-->{{#if:{{{item-rewards|}}}|{{#vardefine:quest-list-item-rewards|y}}!!{{!}} Rewards {{#if:{{{split-optional-rewards|}}}|{{#vardefine:quest-list-split-optional-rewards|y}}!!{{!}} Optional Rewards}}}}  
-->{{#if:{{{item-rewards|}}}|{{#vardefine:quest-list-item-rewards|y}}!!{{!}} Rewards {{#if:{{{split-optional-rewards|}}}|{{#vardefine:quest-list-split-optional-rewards|y}}!!{{!}} Optional Rewards}}}}  
|-
|-<noinclude>
!| EXP
!| Gil<noinclude>
{{quest list row|Lonely Vigil}}
{{quest list row|Lonely Vigil}}
|}
|}
Line 26: Line 24:
;Unnamed parameter 1
;Unnamed parameter 1
:[[Quest]]
:[[Quest]]
;hide-type
:Optional. Hides the quest type icon if set to anything except whitespace.
;required-items
:Optional. Shows the items required for the quest if set to anything expect whitespace.
;unlocks
:Optional. Shows the features the quest unlocks if set to anything expect whitespace.
;item-rewards
:Optional. Shows the item rewards from the quest if set to anything expect whitespace.


== Example ==
== Example ==

Latest revision as of 19:06, 14 July 2024

Quest Type Level Quest Giver
Lonely Vigil Sidequest 51 Spiteful Knight

Usage

The header for quest tables. Provides the header for {{quest list row}}, and related templates.

{{quest list header}}
{{quest list row|<Quest>}}
{{quest list row|<Quest>}}
|}

Parameters

Unnamed parameter 1
Quest
hide-type
Optional. Hides the quest type icon if set to anything except whitespace.
required-items
Optional. Shows the items required for the quest if set to anything expect whitespace.
unlocks
Optional. Shows the features the quest unlocks if set to anything expect whitespace.
item-rewards
Optional. Shows the item rewards from the quest if set to anything expect whitespace.

Example

{{quest list header}}
{{quest list row|<Quest>}}
{{quest list row|<Quest>}}
|}