Template:MoveInfobox: Difference between revisions
mNo edit summary |
mNo 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: #EEE; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|5px}}" | <div style="text-align:center | | 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%; table-layout: auto" | {| style="background: transparent; width: 100%; table-layout: auto; margin: auto" | ||
|- | |- | ||
! width="30%" style="background: #CCC; border: 1px solid #000; {{roundedtl|5px}}" | {{TransLink|Type|{{Color|000|Type}}}} | ! width="30%" style="background: #CCC; border: 1px solid #000; {{roundedtl|5px}}" | {{TransLink|Type|{{Color|000|Type}}}} | ||
Line 27: | Line 27: | ||
|} | |} | ||
|- | |- | ||
| style="text-align:center | | 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%; table-layout: auto" | {{{!}} style="background: transparent; width: 100%; table-layout: auto; margin: auto" | ||
{{!}}- | {{!}}- | ||
{{!}} 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}}; {{roundedtl|3px}} border: 1px solid #000" {{!}} <small>Opponent</small> | ||
Line 39: | Line 39: | ||
|} | |} | ||
|- | |- | ||
| style="background: #EEE; border: 1px solid #{{#invoke:Color|color|{{lc:{{{type|Glitch}}}}}|color}}; {{rounded|5px}}" | <div style="text-align:center | | 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" | {| style="background: transparent; width: 100%; table-layout: auto; margin: auto" | ||
|- | |- | ||
| 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="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> |