Difference between revisions of "Template:ETm"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m (Test #3)
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}}
<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>

Revision as of 04:05, 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|p=2 Motherboards|l=Minusoft|2021}} }}

Usage

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