Difference between revisions of "Template:Xkcd centurion"

From Geohashing
imported>ReletBot
m (mv template as per Naming conventions)
imported>Sparrohawc
(Changed the image to one I just made.)
Line 1: Line 1:
 
{{#vardefine:name|Centurion}}<includeonly>{{#vardefine:tens|{{#expr:({{{count}}} - {{{count}}} mod 10)/10}}}}{{#ifeq:{{#var:tens}}|9|{{#vardefine:name|Nonaginturion}}}}{{#ifeq:{{#var:tens}}|8|{{#vardefine:name|Octaginturion}}}}{{#ifeq:{{#var:tens}}|7|{{#vardefine:name|Septaginturion}}}}{{#ifeq:{{#var:tens}}|6|{{#vardefine:name|Sextaginturion}}}}{{#ifeq:{{#var:tens}}|5|{{#vardefine:name|Quinquaginturion}}}}{{#ifeq:{{#var:tens}}|4|{{#vardefine:name|Quatraginturion}}}}{{#ifeq:{{#var:tens}}|3|{{#vardefine:name|Triginturion}}}}{{#ifeq:{{#var:tens}}|2|{{#vardefine:name|Viginturion}}}}{{#ifeq:{{#var:tens}}|1|{{#vardefine:name|Decurion}}}}{{#ifeq:{{#var:tens}}|0|{{#vardefine:name|Nullaturion}}}}</includeonly>{{Ribbon
 
{{#vardefine:name|Centurion}}<includeonly>{{#vardefine:tens|{{#expr:({{{count}}} - {{{count}}} mod 10)/10}}}}{{#ifeq:{{#var:tens}}|9|{{#vardefine:name|Nonaginturion}}}}{{#ifeq:{{#var:tens}}|8|{{#vardefine:name|Octaginturion}}}}{{#ifeq:{{#var:tens}}|7|{{#vardefine:name|Septaginturion}}}}{{#ifeq:{{#var:tens}}|6|{{#vardefine:name|Sextaginturion}}}}{{#ifeq:{{#var:tens}}|5|{{#vardefine:name|Quinquaginturion}}}}{{#ifeq:{{#var:tens}}|4|{{#vardefine:name|Quatraginturion}}}}{{#ifeq:{{#var:tens}}|3|{{#vardefine:name|Triginturion}}}}{{#ifeq:{{#var:tens}}|2|{{#vardefine:name|Viginturion}}}}{{#ifeq:{{#var:tens}}|1|{{#vardefine:name|Decurion}}}}{{#ifeq:{{#var:tens}}|0|{{#vardefine:name|Nullaturion}}}}</includeonly>{{Ribbon
 
| color    = purple
 
| color    = purple
| icon    = Longtrekbadge.png
+
| icon    = Centurion.png
 
| user    = {{{name|}}}
 
| user    = {{{name|}}}
 
| achievement = [[xkcd centurion achievement|xkcd {{#var:name}} achievement]]
 
| achievement = [[xkcd centurion achievement|xkcd {{#var:name}} achievement]]

Revision as of 20:59, 2 December 2009

Centurion.png
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.