Template:MoveInfobox: Difference between revisions

No edit summary
mNo edit summary
 
(19 intermediate revisions by the same user not shown)
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: #EEE; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|5px}}" | <div style="text-align:center">'''{{TransLink|Pokehero battle|{{Color|000|Battles}}}}'''</div>
{| style="background: transparent" width="100%"
{| style="background: transparent; width: 100%; table-layout: auto;"
|-
|-
! width="35%" style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #FFF; {{roundedleft|10px}}" | {{TransLink|Type|{{Color|FFF|Type}}}}
! width="30%" style="background: #CCC; border: 1px solid #000; {{roundedtl|5px}}" | {{TransLink|Type|{{Color|000|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}}}'''}}}}
| width="70%" style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #000; {{roundedtr|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: #CCC; border: 1px solid #000" | {{TransLink|Move category|{{Color|000|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 #000" | &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: #CCC; border: 1px solid #000" | {{TransLink|PP|{{Color|000|PP}}}}
| style="background: #FFF; {{roundedtr|10px}}" | &nbsp;{{{basepp}}} <small>(max. {{{maxpp}}})</small>
| style="background: #FFF; border: 1px solid #000" | &nbsp;{{{basepp}}} <small>(max. {{{maxpp}}})</small>
|- style="background: #FFF"
! {{TransLink|Power|Power}}
| &nbsp;{{{power}}}
|-
|-
! style="background: #FFF; {{roundedbl|10px}}" | {{TransLink|Accuracy|Accuracy}}
! style="background: #CCC; border: 1px solid #000" | {{TransLink|Power|{{Color|000|Power}}}}
| style="background: #FFF; {{roundedbr|10px}}" | &nbsp;{{{accuracy}}}%
| style="background: #FFF; border: 1px solid #000" | &nbsp;{{{power}}}
|-
! style="background: #CCC; border: 1px solid #000; {{#ifeq:{{{priority|-}}}|-|{{roundedbl|5px}}}}" | {{TransLink|Accuracy|{{Color|000|Accuracy}}}}
| style="background: #FFF; border: 1px solid #000; {{#ifeq:{{{priority|-}}}|-|{{roundedbr|5px}}}}" | &nbsp;{{{accuracy}}}%
|- {{#ifeq:{{{priority|-}}}|-|style="display: none"}}
|- {{#ifeq:{{{priority|-}}}|-|style="display: none"}}
! style="background: #FFF" | {{TransLink|Priority|Priority}}
! style="background: #CCC; border: 1px solid #000; {{roundedbl|5px}}" | {{TransLink|Priority|{{Color|000|Priority}}}}
| style="background: #FFF" | &nbsp;{{{priority|-}}}
| style="background: #FFF; border: 1px solid #000; {{roundedbr|5px}}" | &nbsp;{{{priority|-}}}
|}
|}
|-
|-
| 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: #EEE; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|5px}}" | '''{{TransLink|Range|{{Color|000|Range}}}}'''
{{{!}} style="background: transparent" width="100%"
{{{!}} style="background: transparent; width: 100%; table-layout: auto;"
{{!}}-
{{!}}-
{{!}} style="background: #{{#switch: {{{target|}}}|Everyone|Everyone Else|All Enemies=ED1C24|Any Enemy=FFBF00|709AD1}}; {{rounded|3px}} border: 1px solid #000" {{!}} <small>Opponent</small>
{{!}} width="50%" style="background: #{{#switch: {{{target|}}}|Everyone|Everyone Else|All Enemies=ED1C24|Any Enemy=FFBF00|709AD1}}; {{roundedtl|3px}} border: 1px solid #000" {{!}} <small>Opponent</small>
{{!}} style="background: #{{#switch: {{{target|}}}|Everyone|Everyone Else|All Enemies=ED1C24|Any Enemy=FFBF00|709AD1}}; {{rounded|3px}} border: 1px solid #000" {{!}} <small>Opponent</small>
{{!}} width="50%" style="background: #{{#switch: {{{target|}}}|Everyone|Everyone Else|All Enemies=ED1C24|Any Enemy=FFBF00|709AD1}}; {{roundedtr|3px}} border: 1px solid #000" {{!}} <small>Opponent</small>
{{!}}-
{{!}}-
{{!}} style="background: #{{#switch: {{{target|}}}|Everyone|Self|All Allies=ED1C24|709AD1}}; {{rounded|3px}} border: 1px solid #000" {{!}} <small>User</small>
{{!}} style="background: #{{#switch: {{{target|}}}|Everyone|Self|All Allies=ED1C24|709AD1}}; {{roundedbl|3px}} border: 1px solid #000" {{!}} <small>User</small>
{{!}} style="background: #{{#switch: {{{target|}}}|Everyone|Everyone Else|All Allies|Ally=ED1C24|709AD1}}; {{rounded|3px}} border: 1px solid #000" {{!}} <small>Ally</small>
{{!}} style="background: #{{#switch: {{{target|}}}|Everyone|Everyone Else|All Allies|Ally=ED1C24|709AD1}}; {{roundedbr|3px}} border: 1px solid #000" {{!}} <small>Ally</small>
{{!}}- style="text-align:center"
{{!}}- style="text-align:center"
| colspan="3" style="background: #FFF; {{rounded|3px}}" | <small>{{#switch: {{{target|}}}|Ally=Affects the ally|Any Enemy=May affect any opponent|Everyone Else=Affects all Pokeheroes on the field except the user|All Enemies=Affects all opponents|All Allies=Affects the user and its ally|Self=Affects the user|Everyone=Affects all Pokeheroes on the field|Unknown range}}</small>
| colspan="3" style="background: #FFF; {{rounded|3px}}" | <small>{{#switch: {{{target|}}}|Ally=Affects the ally|Any Enemy=May affect any opponent|Everyone Else=Affects all Pokeheroes on the field except the user|All Enemies=Affects all opponents|All Allies=Affects the user and its ally|Self=Affects the user|Everyone=Affects all Pokeheroes on the field|Unknown range}}</small>
|}
|}
|-
|-
| style="background: #999; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|10px}}" | <div style="text-align:center">'''Availability'''</div>
| style="background: #EEE; 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%; table-layout: auto;"
|-
|-
| 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>
| width="100%" style="background: #FFF; {{rounded|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: #EEE; 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]]