Template:PartyPoké: Difference between revisions

Implementing overflow-ms
(Decoupling the shiny star from {{{2}}})
(Implementing overflow-ms)
Line 1: Line 1:
{| width="100%" align="center" style="{{roundy|32px}} background: #{{{{{5|{{{6|electric}}}}}} color}}; border: 1px solid #{{{{{6|{{{5|electric}}}}}} color dark}};"
<div style="{{roundy|48px}} background: #{{{{{5|{{{6|electric}}}}}} color}}; border: 1px solid #{{{{{6|{{{5|electric}}}}}} color dark}}; padding: 3px">
| width="32px" align="center" style="background:#{{{{{5|electric}}} color light}}; border: 2px solid #{{{{{6|{{{5|electric}}}}}} color dark}}; {{roundy|32px}}" | {{MS|{{{1|025}}}{{{2|}}}}}
<div style="display:grid; grid-template-columns: auto 1fr>
| align="center" | [[{{#switch: {{{link|}}}|no={{{4|Pikachu}}} (Pokémon)|section={{{3|Ash}}}#{{{nick|{{{4|Pikachu}}}}}}|{{{link|{{{nick|{{{3|Ash}}}'s {{{4|Pikachu}}}}}}}}}}}|{{color|000|{{{nick|{{{4|Pikachu}}}}}}}}]]&nbsp;{{#ifeq: {{{shiny|}}}|yes|{{shinystar}}}}
<div style="{{roundy|48px}}; background: #{{{{{5|electric}}} color light}}; border: 2px solid #{{{{{6|{{{5|electric}}}}}} color dark}}"><div class="overflow-ms">{{MS|{{{1|025}}}{{{2|}}}}}</div></div>
|}<noinclude>[[Category:Trainer's Pokémon templates|*Party]]</noinclude>
<div style="place-self:center; text-align:center">[[{{#switch: {{{link|}}}|no={{{4|Pikachu}}} (Pokémon)|section={{{3|Ash}}}#{{{nick|{{{4|Pikachu}}}}}}|{{{link|{{{nick|{{{3|Ash}}}'s {{{4|Pikachu}}}}}}}}}}}|{{color|000|{{{nick|{{{4|Pikachu}}}}}}}}]]&nbsp;{{#ifeq: {{{shiny|}}}|yes|{{shinystar}}}}</div>
</div>
</div><noinclude>[[Category:Trainer's Pokémon templates|*Party]]</noinclude>