Difference between revisions of "Template:Xkcd centurion"

From Geohashing
imported>Mattyk
m (removed some trailing whitespace)
imported>Mattyk
m (no more plural 'meetups' for one meetup.)
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: purple; 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: purple; 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 Centurion|XKCD {{#var:name}}]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[XKCD Centurion|XKCD {{#var:name}}]] achievement'''
:by attending {{{count}}} Saturday meetups. </td>
+
:by attending {{{count}}} Saturday meetup{{#ifeq:{{{count}}}|1||s}}. </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 01:24, 30 November 2008

Longtrekbadge.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.