Difference between revisions of "Template:TMtable"

From Pokemon World Online Wiki
Jump to: navigation, search
(Reworking this page in order for it to plug in {{TMno}} properly, and doing experimental work on it to ensure it functions as intended.)
 
(22 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<tr><td>
 
<tr><td>
  
''Italics'' - Indicates STAB Bonus. '''Bold''' - Indicates a [[Broken Moves|Broken Move]].  
+
''Italics'' - Indicates STAB Bonus. '''Bold''' - Indicates a [[Broken Moves|Broken Move]].
 
<table style="border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; width: 100%; border-radius: 15px 15px 15px 15px; background: #{{{{{Type|???}}}_color_light}};" align="left" cellpadding="2" cellspacing="3">
 
<table style="border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; width: 100%; border-radius: 15px 15px 15px 15px; background: #{{{{{Type|???}}}_color_light}};" align="left" cellpadding="2" cellspacing="3">
 
<tr><td>
 
<tr><td>
  
<table style="text-align:center" class="wikitable" width="100%" cellspacing="10" cellpadding="5">
+
<table style="text-align:center" class="wikitable sortable" width="100%" cellspacing="10" cellpadding="5">
<tr><th width="9%">TM</th><th width="9%">Move</th><th width="9%">Element</th><th width="9%">Type</th><th width="9%">Power</th><th width="9%">Accuracy</th></tr>
+
<tr><th colspan="2" width="9%">TM</th><th width="11%">Move</th><th width="9%">Element</th><th width="9%">Type</th><th width="9%">Power</th><th width="9%">Accuracy</th></tr>
 
{{{Moves|}}}
 
{{{Moves|}}}
<tr>
+
</table>
<small><b>[[TMs|Refer to here for a full list of TMs.]]</b></small></tr>
+
</table>
</table></table></table></includeonly>
+
<tr cellspacing="4"><td>&nbsp;
 +
<small><b>[[TMs|Refer to here for a full list of TMs.]]</b></small></td></tr>
 +
</table>
 +
<br clear="all">
 +
</includeonly>
 
<noinclude>==Syntax==
 
<noinclude>==Syntax==
This template uses two defined parameters: Type and Moves. Type is the primary type of the Pokémon, to determine the color scheme for the table's background, and Moves is a string of template calls that call [[Template:TMno]].
+
This template uses two defined parameters: Type and Moves. Type is the primary type of the Pokémon, to determine the color scheme for the table's background, and Moves is a string of template calls that call [[Template:TMn]].
 
==Exemplification==
 
==Exemplification==
 
{{TMtable|Type=Ghost|Moves=
 
{{TMtable|Type=Ghost|Moves=
{{TMno|23|s=}}
+
{{TMn|Solarbeam|s=}}
{{TMno|77|s=}}
+
{{TMno|23|s=}}
+
 
}}
 
}}
 
==Usage==
 
==Usage==
This template is used in conjunction with [[Template:TMno]] to create a moves list for each Pokémon.</noinclude>
+
This template is used in conjunction with [[Template:TMn]] to create a moves list for each Pokémon.</noinclude>

Latest revision as of 05:48, 7 April 2017

Syntax

This template uses two defined parameters: Type and Moves. Type is the primary type of the Pokémon, to determine the color scheme for the table's background, and Moves is a string of template calls that call Template:TMn.

Exemplification

Italics - Indicates STAB Bonus. Bold - Indicates a Broken Move.

TMMoveElementTypePowerAccuracy
TM-Grass.png TM22 Solarbeam Grass Special 120 100
  Refer to here for a full list of TMs.



Usage

This template is used in conjunction with Template:TMn to create a moves list for each Pokémon.