Template:AIR: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Added the TM clause to this template.
No edit summary
Line 8: Line 8:
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{{TM}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,tm=TM}}
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{{TM}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless,tm=TM}}
<td>[[File:TM-{{#external_value:movetype}}.png]]</td>
<td>[[File:TM-{{#external_value:movetype}}.png]]</td>
<td>TM{{#external_value:tm}} - [[{{#external_value:technique}}]]</td>
<td>[[TMs and HMs|TM{{#external_value:tm}}]] - [[{{#external_value:technique}}]]</td>
|
|
<td width="5%">{{#ifexist: File:{{{Item}}}.png | [[File:{{{Item}}}.png]] | [[File:MissingIcon.png]]}}</td>
<td width="5%">{{#ifexist: File:{{{Item}}}.png | [[File:{{{Item}}}.png]] | [[File:MissingIcon.png]]}}</td>

Revision as of 11:11, 1 March 2017

Use this in tandem with Template:AreaItems to construct tabular rows for it.

It accepts four arguments: {{{Item}}}, {{{Quantity}}}, {{{Cooldown}}}, and {{{Location}}}. Leave {{{Quantity}}} and {{{Cooldown}}} blank if you have to ascertain even a rough amount, but do furnish values for {{{Item}}} and {{{Location}}}, at least.