User:Hanmac/Sandbox: Difference between revisions

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

Revision as of 17:49, 14 July 2009

50%
50%