Template:ITS: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
It is receptible of the following arguments: {{{Item}}} for the exact item name and {{{Price}}} to specify its price.
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;">{{#if:{{{TM|}}}|
</td>
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{{TM}}}|data=technique=Name,movetype=Type,tm=TM}}
<td width="25%">[[File:TM-{{#external_value:movetype}}.png]]</td>
<td width="50%">[[TMs and HMs|TM{{#external_value:tm}}]] - [[{{#external_value:technique}}]]</td>
|
<td width="25%">[[File:{{ucfirst:{{{Item}}}}}.png]]</td><td width="50%">[[{{ucfirst:{{{Item}}}}}]]
</td>}}
<td width="25%">{{#ifeq:{{#var:currency}}|Pdollars|{{Pdollar}}}}{{{Price}}}</td>
<td width="25%">{{#ifeq:{{#var:currency}}|Pdollars|{{Pdollar}}}}{{{Price}}}</td>
</tr></includeonly>
</tr></includeonly>

Revision as of 21:58, 14 July 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.