User:Relyk/sandbox/item table row result format

From Guild Wars 2 Wiki
Jump to navigationJump to search
{{User:Relyk/sandbox/item table header}}
<onlyinclude>|-
| {{item icon|{{{1}}}}}<!--
-->{{#ifeq: {{#var:item_table_showType}}        | true | {{!!}} {{#if: {{{2|}}} | {{#arraymap: {{{2}}} |,|@@@|[[@@@]]}} | - }}
}} {{#ifeq: {{#var:item_table_showRarity}}      | true | {{!!}} {{#if: {{{3|}}} | {{rarity|{{{3}}}}} }} 
}} {{#ifeq: {{#var:item_table_showLevel}}       | true | {{!!}} align="center" {{!}} {{{4|-}}} 
}} {{#ifeq: {{#var:item_table_showValue}}       | true | {{!!}} align="right" {{!}} {{{5|-}}}
}} {{#ifeq: {{#var:item_table_showTradingPost}} | true | {{!!}} class="gw2-tpprice" data-id="{{{6|-1}}}" {{!}} -
}} || {{#if: {{{6|}}} | {{item link|{{{6}}}}} | - }}
</onlyinclude>
|}

This template is used to format results for {{tl|item table}}.

#Item
#Has item type
#Has item rarity
#Has level requirement
#Has vendor value
#Has game id

[[Category:Item formatting templates]]