Template:MoveInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (fixing redirecting links, and tweaking the Priority section to not break when used with numbers greater then numbers.)
m (fixing an issue that caused a non-existant template to get linked to for Shadow moves, and adding a catch for uncategorized moves.)
Line 13: Line 13:
| style="background: #{{{{{type|???}}} color}}; border: 1px solid #FFFFFF; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;" | {{#switch: {{{type|???}}}|Shadow=[[Shadow move|<span style="color:#FFFFFF">&nbsp;'''Shadow'''</span>]]|[[{{{type|???}}} (type)|<span style="color:#FFFFFF">&nbsp;'''{{{type|???}}}'''</span>]]}}
| style="background: #{{{{{type|???}}} color}}; border: 1px solid #FFFFFF; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;" | {{#switch: {{{type|???}}}|Shadow=[[Shadow move|<span style="color:#FFFFFF">&nbsp;'''Shadow'''</span>]]|[[{{{type|???}}} (type)|<span style="color:#FFFFFF">&nbsp;'''{{{type|???}}}'''</span>]]}}
|- style="{{#ifexpr: {{{spm|0}}} = 1 | display: none; }};"  
|- style="{{#ifexpr: {{{spm|0}}} = 1 | display: none; }};"  
! style="background: #{{{{{damagecategory}}} color}}; border: 1px solid #FFFFFF; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomleft: 10px;" | <span style="color:#{{{{{damagecategory}}} textcolor}}">[[Damage category|<span style="color:#FFFFFF">Category</span>]]</span>
! style="background: #{{{{{damagecategory}}} color}}; border: 1px solid #FFFFFF; -moz-border-radius-topleft: 10px; -moz-border-radius-bottomleft: 10px;" | [[Damage category|<span style="color:#FFFFFF">Category</span>]]
| style="background: #{{{{{damagecategory}}} color}}; border: 1px solid #FFFFFF; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;" | {{#switch: {{{damagecategory|Uncategorized}}}|Uncategorized=<span style="color:#{{{{{damagecategory}}} textcolor}}">&nbsp;{{{damagecategory|Uncategorized}}}</span>|[[{{{damagecategory|Uncategorized}}} move|<span style="color:#{{{{{damagecategory}}} textcolor}}">&nbsp;{{{damagecategory|uncategorized}}}</span>]]}}
| style="background: #{{{{{damagecategory}}} color}}; border: 1px solid #FFFFFF; -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px;" | {{#switch: {{{damagecategory|Unategorized}}}|Uncategorized=&nbsp;''uncategorized''|{{#switch: {{{damagecategory}}}|Shadow=&nbsp;[[Shadow move]]|[[{{{damagecategory}}} move|<span style="color:#{{{{{damagecategory}}} textcolor}}">&nbsp;{{{damagecategory}}}</span>]]}}}}
|-
|-
! style="background: #FFFFFF; -moz-border-radius-topleft: 10px;" | {{PP}}
! style="background: #FFFFFF; -moz-border-radius-topleft: 10px;" | {{PP}}
Line 92: Line 92:
* [http://veekun.com/dex?entry=move{{{n}}} {{{name}}} on Eevee's Movedex] }}
* [http://veekun.com/dex?entry=move{{{n}}} {{{name}}} on Eevee's Movedex] }}
{{{footnotes|}}}
{{{footnotes|}}}
|} <includeonly>[[Category:Moves]] {{#switch: {{{type|???}}}|Shadow=[[Category:Shadow moves]]|[[Category:{{{type|???}}}-type moves]]}} [[Category:{{{category}}} moves]] [[Category:{{{damagecategory}}} moves]] [[Category:Generation {{{gen|unlisted}}} moves]] {{#if: {{{sound|}}} |{{#ifeq: {{{sound}}} | yes | [[Category:Sound moves]] }} }}</includeonly><noinclude>[[Category:Infobox templates]]</noinclude>
|} <includeonly>[[Category:Moves]] {{#switch: {{{type|???}}}|Shadow=[[Category:Shadow moves]]|[[Category:{{{type|???}}}-type moves]]}} [[Category:{{{category}}} moves]] [[Category:{{{damagecategory|Uncategorized}}} moves]] [[Category:Generation {{{gen|unlisted}}} moves]] {{#if: {{{sound|}}} |{{#ifeq: {{{sound}}} | yes | [[Category:Sound moves]] }} }}</includeonly><noinclude>[[Category:Infobox templates]]</noinclude>

Revision as of 15:09, 4 February 2009

{{{jname}}}
{{{jtrans}}}
{{{desc}}}
Battles
Type  ???
Category [[{{{damagecategory}}} move| {{{damagecategory}}}]]
PP  {{{basepp}}} (max. {{{maxpp}}})
Power  {{{power}}}
Accuracy  {{{accuracy}}}%
Priority  {{{priority}}}
Availability
Introduced  [[Generation {{{gen}}}]]
Contests
Category  [[{{{category}}} Contest|{{{category}}}]]
Appeal  0  
Jam  0  
Super Contests
Category  [[{{{category}}} Contest|{{{category}}}]]
Appeal  0