|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| |- | | <includeonly>|- |
| |<!-- | | |<!-- |
| | | -->{{TradeInfoItem|{{{1}}}|Products|0}}<!-- |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|0}}| | | -->{{TradeInfoItem|{{{1}}}|Products|1}}<!-- |
| <!-- | | -->{{TradeInfoItem|{{{1}}}|Products|2}}<!-- |
| -->{{ItemLink|{{#explode: | | -->{{TradeInfoItem|{{{1}}}|Products|3}}<!-- |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|0}}
| | -->{{TradeInfoItem|{{{1}}}|Products|4}}<!-- |
| |,
| | -->{{#ifeq: {{#yh_data:trade_data|{{{1}}}|RewardMoney}} |0||{{PriceFormatted| {{#yh_data:trade_data|{{{1}}}|RewardMoney}} }}<br/> }}<!-- |
| |0 | |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|0}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|1}}| | |
| <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|1}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|1}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|2}}|
| |
| <!-- | |
| -->{{ItemLink|{{#explode: | |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|2}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|2}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|3}}|
| |
| <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|3}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|3}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|4}}|
| |
| <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|4}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<!-- | |
| --> ×<!-- | |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|4}} | |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#ifeq: {{#yh_data:trade_data|{{{1}}}|RewardMoney}} |0|| | |
| <!--
| |
| -->{{PriceFormatted| {{#yh_data:trade_data|{{{1}}}|RewardMoney}} }}<br/> }}<!--
| |
| | |
|
| |
|
| --> | | --> |
Line 86: |
Line 12: |
| |<!-- | | |<!-- |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|0}}| | | -->{{TradeInfoItem|{{{1}}}|Materials1|0}}<!-- |
| <!-- | | -->{{TradeInfoItem|{{{1}}}|Materials1|1}}<!-- |
| -->{{ItemLink|{{#explode: | | -->{{TradeInfoItem|{{{1}}}|Materials1|2}}<!-- |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|0}}
| | -->{{TradeInfoItem|{{{1}}}|Materials1|3}}<!-- |
| |,
| | -->{{TradeInfoItem|{{{1}}}|Materials1|4}}<!-- |
| |0
| | -->{{#ifeq: {{#yh_data:trade_data|{{{1}}}|Cost}} |0||{{PriceFormatted| {{#yh_data:trade_data|{{{1}}}|Cost}} }}<br/> }}<!-- |
| }}
| |
| }}<!-- | |
| --> ×<!-- | |
| -->{{#explode: | |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|0}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|1}}| | |
| <!-- | |
| -->{{ItemLink|{{#explode: | |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|1}}
| |
| |, | |
| |0 | |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|1}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!-- | |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|2}}| | | --></includeonly><noinclude> |
| <!-- | |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|2}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|2}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|3}}|
| | This template renders a single row in the trade info table. |
| <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|3}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|3}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|4}}|
| | == Examples == |
| <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|4}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<!--
| |
| --> ×<!--
| |
| -->{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|4}}
| |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
|
| |
|
| -->{{#ifeq: {{#yh_data:trade_data|{{{1}}}|Cost}} |0||
| | <pre><nowiki>{{TradeInfoRow|100101}}</nowiki></pre> |
| <!-- | | {| class="wikitable" |
| -->{{PriceFormatted| {{#yh_data:trade_data|{{{1}}}|Cost}} }}<br/> }}<!--
| | {{TradeInfoRow|100101}} |
| | |} |
|
| |
|
| -->
| | [[Category:Game Data Templates]] |
| | </noinclude> |