Difference between revisions of "Template:ETm"

From Pokemon World Online Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#get_web_data:url=https://pwo-wiki.info/index.php?title=Special:GetData/MovesRawList|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=name=Name,type...")
 
m
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#get_web_data:url=https://pwo-wiki.info/index.php?title=Special:GetData/MovesRawList|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=name=Name,type=Type,category=Category,power=Power,accuracy=Accuracy,broken=Broken}}
+
<includeonly>{{#get_web_data:url=https://pwo-wiki.info/index.php?title=Special:GetData/MovesRawList/MT|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=name=Name,type=Type,category=Category,power=Power,accuracy=Accuracy,broken=Broken,obtainable=Obtainable,price=Price,location=Location,time=Time}}
<tr>
+
{{#ifeq: {{#external_value: obtainable}} | Y | <tr>
 
<td>{{#ifeq: {{#external_value: broken}} | Y | {{#ifeq: {{{s|}}} | {{{s|-}}} | '''''[[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]''''' | '''[[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]'''}} | {{#ifeq: {{{s|}}} | {{{s|-}}} | ''[[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]'' | [[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]}}}}
 
<td>{{#ifeq: {{#external_value: broken}} | Y | {{#ifeq: {{{s|}}} | {{{s|-}}} | '''''[[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]''''' | '''[[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]'''}} | {{#ifeq: {{{s|}}} | {{{s|-}}} | ''[[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]'' | [[{{#external_value: name}}|<span style="color:#000;">{{#external_value: name}}</span>]]}}}}
 
<td style="background: #{{{{#external_value: type}}_color}};">[[{{#external_value: type}}_(type)|<span style="color:#000;">{{#external_value: type}}</span>]]</td>
 
<td style="background: #{{{{#external_value: type}}_color}};">[[{{#external_value: type}}_(type)|<span style="color:#000;">{{#external_value: type}}</span>]]</td>
Line 6: Line 6:
 
<td>{{#external_value: power}}</td>
 
<td>{{#external_value: power}}</td>
 
<td>{{#external_value: accuracy}}</td>
 
<td>{{#external_value: accuracy}}</td>
<td>{{Pdollar}}{{{p}}}</td>
+
<td>{{#external_value: price}}</td>
<td>[[{{{l}}}]]</td>
+
<td>{{#external_value: location}}</td>
<td>[[{{{t}}}]]</td>
+
<td>{{#external_value: time}}</td>
</tr></includeonly>
+
</tr>}}</includeonly>
 
<noinclude>==General Information==
 
<noinclude>==General Information==
This template uses the data found on [[MovesRawList|this page]] to generate its data. The template uses four parameters: The first parameter, the move's name, is passed without a parameter name, which transcludes the statistical properties of the move (power, element, type, accuracy, and broken/unbroken flag); the second parameter, denoted by the parameter 'p' (the letter) is the price the move tutor charges for the move. The third parameter, denoted by the parameter 'l', specifies the acquisitional location of the move; it will automatically parse it into an internal hyperlink, thus the page name of the location should be used, so it outlets it to an actual page. The STAB parameter should be left blank the attack does not receive STAB. It then creates a table row with the information.
+
This template is an alternate form of [[Template:MTm]]. It's made so that the [[Template:MEventTutorTable]] displays the time.
 
==Syntax==
 
==Syntax==
<nowiki>{{MTm|Outrage|p=25,000|l=Goldenrod Tunnel}}</nowiki> displays the following (table header included for display reasons):
+
<nowiki>{{ETm|Pain Split}}
 +
</nowiki>
 +
</table>
 
<table class="wikitable" width="100%" style="text-align: center;">
 
<table class="wikitable" width="100%" style="text-align: center;">
{{ETm|m=Outrage|p=25,000|l=Goldenrod Tunnel}}
+
{{ETm|Pain Split|p=2 Motherboards|l=Minusoft|t=2021}}
 
</table>
 
</table>
 +
{{MEventTutorTable|Type=Fire|Moves=
 +
{{ETm|Pain Split}}
 +
{{ETm|Synthesis}}
 +
{{ETm|Ice Punch}}
 +
{{ETm|Sucker Punch}}
 +
}}
 
==Usage==
 
==Usage==
This template should be used in conjunction with [[Template:MTutorTable]] to construct a moves table for each Pokémon.</noinclude>
+
This template should be used in conjunction with [[Template:MEventTutorTable]] to construct a moves table for each Pokémon</noinclude>

Latest revision as of 18:32, 20 January 2022

General Information

This template is an alternate form of Template:MTm. It's made so that the Template:MEventTutorTable displays the time.

Syntax

{{ETm|Pain Split}}

Pain Split Normal Status 0 100 2 Motherboards Minusoft 2021

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

MoveElementTypePowerAccuracyPriceEventTime
Pain Split Normal Status 0 100 2 Motherboards Minusoft 2021
Ice Punch Ice Physical 75 100 15 Event Coin Burnt Tower 2023
Sucker Punch Dark Physical 80 100 25 Ceramic Powders Grimewood Forest 2021
  Refer to this article for more details on tutor-teachable moves.



Usage

This template should be used in conjunction with Template:MEventTutorTable to construct a moves table for each Pokémon