Difference between revisions of "Template:Xkcd centurion"

From Geohashing
imported>Sparrohawc
(Undo revision 199207 by Sparrohawc (Talk))
imported>Sparrohawc
m (fixing more mistakes...)
Line 1: Line 1:
{{#vardefine:name|Centurion}}{{vardefine:iconSuffix|}}<includeonly>{{#vardefine:tens|{{#expr:({{{count}}} - {{{count}}} mod 10)/10}}}}{{#ifeq:{{#var:tens}}|9|{{#vardefine:name|Nonaginturion}}{{#vardefine:icon|Centurion9.png}}}}{{#ifeq:{{#var:tens}}|8|{{#vardefine:name|Octaginturion}}{{#vardefine:icon|Centurion8.png}}}}{{#ifeq:{{#var:tens}}|7|{{#vardefine:name|Septaginturion}}{{#vardefine:icon|Centurion7.png}}}}{{#ifeq:{{#var:tens}}|6|{{#vardefine:name|Sextaginturion}}{{#vardefine:icon|Centurion6.png}}}}{{#ifeq:{{#var:tens}}|5|{{#vardefine:name|Quinquaginturion}}{{#vardefine:icon|Centurion5.png}}}}{{#ifeq:{{#var:tens}}|4|{{#vardefine:name|Quatraginturion}}{{#vardefine:icon|Centurion4.png}}}}{{#ifeq:{{#var:tens}}|3|{{#vardefine:name|Triginturion}}{{#vardefine:icon|Centurion3.png}}}}{{#ifeq:{{#var:tens}}|2|{{#vardefine:name|Viginturion}}{{#vardefine:icon|Centurion2.png}}}}{{#ifeq:{{#var:tens}}|1|{{#vardefine:name|Decurion}}{{#vardefine:icon|Centurion1.png}}}}{{#ifeq:{{#var:tens}}|0|{{#vardefine:name|Nullaturion}}{{#vardefine:icon|Centurion0.png}}}}</includeonly>{{Ribbon
+
{{#vardefine:name|Centurion}}{{#vardefine:icon|Centurion.png}}<includeonly>{{#vardefine:tens|{{#expr:({{{count}}} - {{{count}}} mod 10)/10}}}}{{#ifeq:{{#var:tens}}|9|{{#vardefine:name|Nonaginturion}}{{#vardefine:icon|Centurion9.png}}}}{{#ifeq:{{#var:tens}}|8|{{#vardefine:name|Octaginturion}}{{#vardefine:icon|Centurion8.png}}}}{{#ifeq:{{#var:tens}}|7|{{#vardefine:name|Septaginturion}}{{#vardefine:icon|Centurion7.png}}}}{{#ifeq:{{#var:tens}}|6|{{#vardefine:name|Sextaginturion}}{{#vardefine:icon|Centurion6.png}}}}{{#ifeq:{{#var:tens}}|5|{{#vardefine:name|Quinquaginturion}}{{#vardefine:icon|Centurion5.png}}}}{{#ifeq:{{#var:tens}}|4|{{#vardefine:name|Quatraginturion}}{{#vardefine:icon|Centurion4.png}}}}{{#ifeq:{{#var:tens}}|3|{{#vardefine:name|Triginturion}}{{#vardefine:icon|Centurion3.png}}}}{{#ifeq:{{#var:tens}}|2|{{#vardefine:name|Viginturion}}{{#vardefine:icon|Centurion2.png}}}}{{#ifeq:{{#var:tens}}|1|{{#vardefine:name|Decurion}}{{#vardefine:icon|Centurion1.png}}}}{{#ifeq:{{#var:tens}}|0|{{#vardefine:name|Nullaturion}}{{#vardefine:icon|Centurion0.png}}}}</includeonly>{{Ribbon
 
| color    = purple
 
| color    = purple
 
| icon    = {{{icon|}}}
 
| icon    = {{{icon|}}}

Revision as of 23:41, 14 January 2010

[[Image:|44px]]
This user earned the xkcd Centurion achievement
by attending {{{count}}} Saturday meetups.

How to use this template:

{{XKCD Centurion

| count = count (number of Saturday meetings attended)
| name = name of achiever (optional)
| image = image name (optional)

}}

The image name should not include 'Image:' or surrounding braces.

Examples:

{{xkcd centurion
| count = 100
| name = Romulus Rebus
}}

appears as:

Centurion.png
Romulus Rebus earned the xkcd Centurion achievement
by attending 100 Saturday meetups.

{{xkcd centurion
| count = 50
| name = Romulus Rebus
}}

appears as:

Centurion5.png
Romulus Rebus earned the xkcd Quinquaginturion achievement
by attending 50 Saturday meetups.

{{xkcd centurion
| count = 15
| name = Romulus Rebus
}}

appears as:

Centurion1.png
Romulus Rebus earned the xkcd Decurion achievement
by attending 15 Saturday meetups.