Template:MoveInfobox: Difference between revisions

m
fixing redirecting links, and tweaking the Priority section to not break when used with numbers greater then numbers.
m (everybody needs priorities.)
m (fixing redirecting links, and tweaking the Priority section to not break when used with numbers greater then numbers.)
Line 7: Line 7:
| {{#if: {{{gameimage|}}} | [[Image:{{{gameimage}}}|{{{gameimagewidth|240px}}}|center]] }}
| {{#if: {{{gameimage|}}} | [[Image:{{{gameimage}}}|{{{gameimagewidth|240px}}}|center]] }}
|-
|-
| style="background: #999999; border: 1px solid #{{{{{type|???}}} color}}; -moz-border-radius: 10px;" align="center" | '''[[Pokémon battles|Battles]]'''
| style="background: #999999; border: 1px solid #{{{{{type|???}}} color}}; -moz-border-radius: 10px;" align="center" | '''[[Pokémon battle|Battles]]'''
{| align="center" style="background: transparent;" width="100%"
{| align="center" style="background: transparent;" width="100%"
|-
|-
Line 24: Line 24:
! [[Accuracy]]
! [[Accuracy]]
|  {{{accuracy}}}%
|  {{{accuracy}}}%
|- style="background: #FFFFFF; {{#ifexpr: {{{priority|0}}} = 0|display: none;}}"
|-{{#ifexpr: {{{priority|0}}} = 0| style="display: none;"}}
! [[Priority]]
! style="background: #FFFFFF;" | [[Priority]]
|  {{{priority}}}
| style="background: #FFFFFF;" |  {{{priority}}}
|-
|-
| style="background: #FFFFFF; font-size: 0.90em; -moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px;" colspan="2" |  
| style="background: #FFFFFF; font-size: 0.90em; -moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px;" colspan="2" |  
Line 61: Line 61:
|}
|}
|- style="{{#ifexpr: {{{n}}} >= 355 | display: none; }}"
|- style="{{#ifexpr: {{{n}}} >= 355 | display: none; }}"
| style="background: #FFCCCC; border: 1px solid #{{{{{type|???}}} color}}; -moz-border-radius: 10px;" align="center" | '''[[Pokémon Contests|Contests]]'''
| style="background: #FFCCCC; border: 1px solid #{{{{{type|???}}} color}}; -moz-border-radius: 10px;" align="center" | '''[[Pokémon Contest|Contests]]'''
{| align="center" style="background: transparent;" width="100%"
{| align="center" style="background: transparent;" width="100%"
|-
|-
2,743

edits