Difference between revisions of "Template:M"

From Pokemon World Online Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#get_web_data:url=http://iblamelee.co.uk/pwo/wiki/index.php?title=Special:GetData/MovesRawList|format=CSV with header|filters=name={{{1}}}|data=name=Name,type=T...")
 
m
Line 1: Line 1:
<includeonly>{{#get_web_data:url=http://iblamelee.co.uk/pwo/wiki/index.php?title=Special:GetData/MovesRawList|format=CSV with header|filters=name={{{1}}}|data=name=Name,type=Type,category=Category,power=Power,accuracy=Accuracy,broken=Broken}}
+
<includeonly>{{#get_web_data:url=http://iblamelee.co.uk/pwo/wiki/index.php?title=Special:GetData/MovesRawList|format=CSV with header|filters=name={{ucfirst:{{lc:{{{1}}}}}}}|data=name=Name,type=Type,category=Category,power=Power,accuracy=Accuracy,broken=Broken}}
 
<tr>
 
<tr>
 
{{#ifeq: {{#external_value: broken}} | Y | <td>'''{{#external_value: name}}'''</td> | <td>{{#external_value: name}}</td>}}
 
{{#ifeq: {{#external_value: broken}} | Y | <td>'''{{#external_value: name}}'''</td> | <td>{{#external_value: name}}</td>}}
Line 10: Line 10:
 
This template uses the data found on [[MovesRawList|this page]] to generate its data. The template accepts one parameter, which is the move's name. It then creates a table row with the information.
 
This template uses the data found on [[MovesRawList|this page]] to generate its data. The template accepts one parameter, which is the move's name. It then creates a table row with the information.
 
==Syntax==
 
==Syntax==
<nowiki>{{m|tackle}}</nowiki> displays the following (table header included for display reasons):
+
<nowiki>{{m|Tackle}}</nowiki> displays the following (table header included for display reasons):
<table class="wikitable">
+
<table class="wikitable" width="100%" style="text-align: center;">
{{m|tackle}}
+
{{m|Tackle}}
 
</table>
 
</table>
 
==Usage==
 
==Usage==
 
This template should be used in conjunction with [[Template:Mtable]] to construct a moves table for each Pokémon.</noinclude>
 
This template should be used in conjunction with [[Template:Mtable]] to construct a moves table for each Pokémon.</noinclude>

Revision as of 21:39, 21 August 2012

General Information

This template uses the data found on this page to generate its data. The template accepts one parameter, which is the move's name. It then creates a table row with the information.

Syntax

{{m|Tackle}} displays the following (table header included for display reasons):

--- Tackle Normal Physical 50 100

Usage

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