Difference between revisions of "Template:Vendor table header"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{| {{STDT|npc sortable}}{{#vardefine:vendor_section|{{{section|General}}}}} {{#if: {{{no subobjects|}}} | {{#vardefine:suppress VTR subobjects|+}} }} | {| {{STDT|npc sortable}}{{#vardefine:vendor_section|{{{section|General}}}}}{{#vardefine:variable_location|{{{location|}}}}} {{#if: {{{no subobjects|}}} | {{#vardefine:suppress VTR subobjects|+}} }} | ||
! {{#if:{{{itemWidth|}}} |style="min-width:{{{itemWidth}}}" }} {{!}} Item {{#vardefine:showType |{{{showType|true}}}}}{{#ifeq: {{#var:showType}} |true| | ! {{#if:{{{itemWidth|}}} |style="min-width:{{{itemWidth}}}" }} {{!}} Item {{#vardefine:showType |{{{showType|true}}}}}{{#ifeq: {{#var:showType}} |true| | ||
!! {{#if:{{{typeWidth|}}} |style="min-width:{{{typeWidth}}}" }} {{!}} Type}} {{#vardefine:showRarity |{{{showRarity|true}}}}}{{#ifeq:{{#var:showRarity}}|true| | !! {{#if:{{{typeWidth|}}} |style="min-width:{{{typeWidth}}}" }} {{!}} Type}} {{#vardefine:showRarity |{{{showRarity|true}}}}}{{#ifeq:{{#var:showRarity}}|true| | ||
Line 18: | Line 18: | ||
| showLevel = | | showLevel = | ||
| showFacts = | | showFacts = | ||
| location = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 34: | Line 35: | ||
;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. | ||
;location | |||
: Optional. Denotes the ''variable'' location that this vendor offers this selling list. | |||
;no subobjects | ;no subobjects | ||
: Default false. If present this parameter will prevent subobjects from {{tl|Vendor table row}} being stored on the page in question. | : Default false. If present this parameter will prevent subobjects from {{tl|Vendor table row}} being stored on the page in question. |
Revision as of 02:24, 23 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 = | 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.
- 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.