Difference between revisions of "Template:Xkcd centurion"
From Geohashing
imported>Relet m |
imported>Relet m |
||
Line 1: | Line 1: | ||
− | {{#vardefine:name|Centurion}}{{#vardefine:tens|{{#expr:{{{count}}}/10}}}}{{#ifeq:{{#var:tens}}|9|Nonaginturion}}{{#ifeq:{{#var:tens}}|8|Octaginturion}}{{#ifeq:{{#var:tens}}|7|Septaginturion}}{{#ifeq:{{#var:tens}}|6|Sextaginturion}}{{#ifeq:{{#var:tens}}|5|Quinquaginturion}}{{#ifeq:{{#var:tens}}|4|Quatraginturion}}{{#ifeq:{{#var:tens}}|3|Triginturion}}{{#ifeq:{{#var:tens}}|2|Viginturion}}{{#ifeq:{{#var:tens}}|1|Decurion}}{{#ifeq:{{#var:tens}}|0|Nullaturion}}<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;"> | + | {{#vardefine:name|Centurion}}{{#vardefine:tens|{{#expr:trunc{{{count}}}/10}}}}{{#ifeq:{{#var:tens}}|9|Nonaginturion}}{{#ifeq:{{#var:tens}}|8|Octaginturion}}{{#ifeq:{{#var:tens}}|7|Septaginturion}}{{#ifeq:{{#var:tens}}|6|Sextaginturion}}{{#ifeq:{{#var:tens}}|5|Quinquaginturion}}{{#ifeq:{{#var:tens}}|4|Quatraginturion}}{{#ifeq:{{#var:tens}}|3|Triginturion}}{{#ifeq:{{#var:tens}}|2|Viginturion}}{{#ifeq:{{#var:tens}}|1|Decurion}}{{#ifeq:{{#var:tens}}|0|Nullaturion}}<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;"> |
<tr> | <tr> | ||
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: #690000; border-collapse: separate;"><div>[[Image:Longtrekbadge.png|44px]]</div></td> | <td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: #690000; border-collapse: separate;"><div>[[Image:Longtrekbadge.png|44px]]</div></td> |
Revision as of 21:30, 3 November 2008
This user earned the XKCD Centurion achievement
|
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:
Romulus Rebus earned the xkcd Centurion achievement
|
{{XKCD Centurion | count = 15 | name = Romulus Rebus }}
appears as:
Romulus Rebus earned the xkcd Decurion achievement
|