Difference between revisions of "Template:TM"

From Pokemon World Online Wiki
Jump to: navigation, search
m (Fixed the color-scheme background of the Type/Category cells.)
m (Simply accented the é in 'Pokémon'.)
Line 7: Line 7:
 
</td><td colspan="1" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 0px 0px 0px;" width="15%"><b>Power</b><br><span style="color: #FFFFFF; background: #FF0000; border-radius: 15px; border: 3px #FFFFFF;">&nbsp;&nbsp;&nbsp;{{#external_value: power}}&nbsp;&nbsp;&nbsp;</span></td><td colspan="2" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 10px 10px 0px;" width="35%"><b>Accuracy</b><br><span style="color: #000000; background: #FFFFFF; border-radius: 15px; border: 3px #FFAAAA;">&nbsp;&nbsp;&nbsp;{{#external_value: accuracy}}&nbsp;&nbsp;&nbsp;</span></td></tr>
 
</td><td colspan="1" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 0px 0px 0px;" width="15%"><b>Power</b><br><span style="color: #FFFFFF; background: #FF0000; border-radius: 15px; border: 3px #FFFFFF;">&nbsp;&nbsp;&nbsp;{{#external_value: power}}&nbsp;&nbsp;&nbsp;</span></td><td colspan="2" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 10px 10px 0px;" width="35%"><b>Accuracy</b><br><span style="color: #000000; background: #FFFFFF; border-radius: 15px; border: 3px #FFAAAA;">&nbsp;&nbsp;&nbsp;{{#external_value: accuracy}}&nbsp;&nbsp;&nbsp;</span></td></tr>
 
<td colspan="8" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 15px 15px 15px 15px;" width="90%">{{#ifeq: {{{Obtained|}}} | {{{Obtained|-}}} | <b>Release Date: {{{Release}}}</b><hr><B>Location(s): <small>{{{Obtained|}}}</small></B> | <b>Release Date: N/A</b><hr><B>Location(s): <small>This TM has not been released.</small></B>}}<br></td></tr>
 
<td colspan="8" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 15px 15px 15px 15px;" width="90%">{{#ifeq: {{{Obtained|}}} | {{{Obtained|-}}} | <b>Release Date: {{{Release}}}</b><hr><B>Location(s): <small>{{{Obtained|}}}</small></B> | <b>Release Date: N/A</b><hr><B>Location(s): <small>This TM has not been released.</small></B>}}<br></td></tr>
−
<td colspan="8" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 15px 15px 0px 0px;" width="90%"><b>Pokemon 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; 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>Pokémon </b></td></tr>{{{Pokomon}}}</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 21:30, 5 March 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.