10,045
edits
(adding "how" fields- mainly for collection challenge, but can be repurposed for anything) |
(added field for adding Lucky background) |
||
Line 1: | Line 1: | ||
<span style="position:relative; width:{{{size|60}}}px; height:{{{size|60}}}px; display:inline-block"><span style="position:relative; left:0; top:0;">[[Image:GO{{{1|000}}}.png|{{{size|60}}}px|link={{{2|Missingno.}}} (Pokémon)#Pokémon GO|{{{2|Missingno.}}} {{#if: {{{3|}}}|({{{3|}}})}}]]</span><span style="text-align:left; vertical-align:top; position:absolute; left:0; top:0;">{{#ifeq: {{{shiny|no}}}|yes|[[File:ShinyGOStar.png|{{#iferror: {{#expr: floor({{{size|60}}}/3)}}|20}}px|link=Shiny Pokémon (GO)|Shiny]]}}</span><span style="text-align:left; vertical-align:bottom; position:absolute; left:0; bottom:0;">{{#if: {{{how|}}}{{{how-image|}}}|[[File:{{#switch:{{{how|}}}|trade=GO Traded icon.png|event=GO Event icon.png|evolve=GO Evolution icon.png|egg=GO Hatched icon.png|mega=GO Mega icon.png|{{{how-image|None.png}}}}}|{{#iferror: {{#expr: floor({{{size|60}}}/3)}}|20}}px|link={{#switch:{{{how|}}}|trade=Trade#Pokémon GO|event=Form differences in Pokémon GO#Event Pokémon|egg=List of Eggs in Pokémon GO|evolve=Evolution#Pokémon GO|mega=Mega Evolution (GO)|{{{how-link|}}}}}]]|{{#ifeq: {{{shadow|no}}}|yes|[[File:GO Shadow icon.png|{{#iferror: {{#expr: floor({{{size|60}}}/3)}}|20}}px|link=Shadow Pokémon (GO)|Shadow]]|{{#ifeq: {{{purified|no}}}|yes|[[File:GO Purified icon.png|{{#iferror: {{#expr: floor({{{size|60}}}/3}})|20}}px|link=Shadow Pokémon (GO)|Purified]]}}}}}}</span></span><noinclude> | <span style="position:relative; width:{{{size|60}}}px; height:{{{size|60}}}px; display:inline-block">{{#ifeq: {{{lucky|no}}}|yes|<span style="position:absolute; left:0; top:0;">[[Image:GO Lucky background.png|{{{size|60}}}px|link=]]</span>}}<span style="position:relative; left:0; top:0;">[[Image:GO{{{1|000}}}.png|{{{size|60}}}px|link={{{2|Missingno.}}} (Pokémon)#Pokémon GO|{{{2|Missingno.}}} {{#if: {{{3|}}}|({{{3|}}})}}]]</span><span style="text-align:left; vertical-align:top; position:absolute; left:0; top:0;">{{#ifeq: {{{shiny|no}}}|yes|[[File:ShinyGOStar.png|{{#iferror: {{#expr: floor({{{size|60}}}/3)}}|20}}px|link=Shiny Pokémon (GO)|Shiny]]}}</span><span style="text-align:left; vertical-align:bottom; position:absolute; left:0; bottom:0;">{{#if: {{{how|}}}{{{how-image|}}}|[[File:{{#switch:{{{how|}}}|trade=GO Traded icon.png|event=GO Event icon.png|evolve=GO Evolution icon.png|egg=GO Hatched icon.png|mega=GO Mega icon.png|{{{how-image|None.png}}}}}|{{#iferror: {{#expr: floor({{{size|60}}}/3)}}|20}}px|link={{#switch:{{{how|}}}|trade=Trade#Pokémon GO|event=Form differences in Pokémon GO#Event Pokémon|egg=List of Eggs in Pokémon GO|evolve=Evolution#Pokémon GO|mega=Mega Evolution (GO)|{{{how-link|}}}}}]]|{{#ifeq: {{{shadow|no}}}|yes|[[File:GO Shadow icon.png|{{#iferror: {{#expr: floor({{{size|60}}}/3)}}|20}}px|link=Shadow Pokémon (GO)|Shadow]]|{{#ifeq: {{{purified|no}}}|yes|[[File:GO Purified icon.png|{{#iferror: {{#expr: floor({{{size|60}}}/3}})|20}}px|link=Shadow Pokémon (GO)|Purified]]}}}}}}</span></span><noinclude> | ||
[[Category:Link templates]]</noinclude> | [[Category:Link templates]]</noinclude> |