Difference between revisions of "Template:Xkcd centurion"

From Geohashing
imported>Relet
m
imported>Relet
Line 1: Line 1:
 
<includeonly>{{#vardefine:name|Centurion}}
 
<includeonly>{{#vardefine:name|Centurion}}
{{#ifexpr:{{{count}}}<100|{{#vardefine:name|Nonaginturion}}}}
+
{{#ifexpr:{{{count}}}<100|{{#vardefine:name|Nonaginturion}}|}}
{{#ifexpr:{{{count}}}<90|{{#vardefine:name|Octaginturion}}}}
+
{{#ifexpr:{{{count}}}<90|{{#vardefine:name|Octaginturion}}|}}
{{#ifexpr:{{{count}}}<80|{{#vardefine:name|Septaginturion}}}}
+
{{#ifexpr:{{{count}}}<80|{{#vardefine:name|Septaginturion}}|}}
{{#ifexpr:{{{count}}}<70|{{#vardefine:name|Sextaginturion}}}}
+
{{#ifexpr:{{{count}}}<70|{{#vardefine:name|Sextaginturion}}|}}
{{#ifexpr:{{{count}}}<60|{{#vardefine:name|Quinquaginturion}}}}
+
{{#ifexpr:{{{count}}}<60|{{#vardefine:name|Quinquaginturion}}|}}
{{#ifexpr:{{{count}}}<50|{{#vardefine:name|Quadraginturion}}}}
+
{{#ifexpr:{{{count}}}<50|{{#vardefine:name|Quadraginturion}}|}}
{{#ifexpr:{{{count}}}<40|{{#vardefine:name|Triginturion}}}}
+
{{#ifexpr:{{{count}}}<40|{{#vardefine:name|Triginturion}}|}}
{{#ifexpr:{{{count}}}<30|{{#vardefine:name|Viginturion}}}}
+
{{#ifexpr:{{{count}}}<30|{{#vardefine:name|Viginturion}}|}}
{{#ifexpr:{{{count}}}<20|{{#vardefine:name|Decurion}}}}
+
{{#ifexpr:{{{count}}}<20|{{#vardefine:name|Decurion}}|}}
{{#ifexpr:{{{count}}}<10|{{#vardefine:name|Nullion}}}}</includeonly><table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{#ifexpr:{{{count}}}<10|{{#vardefine:name|Nullion}}|}}</includeonly><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>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the XKCD {{#var:name}} achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the XKCD {{#var:name}} achievement'''
:by attending {{{count}}} saturday meetups. </td>
+
:by attending {{{count}}} Saturday meetups. </td>
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
</tr>
 
</tr>

Revision as of 21:16, 3 November 2008

Longtrekbadge.png
This user earned the XKCD achievement
by attending {{{count}}} Saturday meetups.

[[Category: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:

Centurion.png
Romulus Rebus earned the xkcd Centurion achievement
by attending {{{count}}} Saturday meetups.

{{XKCD Centurion
| count = 15
| name = Romulus Rebus
}}

appears as:

Centurion.png
Romulus Rebus earned the xkcd Centurion achievement
by attending {{{count}}} Saturday meetups.