Difference between revisions of "Template:Quest list header"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Added a parameter to split Rewards column into two, one with optional rewards)
(Add optional Required Items column)
Line 1: Line 1:
{| {{STDT|quest}} {{#vardefine:quest-list-unlocks|}}{{#vardefine:quest-list-item-rewards|}}
{| {{STDT|quest}} {{#vardefine:quest-list-required-items|}}{{#vardefine:quest-list-unlocks|}}{{#vardefine:quest-list-item-rewards|}}{{#vardefine:quest-list-split-optional-rewards|}}
!| Quest
!| Quest
!| Type
!| Type
! style="width:40px"  | Level
! style="width:40px"  | Level
! | Quest Giver {{#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}}}}  
! | Quest Giver
{{#if:{{{required-items|}}}|{{#vardefine:quest-list-required-items|y}}!! {{!}} Required Items}}
{{#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}}}}  
|-<noinclude>
|-<noinclude>
{{quest list row|Lonely Vigil}}
{{quest list row|Lonely Vigil}}

Revision as of 09:49, 24 January 2022

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

Example

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