Jump to content

Template:MoveInfobox: Difference between revisions

From PokeHero Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Incomplete|article|Create template for calculating Max PP based on Base PP}}
{{Incomplete|article|Create template for calculating Max PP based on Base PP}}


<onlyinclude>{| class="infobox" style="float:right; background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|light}}; border: 2px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; width: 25%; margin-left: 5px; margin-bottom: 5px; {{rounded|10px}}"
<onlyinclude>{| class="infobox" style="float:right; background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|light}}; border: 2px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; width: 25%; margin-left: 5px; margin-bottom: 5px; {{rounded|5px}}"
|-
|-
| style="text-align:center" |  {{#if: {{{name|}}}|<font size=4>'''{{{name}}}'''</font><br><small>'''{{{fname}}}''' ''{{{ftrans}}}''</small>|<font size=4>'''{{{fname}}}'''</font><br>''{{{ftrans}}}''}}
| style="text-align:center" |  {{#if: {{{name|}}}|<font size=4>'''{{{name}}}'''</font><br><small>'''{{{fname}}}''' ''{{{ftrans}}}''</small>|<font size=4>'''{{{fname}}}'''</font><br>''{{{ftrans}}}''}}
|-
|-
| style="background: #999; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|10px}}" | <div style="text-align:center">'''{{TransLink|Pokehero battle|Battles}}'''</div>
| style="background: #999; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|5px}}" | <div style="text-align:center">'''{{TransLink|Pokehero battle|Battles}}'''</div>
{| style="background: transparent" width="100%"
{| style="background: transparent" width="100%"
|-
|-
! width="35%" style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #FFF; {{roundedleft|10px}}" | {{TransLink|Type|{{Color|FFF|Type}}}}
! width="35%" style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #FFF; {{roundedleft|5px}}" | {{TransLink|Type|{{Color|FFF|Type}}}}
| style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #FFF; {{roundedright|10px}}" | &nbsp;{{TransLink|{{{type|Glitch}}} (type)|{{Color|FFF|'''{{{type|Glitch}}}'''}}}}
| style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #FFF; {{roundedright|5px}}" | &nbsp;{{TransLink|{{{type|Glitch}}} (type)|{{Color|FFF|'''{{{type|Glitch}}}'''}}}}
|-
|-
! style="background: #{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|color}}; border: 1px solid #FFF; {{roundedleft|10px}}" | {{TransLink|Damage category|{{Color|FFF|Category}}}}
! style="background: #{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|color}}; border: 1px solid #FFF; {{roundedleft|5px}}" | {{TransLink|Damage category|{{Color|FFF|Category}}}}
| style="background: #{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|color}}; border: 1px solid #FFF; {{roundedright|10px}}" | &nbsp;{{TransLink|{{{category|Status}}} move|{{Color|{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|text}}|{{{category|Status}}}}}}}
| style="background: #{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|color}}; border: 1px solid #FFF; {{roundedright|5px}}" | &nbsp;{{TransLink|{{{category|Status}}} move|{{Color|{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|text}}|{{{category|Status}}}}}}}
|-
|-
! style="background: #FFF; {{roundedtl|10px}}" | {{TransLink|PP|PP}}
! style="background: #FFF; {{roundedtl|5px}}" | {{TransLink|PP|PP}}
| style="background: #FFF; {{roundedtr|10px}}" | &nbsp;{{{basepp}}} <small>(max. {{{maxpp}}})</small>
| style="background: #FFF; {{roundedtr|5px}}" | &nbsp;{{{basepp}}} <small>(max. {{{maxpp}}})</small>
|- style="background: #FFF"  
|- style="background: #FFF"  
! {{TransLink|Power|Power}}
! {{TransLink|Power|Power}}
| &nbsp;{{{power}}}
| &nbsp;{{{power}}}
|-
|-
! style="background: #FFF; {{roundedbl|10px}}" | {{TransLink|Accuracy|Accuracy}}
! style="background: #FFF; {{roundedbl|5px}}" | {{TransLink|Accuracy|Accuracy}}
| style="background: #FFF; {{roundedbr|10px}}" | &nbsp;{{{accuracy}}}%
| style="background: #FFF; {{roundedbr|5px}}" | &nbsp;{{{accuracy}}}%
|- {{#ifeq:{{{priority|-}}}|-|style="display: none"}}
|- {{#ifeq:{{{priority|-}}}|-|style="display: none"}}
! style="background: #FFF" | {{TransLink|Priority|Priority}}
! style="background: #FFF" | {{TransLink|Priority|Priority}}
Line 27: Line 27:
|}
|}
|-
|-
| style="text-align:center; background: #999; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|10px}}" | '''{{TransLink|Range|Range}}'''
| style="text-align:center; background: #999; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|5px}}" | '''{{TransLink|Range|Range}}'''
{{{!}} style="background: transparent" width="100%"
{{{!}} style="background: transparent" width="100%"
{{!}}-
{{!}}-
Line 39: Line 39:
|}
|}
|-
|-
| style="background: #999; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|10px}}" | <div style="text-align:center">'''Availability'''</div>
| style="background: #999; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|5px}}" | <div style="text-align:center">'''Availability'''</div>
{| style="background: transparent" width="100%"
{| style="background: transparent" width="100%"
|-
|-
| style="background: #FFF; {{roundedbottom|10px}}" | <small>{{#ifeq: {{{tm|no}}}|yes|*{{TransLink|TM|TM}}}}{{#ifeq: {{{mt|no}}}|yes|*{{TransLink|Move Tutor|Move Tutor}}}}{{#ifeq: {{{na|yes}}}|yes|*Not a {{TransLink|TM|TM}} or a {{TransLink|Move Tutor|Move Tutor}} move.|}}</small>
| style="background: #FFF; {{roundedbottom|5px}}" | <small>{{#ifeq: {{{tm|no}}}|yes|*{{TransLink|TM|TM}}}}{{#ifeq: {{{mt|no}}}|yes|*{{TransLink|Move Tutor|Move Tutor}}}}{{#ifeq: {{{na|yes}}}|yes|*Not a {{TransLink|TM|TM}} or a {{TransLink|Move Tutor|Move Tutor}} move.|}}</small>
|}
|}
|- style="{{#if: {{{footnotes|}}} | | display: none; }}"  
|- style="{{#if: {{{footnotes|}}} | | display: none; }}"  
| style="background: #FFF; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; font-size: smaller; padding-left: 8px; {{rounded|10px}}" |
| style="background: #FFF; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; font-size: smaller; padding-left: 8px; {{rounded|5px}}" |
{{{footnotes|}}}
{{{footnotes|}}}
|}</onlyinclude>
|}</onlyinclude>


[[Category:Infobox templates]]
[[Category:Infobox templates]]

Revision as of 01:25, 21 September 2025

This article is incomplete.
Please feel free to edit this article to add missing information and complete it.
Reason: Create template for calculating Max PP based on Base PP
{{{fname}}}
{{{ftrans}}}
Type  Glitch
Category  Status
PP  {{{basepp}}} (max. {{{maxpp}}})
Power  {{{power}}}
Accuracy  {{{accuracy}}}%
Priority  -
Range
Opponent Opponent
User Ally
Unknown range
Availability