Template:MSP/GO: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m
i think I finally solved the slight misalignment issue
(Undo revision 3258352 by Spriteit (talk) that space is necessary. for whatever reason, the icons won't align within tables otherwise)
m (i think I finally solved the slight misalignment issue)
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|{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px|link=Shiny Pokémon (GO)|Shiny]]}}</span><span style="text-align:left; vertical-align:bottom; position:absolute; left:0; bottom:0;">{{#ifeq: {{{shadow|no}}}|yes|[[File:GO Shadow icon.png|{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px|link=Shadow Pokémon (GO)|Shadow]]|{{#ifeq: {{{purified|no}}}|yes|[[File:GO Purified icon.png|{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px|link=Shadow Pokémon (GO)|Purified]]}}}}</span></span><noinclude>
<span style="position:relative; width:{{{size|60}}}px">
[[Image:GO{{{1|000}}}.png|{{{size|60}}}px|link={{{2|Missingno.}}} (Pokémon)#Pokémon GO|{{{2|Missingno.}}} {{#if: {{{3|}}}|({{{3|}}})}}]]
<span style="position:absolute; left:0px; top:-{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px">{{#ifeq: {{{shiny|no}}}|yes|[[File:ShinyGOStar.png|{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px|link=Shiny Pokémon (GO)|Shiny]]}}</span>
<span style="position:absolute; left:0px; top:{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px">{{#ifeq: {{{shadow|no}}}|yes|[[File:GO Shadow icon.png|{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px|link=Shadow Pokémon (GO)|Shadow]]|{{#ifeq: {{{purified|no}}}|yes|[[File:GO Purified icon.png|{{#expr: floor({{#iferror: {{#expr: {{{size|60}}}/3}}|20|{{#expr: {{{size|60}}}/3}}}})}}px|link=Shadow Pokémon (GO)|Purified]]}}}}</span></span><noinclude>
[[Category:Link templates]]</noinclude>
[[Category:Link templates]]</noinclude>

Navigation menu