Difference between revisions of "Template:TM"

From Pokemon World Online Wiki
Jump to: navigation, search
m (Added missing tr tag)
m
Line 9: Line 9:
 
<td colspan="8" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 15px 15px 0px 0px;" width="90%"><b>Pokémon which can learn this TM</b><hr>
 
<td colspan="8" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 15px 15px 0px 0px;" width="90%"><b>Pokémon which can learn this TM</b><hr>
 
{{hidden| |2= <center><table cellspacing"1" cellpadding="1" style="float: center; border: 0px #338066 solid; margin-top: 5px; margin-left: 15px; margin-bottom: 5px; 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; margin-bottom: 5px; border-radius: 10px 10px 0px 0px; width: 50%; max-width: 50%; background: #{{{{{Type|???}}}_color}}; text-align: center;">
<tr><td 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>Pokémon</b></td></tr>{{{Pokemon}}}</table></center>}}</td></tr>
+
<tr><td 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>
 
{{#ifeq: {{#external_value: broken}} | Y | <tr><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>
 
{{#ifeq: {{#external_value: broken}} | Y | <tr><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>
  

Revision as of 00:15, 20 November 2024


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.