Difference between revisions of "Template:Vendor table row result format"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <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: {{{4|}}} | [[{{{4|}}}]] | -->{{#ifeq:{{#var:showType}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{4|}}} | [[{{{4|}}}]] | — }} }}<!-- | ||
-->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{5|}}} | {{#arraymap:{{{5}}}|,|@@@|{{rarity|@@@}}}}| — }} }}<!-- | -->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{5|}}} | {{#arraymap:{{{5}}}|,|@@@|{{rarity|@@@}}}}| — }} }}<!-- | ||
-->{{#ifeq:{{#var:showLevel}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{6|}}} | {{{6}}} | — }} }}</includeonly><noinclude> | -->{{#ifeq:{{#var:showLevel}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{6|}}} | {{{6}}} | — }} }}</includeonly><noinclude> |
Revision as of 19:26, 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