Template:ITS: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
m Text replacement - "https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/" to "http://wiki.pokemonrevolution.net/index.php?title=Special:GetData/"
Missed a namespace prefix for File.
Line 4: Line 4:
</noinclude>
</noinclude>
<includeonly><tr style="background-color:#FFFFFF;">{{#if:{{{TM|}}}|
<includeonly><tr style="background-color:#FFFFFF;">{{#if:{{{TM|}}}|
{{#get_web_data:url=http://wiki.pokemonrevolution.net/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%">{{#ifexist:File:{{ucfirst:{{{Item}}}}}.png|[[File:{{ucfirst:{{{Item}}}}}.png]]|[[File:MissingIcon.png|link={{ucfirst:{{{Item}}}}}.png]]}}</td><td width="50%">[[{{ucfirst:{{{Item}}}}}]]</td>}}<td width="25%">{{#ifeq:{{#var:currency}}|Pdollars|{{Pdollar}}}}{{{Price|{{MartCatalog|{{ucfirst:{{{Item}}}}}}}}}}</td></tr></includeonly>
{{#get_web_data:url=http://wiki.pokemonrevolution.net/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%">{{#ifexist:File:{{ucfirst:{{{Item}}}}}.png|[[File:{{ucfirst:{{{Item}}}}}.png]]|[[File:MissingIcon.png|link={{ucfirst:File:{{{Item}}}}}.png]]}}</td><td width="50%">[[{{ucfirst:{{{Item}}}}}]]</td>}}<td width="25%">{{#ifeq:{{#var:currency}}|Pdollars|{{Pdollar}}}}{{{Price|{{MartCatalog|{{ucfirst:{{{Item}}}}}}}}}}</td></tr></includeonly>

Revision as of 17:49, 27 January 2023

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.