Template:Hexlist: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Modifying how the image is retrieved, so that Bag sprites can be resized) |
Tiddlywinks (talk | contribs) (MD item sprites need much more than this... Let's just give it a basic fallback) |
||
Line 3: | Line 3: | ||
|{{{3|0}}} | |{{{3|0}}} | ||
|0x{{{2|0000}}} | |0x{{{2|0000}}} | ||
{{#ifeq: {{{4|yes}}}|yes|{{!}} style="text-align:center" {{!}} [[File:{{#ifeq:{{{9|no}}}|yes|Held|Bag}} {{{6|{{{1|unknown}}}}}} Sprite.png|{{{6|{{{1|unknown}}}}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]}} | {{#ifeq: {{{4|yes}}}|yes|{{!}} style="text-align:center" {{!}}[[File:{{{sprite|{{#ifeq:{{{9|no}}}|yes|Held|Bag}} {{{6|{{{1|unknown}}}}}} Sprite}}}.png|{{{6|{{{1|unknown}}}}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]}} | ||
|{{#switch: {{{1|unknown}}}|Nothing|None|?|???|unknown={{{1|unknown}}}|[[{{{1|unknown}}}]]}}{{#switch: {{{5|All}}}|C={{tt|*|Exclusive to Crystal}}|FRLG={{tt|*|Exclusive to FireRed, LeafGreen, and Emerald}}|E={{tt|*|Exclusive to Emerald}}|DPPt={{tt|*|Exclusive to Diamond, Pearl, and Platinum}}|Pt={{tt|*|Exclusive to Platinum, HeartGold, and SoulSilver}}|HGSS={{tt|*|Exclusive to HeartGold and SoulSilver}}|BW={{tt|*|Exclusive to Black and White}}|B2W2={{tt|*|Exclusive to Black 2 and White 2}}|XY={{tt|*|Exclusive to X and Y}}|ORAS={{tt|*|Exclusive to Omega Ruby and Alpha Sapphire}}|SM={{tt|*|Exclusive to Sun and Moon}}|USUM={{tt|*|Exclusive to Ultra Sun and Ultra Moon}}|IoA={{tt|*|Version 1.2.0 onward}}|CT={{tt|*|Version 1.3.0 onward}}}}{{#ifeq: {{{8|yes}}}|yes|{{!}}{{!}} style="text-align:center" {{!}} [[File:Bag {{{7|Unknown}}} pocket icon.png|24px]] | |{{#switch: {{{1|unknown}}}|Nothing|None|?|???|unknown={{{1|unknown}}}|[[{{{1|unknown}}}]]}}{{#switch: {{{5|All}}}|C={{tt|*|Exclusive to Crystal}}|FRLG={{tt|*|Exclusive to FireRed, LeafGreen, and Emerald}}|E={{tt|*|Exclusive to Emerald}}|DPPt={{tt|*|Exclusive to Diamond, Pearl, and Platinum}}|Pt={{tt|*|Exclusive to Platinum, HeartGold, and SoulSilver}}|HGSS={{tt|*|Exclusive to HeartGold and SoulSilver}}|BW={{tt|*|Exclusive to Black and White}}|B2W2={{tt|*|Exclusive to Black 2 and White 2}}|XY={{tt|*|Exclusive to X and Y}}|ORAS={{tt|*|Exclusive to Omega Ruby and Alpha Sapphire}}|SM={{tt|*|Exclusive to Sun and Moon}}|USUM={{tt|*|Exclusive to Ultra Sun and Ultra Moon}}|IoA={{tt|*|Version 1.2.0 onward}}|CT={{tt|*|Version 1.3.0 onward}}}}{{#ifeq: {{{8|yes}}}|yes|{{!}}{{!}} style="text-align:center" {{!}} [[File:Bag {{{7|Unknown}}} pocket icon.png|24px]] | ||
{{!}}{{{7|Unknown}}} pocket}}<noinclude> | {{!}}{{{7|Unknown}}} pocket}}<noinclude> | ||
|}[[Category:Table templates]]</noinclude> | |}[[Category:Table templates]]</noinclude> |