Difference between revisions of "Template:TMtable"
From Pokemon World Online Wiki
(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=" | + | <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></ | + | </table> |
| − | </ | + | <tr cellspacing="4"><td> |
| + | <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: | + | 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= | ||
| − | {{ | + | {{TMn|Solarbeam|s=}} |
| − | + | ||
| − | + | ||
}} | }} | ||
==Usage== | ==Usage== | ||
| − | This template is used in conjunction with [[Template: | + | 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.
| |||||||||||||||
| 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.