Template:MoveInfobox: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
| 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|Battles}}'''</div> | ||
{| style="background: transparent" width="100%" | {| style="background: transparent" width="100%" | ||
|- | |- | ||
! width="35%" style="background: # | ! width="35%" style="background: #CCC; border: 1px solid #000; {{roundedleft|5px}}" | {{TransLink|Type|Type}} | ||
| style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid # | | style="background: #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; border: 1px solid #000; {{roundedright|5px}}" | {{TransLink|{{{type|Glitch}}} (type)|{{Color|FFF|'''{{{type|Glitch}}}'''}}}} | ||
|- | |- | ||
! style="background: # | ! style="background: #CCC; border: 1px solid #000; {{roundedleft|5px}}" | {{TransLink|Damage category|Category}} | ||
| style="background: #{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|color}}; border: 1px solid # | | style="background: #{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|color}}; border: 1px solid #000; {{roundedright|5px}}" | {{TransLink|{{{category|Status}}} move|{{Color|{{#invoke:Color|color|{{lc:{{{category|Status}}}}}|text}}|{{{category|Status}}}}}}} | ||
|- | |- | ||
! style="background: # | ! style="background: #CCC; border: 1px solid #000; {{roundedtl|5px}}" | {{TransLink|PP|PP}} | ||
| style="background: #FFF; {{roundedtr|5px}}" | {{{basepp}}} <small>(max. {{{maxpp}}})</small> | | style="background: #FFF; border: 1px solid #000; {{roundedtr|5px}}" | {{{basepp}}} <small>(max. {{{maxpp}}})</small> | ||
|- | |- | ||
! style="background: #FFF; {{roundedbl|5px}}" | {{TransLink|Accuracy|Accuracy}} | ! style="background: #CCC; border: 1px solid #000" | {{TransLink|Power|Power}} | ||
| style="background: #FFF; {{roundedbr|5px}}" | {{{accuracy}}}% | | style="background: #FFF; border: 1px solid #000" | {{{power}}} | ||
|- | |||
! style="background: #CCC; border: 1px solid #000; {{roundedbl|5px}}" | {{TransLink|Accuracy|Accuracy}} | |||
| style="background: #FFF; border: 1px solid #000; {{roundedbr|5px}}" | {{{accuracy}}}% | |||
|- {{#ifeq:{{{priority|-}}}|-|style="display: none"}} | |- {{#ifeq:{{{priority|-}}}|-|style="display: none"}} | ||
! style="background: # | ! style="background: #CCC; border: 1px solid #000" | {{TransLink|Priority|Priority}} | ||
| style="background: #FFF" | {{{priority|-}}} | | style="background: #FFF; border: 1px solid #000" | {{{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|Range}}''' | ||
{{{!}} style="background: transparent" width="100%" | {{{!}} style="background: transparent" width="100%" | ||
{{!}}- | {{!}}- | ||
Line 39: | Line 39: | ||
|} | |} | ||
|- | |- | ||
| style="background: # | | 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%" | ||
|- | |- | ||
Line 45: | Line 45: | ||
|} | |} | ||
|- 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]] |