Template:ITS: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
m Text replacement - "prowiki.info" to "wiki.pokemonrevolution.net"
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=https://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%">{{#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=https://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>

Revision as of 07:05, 30 October 2021

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.