Difference between revisions of "Template:MovePage"

From Cassette Beasts
(Try to fix "How to obtain section" not working quite right for moves whose page contains " (move)" as a suffix)
 
(36 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{MoveInfobox|id={{PAGENAME}}}}
+
{{#ifeq: {{{id|{{PAGENAME}}}}} | Fusion Power |
{{#invoke:Database|get_move|{{PAGENAME}}|name}} is a {{#ifeq: {{#invoke:Database|get_move|{{PAGENAME}}|elemental_type}} | Typeless |[[Typeless]] | [[{{#invoke:Database|get_move|{{PAGENAME}}|elemental_type}}]]-[[type]]}} {{#if: {{#invoke:Database|get_move|{{PAGENAME}}|is_passive_only}} | passive }} {{#ifeq: {{#invoke:Database|get_move|{{PAGENAME}}|category}} | Miscellaneous || {{#invoke:Database|get_move|{{PAGENAME}}|category}} }} [[Moves|move]].
+
{{MoveInfobox
 +
| id = {{{id|{{PAGENAME}}}}}
 +
| exclude_type = True
 +
| exclude_power = True
 +
| exclude_targets = True
 +
}}|{{MoveInfobox
 +
| id = {{{id|{{PAGENAME}}}}}
 +
}}}}
 +
{{#ifeq: {{{id|{{PAGENAME}}}}} | Fusion Power |'''{{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|name}}''' is a [[Moves|Move]].|'''{{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|name}}''' is a {{#ifeq: {{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|elemental_type}} | Typeless |[[Typeless]] | [[{{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|elemental_type}}]]-[[Types|type]]}} {{#if: {{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|is_passive_only}} | passive }} {{#ifeq: {{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|category}} | Miscellaneous || {{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|category}} }} [[Moves|Move]].}} {{{additional_info|}}}
  
==Description==
+
== Description ==
{{#invoke:Database|get_move|{{PAGENAME}}|description}}
+
{{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|description}}
 +
{{#if: {{{additional_description|}}}|
 +
=== Additional Information ===
 +
{{{additional_description}}}
 +
}}
 +
{{#if: {{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|status_effects|1}} | == Status Effects ==
 +
<table class="wikitable">
 +
<tr><th colspan="2">[[Status Effects|Status Effect]]</th><th>Kind</th></tr>
 +
{{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|status_effects|foreach=StatusEffectSummaryTableRow|sorted=1}}
 +
</table> }}
 +
{{#ifeq: {{{id|{{PAGENAME}}}}} | Fusion Power ||
 +
== How to obtain ==
 +
{{{id|{{PAGENAME}}}}} may be obtained when a compatible tape levels up.
 +
{{#ifeq: {{#invoke:Database|get_move_type_tags|{{{id|{{PAGENAME}}}}}|if_empty=EMPTY}} | EMPTY | | {{{id|{{PAGENAME}}}}} can be obtained when a bootleg of one of the following types levels up: <ul><li>{{#invoke:Database|get_move_type_tags|{{{id|{{PAGENAME}}}}}|foreach=TypeButton|delim=</li><li>}}</li></ul> }} }}
 +
{{#if: {{{additional_obtain_method|}}}|
 +
{{{additional_obtain_method}}}
 +
}}
  
==Compatible Species==
+
== Compatible Species ==
<table class="move_species wikitable">
+
{{{compatibility|
<tr><th colspan="3">[[Species]]</th><th>[[Type]]</th></tr>
+
{{#ifeq: {{#invoke:Database|get_move_compatible_species|{{{id|{{PAGENAME}}}}}|if_empty=EMPTY}} |EMPTY| There are currently no [[Species]] compatible with this move. |
{{#invoke:Database|get_move_compatible_species|{{PAGENAME}}|foreach=SpeciesSummaryTableRow}}
+
<table class="move_species wikitable sortable">
<table>
+
<tr><th colspan="2">[[Species]]</th><th>Num</th><th>[[Type]]</th><th>Method</th></tr>
 +
{{#invoke:Database|get_move_compatible_species|{{{id|{{PAGENAME}}}}}|foreach=SpeciesSummaryTableRow_MoveCompat|pass_through=move|move={{{id|{{PAGENAME}}}}} }}
 +
<table>}}
 +
}}}
 +
{{#ifeq: {{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|category}} | Miscellaneous || [[Category:{{#invoke:Database|get_move|{{{id|{{PAGENAME}}}}}|category}} moves]]}}

Latest revision as of 03:19, 9 April 2024

Unknown
Miscellaneous
Type
Accuracy100%
TargetsSingle
Use Cost0 AP
CopyableYes
PriorityNormal (0)

Unknown is a Typeless Move.

Description

Unknown move.


How to obtain

MovePage may be obtained when a compatible tape levels up.


Compatible Species

There are currently no Species compatible with this move.