Template:Gamesprite/Pokéwalker: Difference between revisions

Use div-based design instead of table-based
mNo edit summary
(Use div-based design instead of table-based)
 
Line 1: Line 1:
{| style="width: 100%; border: 1px solid #C0C0C0; background-color:#FFFFCC; {{roundy|35px}}"
<div style="display: flex; width: 100%; border: 1px solid #C0C0C0; background-color:#FFFFCC; {{roundy|35px}}; padding: 2px; gap: 0.5em">
|-
<div style="height: 80px; width: 80px; {{roundy|74px}} background: #FF6464"><div style="display: grid; place-content: center; height: 100%;">[[File:Spr 4pw 249.png]]</div></div>
| align="center" style="height: 80px; width: 80px; {{roundy|74px}} background: #FF6464" | [[File:Spr 4pw 249.png]]
<div style="flex: 1; align-self: center">{{#switch: {{lc:{{{3|all}}}}}|male=Male|female=Female|Game}} sprite of #{{{1|000}}} {{p|{{{2|Unknown}}}}} {{#if:{{{form|}}}|({{{form|Unknown Form}}})}} from the {{bp|Pokéwalker}}</div>
| {{#switch: {{lc:{{{3|all}}}}}|male=Male|female=Female|Game}} sprite of #{{{1|000}}} {{p|{{{2|Unknown}}}}} {{#if:{{{form|}}}|({{{form|Unknown Form}}})}} from the {{bp|Pokéwalker}}
<div style="height: 80px; width: 80px; {{roundy|74px}} background: #EBEBEB"><div style="display: grid; place-content: center; height: 100%;">[[File:Spr 4pw 250.png]]</div></div>
| align="center" style="width: 80px; {{roundy|74px}} background: #EBEBEB" | [[File:Spr 4pw 250.png]]
</div><noinclude>[[Category:Sprite summary templates]]</noinclude><includeonly>[[Category:{{{2|Unknown}}}|*33]][[Category:Pokéwalker Pokémon sprites|{{{1|000}}}]]</includeonly>
|}<noinclude>[[Category:Sprite summary templates]]</noinclude><includeonly>[[Category:{{{2|Unknown}}}|*33]][[Category:Pokéwalker Pokémon sprites|{{{1|000}}}]]</includeonly>