Template:User Grade: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(new template)
 
m (We only need ONE tag for this sort of thing, not one for each grade)
Line 1: Line 1:
{| class="userboxitem" style="border: 1px solid #000;" cellspacing="0" cellpadding="0"
{| class="userboxitem" style="border: 1px solid #000;" cellspacing="0" cellpadding="0"
! style="background: #000; color: #999;" |4th
! style="background: #000; color: #999;" |{{#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;" | This user's in [[wp:4(number)|Fourth]] Grade
| style="background: #000; color: #999;" | This user's in [[wp:{{{1}}} (number)|{{#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>[[Category:Other tags]]</noinclude>
|}<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:
 
<nowiki>{{User Grade|8}}</nowiki>
 
And it would look like this:
 
{{User Grade|8}}
[[Category:Other tags]]</noinclude>

Revision as of 21:51, 17 September 2008

th This user's in [[wp:{{{1}}} (number)|th]] Grade

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:

{{User Grade|8}}

And it would look like this:

th This user's in th Grade