Template:User Grade: Difference between revisions

m
*sigh*
mNo edit summary
m (*sigh*)
Line 1: Line 1:
{| class="userboxitem" style="border: 1px solid #000;" {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" cellspacing="0" cellpadding="0"
{| class="userboxitem" style="border: 1px solid #000; background: #000; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" cellspacing="0" cellpadding="0"
! style="background: #000; color: #999; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" |{{{1|4}}}{{#switch: {{#expr: {{{1|99}}} mod 100}}|1|21|31|41|51|61|71|81|91=st|2|22|32|42|52|62|72|82|92=nd|3|23|33|43|53|63|73|83|93=rd|th}}
! style="background: #000; color: #999; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" |{{{1|4}}}{{#switch: {{#expr: {{{1|99}}} mod 100}}|1|21|31|41|51|61|71|81|91=st|2|22|32|42|52|62|72|82|92=nd|3|23|33|43|53|63|73|83|93=rd|th}}
| style="background: #000; color: #999; {{#switch:{{{moz|yes}}}|yes=-moz-border-radius: 60px;|no=}}" | This user is in [[wp:{{{1|4}}} (number)|{{{1|4}}}{{#switch: {{#expr: {{{1|99}}} mod 100}}|1|21|31|41|51|61|71|81|91=st|2|22|32|42|52|62|72|82|92=nd|3|23|33|43|53|63|73|83|93=rd|th}}]] grade.
| style="color: #999;" | This user is in [[wp:{{{1|4}}} (number)|{{{1|4}}}{{#switch: {{#expr: {{{1|99}}} mod 100}}|1|21|31|41|51|61|71|81|91=st|2|22|32|42|52|62|72|82|92=nd|3|23|33|43|53|63|73|83|93=rd|th}}]] grade.
|}<noinclude>'''How to use:'''
|}<noinclude>'''How to use:'''
To reflect the grade correctly, simply put down the number of the grade. For example, if the user were in 8th grade, put down:
To reflect the grade correctly, simply put down the number of the grade. For example, if the user were in 8th grade, put down:


<nowiki>{{User Grade|8}}</nowiki>
<nowiki>{{User Grade|8}}</nowiki>