Difference between revisions of "Template:TM"
From Pokemon World Online Wiki
m (Changed a boolean #if for the final table row (which flags it as a broken/non-broken move), thus it should call the broken-move flag from MovesRawList; the row will no longer be displayed if the move is flagged as broken.) |
m |
||
| Line 10: | Line 10: | ||
{{hidden| |2= <center><table cellspacing"1" cellpadding="1" style="float: center; border: 0px #338066 solid; margin-top: 5px; margin-left: 15px; border-radius: 10px 10px 0px 0px; width: 50%; max-width: 50%; background: #{{{{{Type|???}}}_color}}; text-align: center;"> | {{hidden| |2= <center><table cellspacing"1" cellpadding="1" style="float: center; border: 0px #338066 solid; margin-top: 5px; margin-left: 15px; border-radius: 10px 10px 0px 0px; width: 50%; max-width: 50%; background: #{{{{{Type|???}}}_color}}; text-align: center;"> | ||
<td colspan="1" style="border: 0px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 10px 0px 0px 0px;" width="10%"><b> # </b><td colspan="7" style="border: 0px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 10px 0px 0px;" width="90%"><b>Pokemon </b></td></tr>{{{Pokemon}}}</table></center>}}</td></tr> | <td colspan="1" style="border: 0px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 10px 0px 0px 0px;" width="10%"><b> # </b><td colspan="7" style="border: 0px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 10px 0px 0px;" width="90%"><b>Pokemon </b></td></tr>{{{Pokemon}}}</table></center>}}</td></tr> | ||
| − | {{#if: {{#external_value: broken}} | Y | <td colspan="8" align="left"; style="border: 1px solid; background: #FFFFFF; border-radius: 7px;" width="100%"><b><small>This move is currently | + | {{#if: {{#external_value: broken}} | Y | <td colspan="8" align="left"; style="border: 1px solid; background: #FFFFFF; border-radius: 7px;" width="100%"><b><small>This move is currently [[Broken Moves|broken.]] </small></td></tr> }}</table></center></includeonly> |
<noinclude> | <noinclude> | ||
'''Example Syntax''' | '''Example Syntax''' | ||
Revision as of 04:47, 17 February 2014
Example Syntax
{{TM|TMn=01|Move=Thunder|Type=Psychic|About=This move creates a thunder storm|Pokemon=
{{TMPk|001}}
{{TMPk|002}}
{{TMPk|093}}
|B=Y}}
=List of Parameters in Use
- TMn - The TM number
- Move - Move Name
- Type - Type of the Move, (ex. Psychic) Used to set the colors for the template
- About - Description of the Move
- Pokemon - Must be used with the TMPk Template to add in Pokemon
- B - If move is broken, don't put anything, if functional set it equal to anything.