|
|
(9 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}}<!-- |
| {{#explode: {{ItemLink|{{#explode:
| | -->{{TradeInfoItem|{{{1}}}|Products|2}}<!-- |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|0}}
| | -->{{TradeInfoItem|{{{1}}}|Products|3}}<!-- |
| |,
| | -->{{TradeInfoItem|{{{1}}}|Products|4}}<!-- |
| |0
| | -->{{#ifeq: {{#yh_data:trade_data|{{{1}}}|RewardMoney}} |0||{{PriceFormatted| {{#yh_data:trade_data|{{{1}}}|RewardMoney}} }}<br/> }}<!-- |
| }}
| |
| }}
| |
| <!--
| |
| --> <!--
| |
| -->{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|0}} | |
| |,
| |
| |1
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|1}}| | |
| {{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|1}}
| |
| |,
| |
| |1
| |
| }}<!--
| |
| --> <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|1}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|2}}|
| |
| {{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|2}}
| |
| |,
| |
| |1 | |
| }}<!-- | |
| --> <!-- | |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|2}} | |
| |,
| |
| |0
| |
| }}
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|3}}| | |
| {{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|3}}
| |
| |,
| |
| |1
| |
| }}<!--
| |
| --> <!--
| |
| -->{{ItemLink|{{#explode: | |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|3}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<br/> }}<!--
| |
| | |
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|4}}| | |
| {{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|4}} | |
| |,
| |
| |1
| |
| }}<!--
| |
| --> <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Products}}|;|4}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<br/> }}<!-- | |
| | |
|
| |
|
| --> | | --> |
Line 77: |
Line 12: |
| |<!-- | | |<!-- |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|0}}| | | -->{{TradeInfoItem|{{{1}}}|Materials1|0}}<!-- |
| {{#explode: | | -->{{TradeInfoItem|{{{1}}}|Materials1|1}}<!-- |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|0}}
| | -->{{TradeInfoItem|{{{1}}}|Materials1|2}}<!-- |
| |, | | -->{{TradeInfoItem|{{{1}}}|Materials1|3}}<!-- |
| |1 | | -->{{TradeInfoItem|{{{1}}}|Materials1|4}}<!-- |
| }}<!-- | | -->{{#ifeq: {{#yh_data:trade_data|{{{1}}}|Cost}} |0||{{PriceFormatted| {{#yh_data:trade_data|{{{1}}}|Cost}} }}<br/> }}<!-- |
| --> <!-- | |
| -->{{ItemLink|{{#explode: | |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|0}} | |
| |,
| |
| |0 | |
| }} | |
| }}<br/> }}<!-- | |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|1}}| | | --></includeonly><noinclude> |
| {{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|1}}
| |
| |,
| |
| |1
| |
| }}<!--
| |
| --> <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|1}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<br/> }}<!--
| |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|2}}|
| | This template renders a single row in the trade info table. |
| {{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|2}}
| |
| |,
| |
| |1
| |
| }}<!--
| |
| --> <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|2}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<br/> }}<!--
| |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|3}}|
| | == Examples == |
| {{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|3}}
| |
| |,
| |
| |1
| |
| }}<!--
| |
| --> <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|3}}
| |
| |,
| |
| |0
| |
| }}
| |
| }}<br/> }}<!--
| |
|
| |
|
| -->{{#if:{{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|4}}|
| | <pre><nowiki>{{TradeInfoRow|100101}}</nowiki></pre> |
| {{#explode:
| | {| class="wikitable" |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|4}}
| | {{TradeInfoRow|100101}} |
| |,
| | |} |
| |1
| |
| }}<!-- | |
| --> <!--
| |
| -->{{ItemLink|{{#explode:
| |
| {{#explode:{{#yh_data:trade_data|{{{1}}}|Materials1}}|;|4}} | |
| |, | |
| |0
| |
| }}
| |
| }}<br/> }}<!--
| |
|
| |
|
| -->
| | [[Category:Game Data Templates]] |
| | </noinclude> |