Difference between revisions of "Template:Vendor table header"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 4: Line 4:
!! {{#if:{{{rarityWidth|}}}|style="min-width:{{{rarityWidth}}}"}} {{!}} Rarity}} {{#vardefine:showLevel  |{{{showLevel|true}}}}}{{#ifeq: {{#var:showLevel}} |true|
!! {{#if:{{{rarityWidth|}}}|style="min-width:{{{rarityWidth}}}"}} {{!}} Rarity}} {{#vardefine:showLevel  |{{{showLevel|true}}}}}{{#ifeq: {{#var:showLevel}} |true|
!! {{#if:{{{levelWidth|}}} |style="min-width:{{{levelWidth}}}" }} {{!}} Level}}  {{#vardefine:showFacts  |{{{showFacts|true}}}}}{{#ifeq:{{{showCostText|false}}}|true|{{#vardefine:showCostText|+}}}}  
!! {{#if:{{{levelWidth|}}} |style="min-width:{{{levelWidth}}}" }} {{!}} Level}}  {{#vardefine:showFacts  |{{{showFacts|true}}}}}{{#ifeq:{{{showCostText|false}}}|true|{{#vardefine:showCostText|+}}}}  
!! {{#if:{{{costWidth|}}}  |style="min-width:{{{costWidth}}}"  }} {{!}} Cost    {{#vardefine:showTP      |{{{showTP|false}}}}}{{#ifeq: {{#var:showTP}} |true|
!! {{#if:{{{costWidth|}}}  |style="min-width:{{{costWidth}}}"  }} {{!}} Cost    <noinclude>
!! {{#if:{{{TPWidth|}}} |style="min-width:{{{TPWidth}}}" }} data-sort-type="number" {{!}} TP price}}<noinclude>
|-
|-
| || || || ||
| || || || ||
Line 19: Line 18:
| showLevel =
| showLevel =
| showFacts =
| showFacts =
| showTP
}}
}}
</pre>
</pre>
Line 34: Line 32:
;showFacts
;showFacts
: Default true. Show the item facts of the item, this is usually any attribute bonuses or other effects.
: Default true. Show the item facts of the item, this is usually any attribute bonuses or other effects.
;showTP
: Default false. Show the TP Price.
;showCostText
;showCostText
: Default false. Show the text description for item prices given with irregular currencies.
: Default false. Show the text description for item prices given with irregular currencies.

Revision as of 19:00, 22 August 2018

Item Type Rarity Level Cost

Usage

The table header for vendor inventories. For use with {{vendor table row}}.

{{vendor table header
| section = 
| showType =
| showRarity =
| showLevel =
| showFacts =
}}

Parameters

section
Optional. The name of the section (tab) the vendor item is located in.
showType
Default true. Show the type of item. This can be item type or any item subtypes such as armor type.
showRarity
Default true. Show the rarity of the item.
showLevel
Default true. Show the required level to equip or use the item.
showFacts
Default true. Show the item facts of the item, this is usually any attribute bonuses or other effects.
showCostText
Default false. Show the text description for item prices given with irregular currencies.
no subobjects
Default false. If present this parameter will prevent subobjects from {{Vendor table row}} being stored on the page in question.