Difference between revisions of "Template:Vendor table header"
Jump to navigation
Jump to search
m (Protected "Template:Vendor table header" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
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 <noinclude> | !! {{#if:{{{costWidth|}}} |style="min-width:{{{costWidth}}}" }} {{!}} Cost | ||
!! Additional req. <noinclude> | |||
|- | |- | ||
| || || || || | | || || || || |
Revision as of 13:40, 30 October 2018
Item | Type | Rarity | Level | Cost | ! Additional req. |
---|---|---|---|---|---|
Usage
The table header for vendor inventories. For use with {{vendor table row}}.
{{vendor table header | section = | showType = | showRarity = | showLevel = | showFacts = | vendor = | location = }}
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.
- vendor
- Optional. The vendor's pagename. Defaults to
{{PAGENAME}}
. - location
- Optional. Denotes the variable location that this vendor offers this selling list.
- no subobjects
- Default false. If present this parameter will prevent subobjects from {{Vendor table row}} being stored on the page in question.