Difference between revisions of "Template:TM"
From Pokemon World Online Wiki
m |
m |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#get_web_data:url=http://pwo-wiki.info/index.php?title=Special:GetData/MovesRawList|format=CSV with header|filters=name={{ucfirst:{{{Move}}}}}|data=name=Name,type=Type,category=Category,power=Power,accuracy=Accuracy,broken=Broken}} | + | <includeonly>{{#get_web_data:url=http://pwo-wiki.info/index.php?title=Special:GetData/MovesRawList/TM|format=CSV with header|filters=name={{ucfirst:{{{Move}}}}}|data=name=Name,type=Type,category=Category,power=Power,accuracy=Accuracy,broken=Broken}} |
<center><table cellspacing"1" cellpadding="1" style="float: center; border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; width: 50%; max-width: 50%; background: #{{{{{Type|???}}}_color_light}}; text-align: center;"> | <center><table cellspacing"1" cellpadding="1" style="float: center; border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; width: 50%; max-width: 50%; background: #{{{{{Type|???}}}_color_light}}; text-align: center;"> | ||
<td colspan="1" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 15px 1px 1px 15px;" width="10%">[[File:TM-{{{Type}}}.png]]<b>TM {{{TMn}}}</b><td colspan="7" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 1px 15px 15px 1px;" width="90%"><b>{{{Move}}}</b></td></tr> | <td colspan="1" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 15px 1px 1px 15px;" width="10%">[[File:TM-{{{Type}}}.png]]<b>TM {{{TMn}}}</b><td colspan="7" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 1px 15px 15px 1px;" width="90%"><b>{{{Move}}}</b></td></tr> | ||
| Line 6: | Line 6: | ||
</td><td colspan="1" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 0px 0px 0px;" width="20%"><b>Type:</b><br><span style="color: #FFFFFF; background: #9282A3; border-radius: 15px; border: 3px #FFFFFF;">{{#external_value: category}} | </td><td colspan="1" style="border: 1px #{{{{{Type|???}}}_color}} solid; background: #FFFFFF; border-radius: 0px 0px 0px 0px;" width="20%"><b>Type:</b><br><span style="color: #FFFFFF; background: #9282A3; border-radius: 15px; border: 3px #FFFFFF;">{{#external_value: category}} | ||
</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;"> {{#external_value: power}} </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;"> {{#external_value: accuracy}} </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;"> {{#external_value: power}} </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;"> {{#external_value: accuracy}} </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>Pokemon 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;"> | ||
Revision as of 03:57, 3 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.