User:Hanmac/Sandbox: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:
{{!}} colspan=2 style="text-align:center" {{!}} {{#switch:{{{gendercode|127}}}|255 = Genderless |254= female only|0 = male only}}
{{!}} colspan=2 style="text-align:center" {{!}} {{#switch:{{{gendercode|127}}}|255 = Genderless |254= female only|0 = male only}}
|#default=
|#default=
{{!}}width=50%{{!}}<div class="statbar" style="float:left;background:#3355FF; -moz-border-radius-topleft: 6px; -moz-border-radius-bottomleft: 6px; width: {{#expr:{{#switch: {{{gendercode|127}}}|255=0|254=1|223=12.5|191=25|127=50|63=75|31=87.5|0=99}}-3}}%; height: 10px; border: 0.5px solid black; overflow: hidden;"></div><div class="statbar" style="float:left;background:#FF77DD; -moz-border-radius-topright: 6px; -moz-border-radius-bottomright: 6px; width: {{#expr: 97 - {{#switch: {{{gendercode|127}}}|255=0|254=1|223=12.5|191=25|127=50|63=75|31=87.5|0=99}}}}%; height: 10px; border: 0.5px solid black; overflow: hidden;"></div>
{{!}}width=50%{{!}}<div class="statbar" style="float:left;background:#3355FF; -moz-border-radius-topleft: 6px; -moz-border-radius-bottomleft: 6px; width: {{#expr:{{#switch: {{{gendercode|127}}}|255=0|254=1|223=12.5|191=25|127=50|63=75|31=87.5|0=99}}-3}}%; 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: 97 - {{#switch: {{{gendercode|127}}}|255=0|254=1|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>
{{!}} {{male}}{{#switch: {{{gendercode|127}}}|255=0|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}% : {{female}}{{#expr: 100 - {{#switch: {{{gendercode|127}}}|255=0|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}}}%
{{!}} {{male}}{{#switch: {{{gendercode|127}}}|255=0|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}% : {{female}}{{#expr: 100 - {{#switch: {{{gendercode|127}}}|255=0|254=0|223=12.5|191=25|127=50|63=75|31=87.5|0=100}}}}%
}}
}}
<noinclude>|}</noinclude>
<noinclude>|}</noinclude>
616

edits