Difference between revisions of "Template:Vendor table row result format"
Jump to navigation
Jump to search
m (Protected "Template:Vendor table row result format" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{STFI|icon={{#if:{{{3|}}}|{{#explode:{{{3}}}|:|1}}|{{{1}}}.png}}|link={{{1}}}|size=small}} <!-- | <includeonly>{{STFI|icon={{#if:{{{3|}}}|{{#explode:{{{3}}}|:|1}}|{{{1}}}.png}}|link={{{1}}}|size=small}} <!-- | ||
--> {{#if: {{{2|}}} |[[{{{1}}}|{{{2|{{{1}}}}}}]] | [[{{{1}}}]] }} {{#ifexpr: {{#explode:{{{userparam|0}}}|-|0}} > 1 | ({{{userparam}}}) }}<!-- | --> {{#if: {{{2|}}} |[[{{{1}}}|{{{2|{{{1}}}}}}]] | [[{{{1}}}]] }} {{#ifexpr: {{#explode:{{{userparam|0}}}|-|0}} > 1 | ({{{userparam}}}) }}<!-- | ||
-->{{#ifeq:{{#var:showType}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{ | -->{{#ifeq:{{#var:showType}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{4|}}} | {{#if: {{{4|}}} | {{{4}}} [[{{lcfirst:{{{4|}}}}}]] | [[{{{4|}}}]] }} | — }} }}<!-- | ||
-->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{ | -->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{5|}}} | {{#arraymap:{{{5}}}|,|@@@|{{rarity|@@@}}}}| — }} }}<!-- | ||
-->{{#ifeq:{{#var:showLevel}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{ | -->{{#ifeq:{{#var:showLevel}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{6|}}} | {{{6}}} | — }} }}</includeonly><noinclude> | ||
This template helps to format the row result for {{tl|Vendor table row}}. It contributes all columns apart from the cost. | This template helps to format the row result for {{tl|Vendor table row}}. It contributes all columns apart from the cost. | ||
Line 10: | Line 10: | ||
#Has canonical name | #Has canonical name | ||
#Has game icon | #Has game icon | ||
#Has item type | #Has item type | ||
#Has item rarity | #Has item rarity | ||
#Has level requirement | #Has level requirement | ||
*userparam = quantity | *userparam = quantity | ||
Revision as of 19:22, 26 October 2018
This template helps to format the row result for {{Vendor table row}}. It contributes all columns apart from the cost.
Parameters
- (pagename)
- Has canonical name
- Has game icon
- Has item type
- Has item rarity
- Has level requirement
- userparam = quantity