Difference between revisions of "Template:TMn"

From Pokemon World Online Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#get_web_data:url=http://pwo-wiki.info/index.php?title=Special:GetData/MovesRawList/TM|format=CSV with header|filters=obtainable=Y|data=tmno=TMnumber,name=Name,type=Type,image=TypeName,category=Category,power=Power,accuracy=Accuracy,broken=Broken,obtainable=Obtainable}}
+
<includeonly>{{#get_web_data:url=http://pwo-wiki.info/index.php?title=Special:GetData/MovesRawList/TM|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=tmno=TMnumber,name=Name,type=Type,image=TypeName,category=Category,power=Power,accuracy=Accuracy,broken=Broken}}
 
<tr>
 
<tr>
 
<td>[[File:TM-{{#external_value: type}}.png]]</td>
 
<td>[[File:TM-{{#external_value: type}}.png]]</td>
Line 17: Line 17:
 
{{TMn|Ice Beam|s=}}
 
{{TMn|Ice Beam|s=}}
 
{{TMn|Dragon Claw}}
 
{{TMn|Dragon Claw}}
{{TMn|Hone Claws}}
 
 
</table>
 
</table>
 
==Usage==
 
==Usage==
 
This template should be used in conjunction with [[Template:TMtable]] to construct a moves table for each Pokémon.</noinclude>
 
This template should be used in conjunction with [[Template:TMtable]] to construct a moves table for each Pokémon.</noinclude>

Revision as of 01:33, 14 August 2015

General Information

This template uses the data found on this page to generate its data. The primary determiner used is simply the TM name; after typing that, the only other variable that should be needed is the STAB flag in s=; after inputting the TM name, the template will draw the other data properties from the row's placeholder on the already-cited page, and include that data on the table.

Syntax

{{TMn|Ice Beam|s=}} {{TMn|Dragon Claw}} displays the following (table header included for display reasons):

TM-Ice.png TM13 Ice Beam Ice Special 95 100
TM-Dragon.png TM02 Dragon Claw Dragon Physical 80 100

Usage

This template should be used in conjunction with Template:TMtable to construct a moves table for each Pokémon.