User:Hanmac/Sandbox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<noinclude>{|
<noinclude>{|
</noinclude>
</noinclude>
|width=66%|{{#switch:{{{gendercode|127}}}|255|254|0=<div class="statbar" style="float:left;background:{{#switch:{{{gendercode|127}}}|255=#FFFFFF|254=#FF77DD|0=#3355FF}}; -moz-border-radius: 6px; -moz-border-radius: 6px; width: 98%; height: 10px; border: 0.5px solid black; overflow: hidden;"></div>
|width=66%|{{#switch:{{{gendercode|127}}}|255|254|0=<div class="statbar" style="float:left;background:{{#switch:{{{gendercode|127}}}|255=#FFFFFF|254=#FF77DD|0=#3355FF}}; -moz-border-radius: 6px; -moz-border-radius: 6px; width: 97.5%; height: 10px; border: 0.5px solid black; overflow: hidden;"></div>
|#default=<div class="statbar" style="float:left;background:#3355FF; -moz-border-radius-topleft: 6px; -moz-border-radius-bottomleft: 6px; width: {{#expr:{{#switch: {{{gendercode|127}}}|255=1|254=1|223=12.5|191=25|127=50|63=75|31=87.5|0=98}}-1.5}}%; height: 10px; border: 0.5px solid black; border-right-width:0px; overflow: hidden;"></div><div class="statbar" style="float:{{#ifeq:{{{gendercode|0}}}|255|right|left}};background:#FF77DD; -moz-border-radius-topright: 6px; -moz-border-radius-bottomright: 6px; width: {{#expr: 98.5 - {{#switch: {{{gendercode|127}}}|255=99|254=2|223=12.5|191=25|127=50|63=75|31=87.5|0=99}}}}%; height: 10px; border: 0.5px solid black; overflow: hidden;border-left-width:0px;"></div>}}
|#default=<div class="statbar" style="float:left;background:#3355FF; -moz-border-radius-topleft: 6px; -moz-border-radius-bottomleft: 6px; width: {{#expr:{{#switch: {{{gendercode|127}}}|255=1|254=1|223=12.5|191=25|127=50|63=75|31=87.5|0=98}}-1.5}}%; height: 10px; border: 0.5px solid black; border-right-width:0px; overflow: hidden;"></div><div class="statbar" style="float:{{#ifeq:{{{gendercode|0}}}|255|right|left}};background:#FF77DD; -moz-border-radius-topright: 6px; -moz-border-radius-bottomright: 6px; width: {{#expr: 98.5 - {{#switch: {{{gendercode|127}}}|255=99|254=2|223=12.5|191=25|127=50|63=75|31=87.5|0=99}}}}%; height: 10px; border: 0.5px solid black; overflow: hidden;border-left-width:0px;"></div>}}
| style="text-align:right" |{{#switch: {{{gendercode|127}}}|255|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}%{{male}} <br/> {{#expr: 100 - {{#switch: {{{gendercode|127}}}|255=100|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}}}%{{female}}
| style="text-align:right" |{{#switch: {{{gendercode|127}}}|255|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}%{{male}} <br/> {{#expr: 100 - {{#switch: {{{gendercode|127}}}|255=100|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}}}%{{female}}
<noinclude>|}</noinclude>
<noinclude>|}</noinclude>

Latest revision as of 17:58, 14 July 2009

50%
50%