Template:Pokémon/2: Difference between revisions

m
more mobile adjustments
(adding margin auto to move boxes)
Tags: Mobile edit Mobile web edit
m (more mobile adjustments)
 
Line 1: Line 1:
{| class="roundy" width="250px" style="margin:inherit; background: #{{{{{type1|Unknown}}} color light}}; border: 3px solid #{{ {{#ifeq: {{{type2|Unknown}}}|Unknown|{{{type1|Unknown}}} color dark|{{{type2|Unknown}}} color dark}} }};"
{| class="roundy" width="250px" style="margin:inherit; background: #{{{{{type1|Unknown}}} color light}}; border: 3px solid #{{ {{#ifeq: {{{type2|Unknown}}}|Unknown|{{{type1|Unknown}}} color dark|{{{type2|Unknown}}} color dark}} }}; border-collapse: separate;"
|-
|-
| width="50%" |  
| width="50%" |  
<center>
{| class="roundy" style="margin:auto; background: #FFF;"
{| class="roundy" style="margin:auto; background: #FFF;"
|-
|-
| [[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq:{{{back|no}}}|yes|b_2{{#switch: {{{game|Gold and Silver}}}|Gold and Silver|Gold|Silver=g|Crystal=c}}|2{{#switch: {{{game|Gold and Silver}}}|Gold and Silver={{#switch: {{#expr: {{#time:z}} mod 2}}|0=g|1=s}}|Gold=g|Silver=s|Crystal=c}}}}}}_{{{ndex|000}}}{{#ifeq: {{{spritegender|none}}}|shiny|_s}}.png]]
| [[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq:{{{back|no}}}|yes|b_2{{#switch: {{{game|Gold and Silver}}}|Gold and Silver|Gold|Silver=g|Crystal=c}}|2{{#switch: {{{game|Gold and Silver}}}|Gold and Silver={{#switch: {{#expr: {{#time:z}} mod 2}}|0=g|1=s}}|Gold=g|Silver=s|Crystal=c}}}}}}_{{{ndex|000}}}{{#ifeq: {{{spritegender|none}}}|shiny|_s}}.png]]
|}
|}
</center>
| rowspan="2" width="50%" |  
| rowspan="2" width="50%" |  
<center>
{| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse;"
{| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse;"
|-  
|-  
Line 20: Line 23:
| style="text-align: center;" | {{#if: {{{held|}}}|[[{{{held}}}|<span style="color:#000;">{{{held}}}</span>]]|None}}
| style="text-align: center;" | {{#if: {{{held|}}}|[[{{{held}}}|<span style="color:#000;">{{{held}}}</span>]]|None}}
|}
|}
</center>
|-
|-
| class="roundy" style="margin:auto; text-align: center; background: #FFF;" | [[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]]{{#switch: {{{pokemon|Missingno.}}}|Nidoran♀|Nidoran♂=|{{#switch: {{{gender|none}}}|male|♂=<span style="color:#0000FF;">♂</span>|female|♀=<span style="color:#FF6060;">♀</span>|both=<span style="color:#0000FF;">♂</span>/<span style="color:#FF6060;">♀</span>}}}}&nbsp;<small>Lv.</small>{{{level|0}}}{{#switch: {{{spritegender|}}}|shiny|male shiny|female shiny=[[File:ShinyIIStars.png]]}}
| class="roundy" style="margin:auto; text-align: center; background: #FFF;" | [[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]]{{#switch: {{{pokemon|Missingno.}}}|Nidoran♀|Nidoran♂=|{{#switch: {{{gender|none}}}|male|♂=<span style="color:#0000FF;">♂</span>|female|♀=<span style="color:#FF6060;">♀</span>|both=<span style="color:#0000FF;">♂</span>/<span style="color:#FF6060;">♀</span>}}}}&nbsp;<small>Lv.</small>{{{level|0}}}{{#switch: {{{spritegender|}}}|shiny|male shiny|female shiny=[[File:ShinyIIStars.png]]}}
|-
|-
| class="roundy" colspan="2" style="background: #FFF;" |  
| class="roundy" colspan="2" style="background: #FFF;" |  
{| class="roundy" width="100%" style="margin:auto; background: #FFF;"
{| class="roundy" width="100%" style="margin:auto; background: #FFF; border-collapse: separate;"
|-
|-
| class="roundy" width="50%" style="background: #{{{{{move1type|Unknown}}} color dark}}; border: 2px solid #{{{{{move1type|Unknown}}} color dark}}" |  
| class="roundy" width="50%" style="background: #{{{{{move1type|Unknown}}} color dark}}; border: 2px solid #{{{{{move1type|Unknown}}} color dark}}" |