Template:Item: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Adding currency parameters. Hopefully this works and won't break anything. (server included))
(for things with two sprites. Hope this works)
Line 7: Line 7:
{{#switch: {{{dispgen|IV}}}|I|II= |III|IV|V=
{{#switch: {{{dispgen|IV}}}|I|II= |III|IV|V=
{{{!}} align="center" style="{{roundy|24px}} background: #{{{{{bag|Unknown}}} color light}}; border: 1px solid #{{{{{bag|Unknown}}} color dark}}; width: 24px"
{{{!}} align="center" style="{{roundy|24px}} background: #{{{{{bag|Unknown}}} color light}}; border: 1px solid #{{{{{bag|Unknown}}} color dark}}; width: 24px"
{{!}} width="24px" style="{{roundy|24px}} background: #{{{{{bag|Unknown}}} color light}};" {{!}} {{#if: {{{art|}}}|[[File:{{{art}}}.png|24px]]|{{{{#if:{{{mdex|}}}|Md}}bag|{{{sprite|{{{name|Cancel}}}}}}}}}}
{{!}} width="24px" style="{{roundy|24px}} background: #{{{{{bag|Unknown}}} color light}};" {{!}} {{#if: {{{art|}}}|[[File:{{{art}}}.png|24px]]|{{{{#if:{{{mdex|}}}|Md}}bag|{{{sprite|{{{name|Cancel}}}}}}}}{{#if:{{{sprite2|}}}|{{{{#if:{{{mdex|}}}|Md}}bag|{{{sprite2|{{{name|Cancel}}}}}}}}}}}}
{{!}}}
{{!}}}
}}
}}

Revision as of 05:23, 18 September 2011