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 Tag: Manual revert |
||
(4 intermediate revisions by the same user not shown) | |||
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}} }}|//|{{{placeholder|}}}|<!-- | ||
-->{{ItemLink|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}<!-- | -->{{ItemLink|{{#explode: {{#explode:{{#yh_data:trade_data|{{{1}}}|{{{2}}}}}|;|{{{3}}}}} |,|0}} }}<!-- | ||
--> ×<!-- | --> ×<!-- |
Latest revision as of 16:07, 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