Template:ITS: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>This is to be used in conjunction with [[Template:GenericItemShop]] to construct data rows for it.  
<noinclude>This is to be used in conjunction with [[Template:GenericItemShop]] to construct data rows for it.  


It is receptible of the following arguments: {{{Item}}} for the exact item name, {{{Price}}} to specify its price, and {{{Currency}}} if you wish to specify any currency other than Pokédollars (Pokédollars is the default one) for the shop.
It is receptible of the following arguments: {{{Item}}} for the exact item name and {{{Price}}} to specify its price.
</noinclude>
</noinclude>
<includeonly><tr style="background-color:#FFFFFF;"><td width="25%">[[File:{{ucfirst:{{{Item}}}}}.png]]</td><td width="50%">[[{{ucfirst:{{{Item}}}}}]]
<includeonly><tr style="background-color:#FFFFFF;"><td width="25%">[[File:{{ucfirst:{{{Item}}}}}.png]]</td><td width="50%">[[{{ucfirst:{{{Item}}}}}]]
</td>
</td>
<td width="25%">{{#ifeq:{{{Currency|Pdollars}}}|Pdollars|[[Template:Pdollar]]}}{{{Price}}} {{{Currency|}}}</td>
<td width="25%">{{#ifeq:{{#var:currency}}|Pdollars|[[Template:Pdollar]] {{{Price}}}|{{{Price}}} {{#var:currency}}}}</td>
</tr></includeonly>
</tr></includeonly>

Revision as of 19:13, 21 April 2017

This is to be used in conjunction with Template:GenericItemShop to construct data rows for it.

It is receptible of the following arguments: {{{Item}}} for the exact item name and {{{Price}}} to specify its price.