Template:MoveInfobox: Difference between revisions
No edit summary |
mNo edit summary |
||
(22 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| | <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: # | | 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 | {| style="background: transparent; width: 100%; table-layout: auto;" | ||
|- | |- | ||
! width=" | ! 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 # | | width="70%" style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #000; {{roundedtr|5px}}" | {{TransLink|{{{type|Glitch}}} (type)|{{Color|FFF|'''{{{type|Glitch}}}'''}}}} | ||
|- | |- | ||
! style="background: # | ! style="background: #CCC; border: 1px solid #000" | {{TransLink|Move category|{{Color|000|Category}}}} | ||
| style="background: #{{#invoke:Color|color|{{lc:{{{category}}}}}|color}}; border: 1px solid # | | style="background: #{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|color}}; border: 1px solid #000" | {{TransLink|{{{category|Status}}} move|{{Color|{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|text}}|{{{category|Status}}}}}}} | ||
|- | |- | ||
! style="background: # | ! style="background: #CCC; border: 1px solid #000" | {{TransLink|PP|{{Color|000|PP}}}} | ||
| style="background: #FFF; | | style="background: #FFF; border: 1px solid #000" | {{{basepp}}} <small>(max. {{{maxpp}}})</small> | ||
|- style="background: # | |- | ||
! style="background: #CCC; border: 1px solid #000" | {{TransLink|Power|{{Color|000|Power}}}} | |||
| {{{power}}} | | style="background: #FFF; border: 1px solid #000" | {{{power}}} | ||
|- style="background: # | |- | ||
! style="background: #CCC; border: 1px solid #000; {{#ifeq:{{{priority|-}}}|-|{{roundedbl|5px}}}}" | {{TransLink|Accuracy|{{Color|000|Accuracy}}}} | |||
| {{{accuracy}}}% | | style="background: #FFF; border: 1px solid #000; {{#ifeq:{{{priority|-}}}|-|{{roundedbr|5px}}}}" | {{{accuracy}}}% | ||
|-{{#ifeq:{{{priority|-}}}|-| style="display: none"}} | |- {{#ifeq:{{{priority|-}}}|-|style="display: none"}} | ||
! style="background: # | ! style="background: #CCC; border: 1px solid #000; {{roundedbl|5px}}" | {{TransLink|Priority|{{Color|000|Priority}}}} | ||
| style="background: #FFF" | {{{priority|-}}} | | style="background: #FFF; border: 1px solid #000; {{roundedbr|5px}}" | {{{priority|-}}} | ||
|} | |} | ||
|- | |- | ||
| style="text-align:center; background: # | | 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 | {{{!}} style="background: transparent; width: 100%; table-layout: auto;" | ||
{{!}}- | {{!}}- | ||
{{!}} style="background: #{{#switch: {{{target|}}}|Everyone|Everyone Else|All Enemies=ED1C24|Any Enemy=FFBF00|709AD1}}; {{ | {{!}} 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}}; {{ | {{!}} 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}}; {{ | {{!}} 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}}; {{ | {{!}} 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: #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%; table-layout: auto;" | |||
|- | |||
| 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: # | | 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]] |