Template:TradeInfoItem: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
Tag: Reverted
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}} }}|//|{{{placeholder|-}}}|<!--
{{#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}} }}<!--
-->&nbsp;&times;<!--
-->&nbsp;&times;<!--

Revision as of 16:05, 10 July 2024


This template renders a single item as a part of a trade info.

Examples

{{TradeInfoItem|100101|Products|0}}

icon Small Healing Potion ×1

{{TradeInfoItem|100101|Materials1|0}}

icon Pukui Slice ×1

{{TradeInfoItem|100101|Materials1|1}}

icon Empty Bottle ×1