Template:TradeInfoItem: Difference between revisions
From Ymirheim Wiki
No edit summary |
No edit summary Tag: Manual revert |
||
(3 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