Template:Pokémon/1: 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_g1|1{{#switch: {{{game|Red and Green}}}|Red and Green|Green=g|Red and Blue|Red={{#switch: {{#ifexpr: {{#time:z}} = {{#time:z|April 1}}}}|g|b}}|Blue=b|Yellow=y}}}}_}}{{{ndex|000}}}.png]]
| [[File:{{#ifeq: {{{game|Current}}}|Current||Spr_{{#ifeq:{{{back|no}}}|yes|b_g1|1{{#switch: {{{game|Red and Green}}}|Red and Green|Green=g|Red and Blue|Red={{#switch: {{#ifexpr: {{#time:z}} = {{#time:z|April 1}}}}|g|b}}|Blue=b|Yellow=y}}}}_}}{{{ndex|000}}}.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 14: Line 17:
| width="45px" style="{{#if: {{{type2|}}}||display: none;}}text-align: center; font-size: 85%; line-height:12px; background: #{{{{{type2|Unknown}}} color}}; {{roundy|2px}}" | [[{{{type2|Unknown}}} (type)|{{color|FFF|'''{{{type2|Unknown}}}'''}}]]
| width="45px" style="{{#if: {{{type2|}}}||display: none;}}text-align: center; font-size: 85%; line-height:12px; background: #{{{{{type2|Unknown}}} color}}; {{roundy|2px}}" | [[{{{type2|Unknown}}} (type)|{{color|FFF|'''{{{type2|Unknown}}}'''}}]]
|}
|}
</center>
|-
|-
| class="roundy" style="margin:auto; text-align: center; background: #FFF;" | [[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]]&nbsp;<small>Lv.</small>{{{level|0}}}
| class="roundy" style="margin:auto; text-align: center; background: #FFF;" | [[{{{pokemon|Missingno.}}} (Pokémon)|{{color|000|{{{nickname|{{{pokemon|Missingno.}}}}}}}}]]&nbsp;<small>Lv.</small>{{{level|0}}}
|-
|-
| 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}}" |