Difference between revisions of "Template:Test"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m
 
(172 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><table cellspacing"3" cellpadding="4" align="left" style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; width: 60%; max-width: 60%; background: #{{Locationcolor|{{{Type}}}}}; text-align: center;">
+
<includeonly><table style="border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; width: 72%; border-radius: 15px 15px 15px 15px; background: #{{{{{Type|???}}}_color_light}};" align="left" cellpadding="2" cellspacing="3">
{{#if: {{{Place|}}} | <th colspan="4" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%">{{#switch: {{{Place}}}| Surfing = <td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%"> [[File:Wind_Surfboard.png]]</td><colspan="4" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%"> <b>Surfing</b></td> | Fishing = <tr colspan="4" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="100%"><td style=" #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%"[[File:Old_Rod.png]]</td><td> <b>Fishing</b></td></tr> | #default = {{{Place}}}}}</b>}}</th>
+
<tr><td>
  
{{#if: {{{R|}}} |<tr><td colspan="4" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Pokémon Level Range: {{{R}}}</b></td>}}
+
''Italics'' - Indicates STAB Bonus. '''Bold''' - Indicates a [[Broken Moves|Broken Move]].
<tr><td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM1}}}]]</b></td>{{#if: {{{PKM2|}}} |
+
<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">
<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM2}}}]]</b></td></tr>}}
+
<tr><td>
<tr><td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX1}}}small.png|link={{{PKM1}}}|Art by Ken Sugimori]]</td>
+
 
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare1}}}</b></td>{{#if: {{{PKM2|}}} |<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX2}}}small.png|link={{{PKM2}}}|Art by Ken Sugimori]]</td>
+
<table style="text-align:center" class="wikitable sortable" width="100%" cellspacing="10" cellpadding="5">
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare2}}}</b></td></tr>}}{{#if: {{{Level1|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level1}}}</b></td>}}{{#if: {{{Fish1|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #
+
<tr><th  width="11%">Move</th><th width="9%">Element</th><th width="9%">Type</th><th width="7%">Power</th><th width="7%">Accuracy</th><th width="9%">Price</th><th width="18%">Event</th><th width="18%">Time</tr>
{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish1}}}</b></td>}}{{#if: {{{Level2|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level2}}}</b></td>}}{{#if: {{{Fish2|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish2}}}</b></td>}}{{#if: {{{PKM3|}}} | <tr><tr></br></tr><tr><td colspan="{{#if: {{{PKM4|}}} |2|4}}" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="{{#if: {{{PKM4|}}} |50|100}}%">[[{{{PKM3}}}]]</td>{{#if: {{{PKM4|}}} |
+
{{{Moves|}}}
<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM4}}}]]</b></td></tr>}}
+
</table>
<tr><td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX3}}}small.png|link={{{PKM3}}}|Art by Ken Sugimori]]</td>
+
</table>
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare3}}}</b></td>{{#if: {{{PKM4|}}} |<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX4}}}small.png|link={{{PKM4}}}|Art by Ken Sugimori]]</td>
+
<tr cellspacing="4"><td>&nbsp;
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare4}}}</b></td></tr>}}{{#if: {{{Level3|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level3}}}</b></td>}}{{#if: {{{Fish3|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish3}}}</b></td>}}{{#if: {{{Level4|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level4}}}</b></td>}}{{#if: {{{Fish4|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish4}}}</b></td>}}}}{{#if: {{{PKM5|}}} | <tr><tr></br></tr><tr><td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM5}}}]]</td>{{#if: {{{PKM6|}}} |
+
<small><b>[[Move Tutor|Refer to this article for more details on tutor-teachable moves.]]</b></small></td></tr>
<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM6}}}]]</b></td></tr>}}
+
</table>
<tr><td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX5}}}small.png|link={{{PKM5}}}|Art by Ken Sugimori]]</td>
+
<br clear="all">
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare5}}}</b></td>{{#if: {{{PKM6|}}} |<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX6}}}small.png|link={{{PKM6}}}|Art by Ken Sugimori]]</td>
+
</includeonly>
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare6}}}</b></td></tr>}}{{#if: {{{Level5|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level5}}}</b></td>}}{{#if: {{{Fish5|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish5}}}</b></td>}}{{#if: {{{Level6|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level6}}}</b></td>}}{{#if: {{{Fish6|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish6}}}</b></td>}}}}{{#if: {{{PKM7|}}} | <tr><tr></br></tr><tr><td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM7}}}]]</td>{{#if: {{{PKM8|}}} |
+
<noinclude>==Syntax==
<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM8}}}]]</b></td></tr>}}
+
This template is structurally similar to [[Template:MTable|Mtable]], and uses the following template-defined paramters: 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:ETm]].
<tr><td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX7}}}small.png|link={{{PKM7}}}|Art by Ken Sugimori]]</td>
+
==Exemplification==
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare7}}}</b></td>{{#if: {{{PKM8|}}} |<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX8}}}small.png|link={{{PKM8}}}|Art by Ken Sugimori]]</td>
+
<nowiki>{{MTutorTable|Type=Fire|Moves=
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare8}}}</b></td></tr>}}{{#if: {{{Level7|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level7}}}</b></td>}}{{#if: {{{Fish7|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish7}}}</b></td>}}{{#if: {{{Level8|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level8}}}</b></td>}}{{#if: {{{Fish8|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish8}}}</b></td>}}}}{{#if: {{{PKM9|}}} | <tr><tr></br></tr><tr><td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM9}}}]]</td>{{#if: {{{PKM10|}}} |
+
{{ETm|Outrage}}
<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM10}}}]]</b></td></tr>}}
+
}}</nowiki> would output the following on Arcanine's page, for example.
<tr><td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX9}}}small.png|link={{{PKM9}}}|Art by Ken Sugimori]]</td>
+
{{Test|Type=Fire|Moves=
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare9}}}</b></td>{{#if: {{{PKM10|}}} |<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX10}}}small.png|link={{{PKM10}}}|Art by Ken Sugimori]]</td>
+
{{ETm|Pain Split|p=2 Motherboards|l=Minusoft|t=2021}}
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare10}}}</b></td></tr>}}{{#if: {{{Level9|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level9}}}</b></td>}}{{#if: {{{Fish9|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish9}}}</b></td>}}{{#if: {{{Level10|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level10}}}</b></td>}}{{#if: {{{Fish10|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish10}}}</b></td>}}}}{{#if: {{{PKM11|}}} | <tr><tr></br></tr><tr><td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM11}}}]]</td>{{#if: {{{PKM12|}}} |
+
}}
<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%">[[{{{PKM12}}}]]</b></td></tr>}}
+
==Usage==
<tr><td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX11}}}small.png|link={{{PKM11}}}|Art by Ken Sugimori]]</td>
+
This template is used in conjunction with [[Template:ETm]] to create a moves list for each Pokémon.</noinclude>
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare11}}}</b></td>{{#if: {{{PKM12|}}} |<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 55px;" width="1%">[[File:{{{PDEX12}}}small.png|link={{{PKM12}}}|Art by Ken Sugimori]]</td>
+
<td colspan="1" align=center style="border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="40%"><b>{{{Rare12}}}</b></td></tr>}}{{#if: {{{Level11|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level11}}}</b></td>}}{{#if: {{{Fish11|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish11}}}</b></td>}}{{#if: {{{Level12|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Level range: {{{Level12}}}</b></td>}}{{#if: {{{Fish12|}}} |<td colspan="2" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;" width="50%"><b>Fishing Level Required: {{{Fish12}}}</b></td>}}}}
+
</table><br clear="left"></includeonly>
+

Latest revision as of 00:10, 13 September 2021

Syntax

This template is structurally similar to Mtable, and uses the following template-defined paramters: 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:ETm.

Exemplification

{{MTutorTable|Type=Fire|Moves= {{ETm|Outrage}} }} would output the following on Arcanine's page, for example.

Italics - Indicates STAB Bonus. Bold - Indicates a Broken Move.

MoveElementTypePowerAccuracyPriceEventTime
Pain Split Normal Status 0 100 2 Motherboards Minusoft 2021
  Refer to this article for more details on tutor-teachable moves.



Usage

This template is used in conjunction with Template:ETm to create a moves list for each Pokémon.