Template:User Heillos Vendor table header

From Guild Wars 2 Wiki
Jump to navigationJump to search

Item Type Rarity Level Facts Cost

Usage[edit]

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

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

Parameters[edit]

section
Optional. The name of the section (tab) the vendor item is located in.
location
Optional. The locations the vendor is located in, separated by ";". Defaults to locations set in the NPC infobox. New NPCs may require a null edit to set this property correctly.
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.
showPrefix
Default false. Show the prefix of the item, in plaintext.
showFacts
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
Default false. Show the text description for item prices given with irregular currencies.
showNotes
Default false. If enabled it shows the requirements to purchase an item in an extra column (use if several items have an requirement), otherwise the requirements will be shown below the item.
no subobjects
Default false. If set to true this parameter will prevent subobjects from {{Vendor table row}} being stored for the current vendor table.
requirement
Optional. Set to display the given requirement above the table. Will also add the requirement to each item in the table.
stdtArgs
Optional. Additional args to pass to the underlying Template:STDT usage. Note this is in addition to the default "npc sortable" args. Useful if you want, for instance, collapsible or expandable tables.