Template:TradeInfoItem: Difference between revisions
From Ymirheim Wiki
(Created page with "<includeonly>{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}}| {{#ifeq:{{padleft:|2|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}|//||<!-- -->{{ItemLink|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}<!-- --> ×<!-- -->{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|1}}<br/> }}}}</includeonly><noinclude> This template renders a single i...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}}| | <includeonly>{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}}| | ||
{{#ifeq:{{padleft:|2|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}|//||<!-- | {{#ifeq:{{padleft:|2|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}|//|-|<!-- | ||
-->{{ItemLink|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}<!-- | -->{{ItemLink|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}<!-- | ||
--> ×<!-- | --> ×<!-- |
Revision as of 16:04, 10 July 2024
This template renders a single item as a part of a trade info.
Examples
{{TradeInfoItem|100101|Products|0}}
{{TradeInfoItem|100101|Materials1|0}}
Pukui Slice ×1
{{TradeInfoItem|100101|Materials1|1}}
Empty Bottle ×1