Difference between revisions of "Template:Xkcd centurion"
From Geohashing
imported>Relet (testing) |
(lowercase) |
||
(39 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:name|Centurion}} | + | {{#vardefine:name|Centurion}}{{#vardefine:iconsuffix|}}<includeonly>{{#vardefine:tens|{{#expr:({{{count}}} - {{{count}}} mod 10)/10}}}}{{#ifeq:{{#var:tens}}|9|{{#vardefine:name|Nonaginturion}}{{#vardefine:iconsuffix|9}}}}{{#ifeq:{{#var:tens}}|8|{{#vardefine:name|Octaginturion}}{{#vardefine:iconsuffix|8}}}}{{#ifeq:{{#var:tens}}|7|{{#vardefine:name|Septaginturion}}{{#vardefine:iconsuffix|7}}}}{{#ifeq:{{#var:tens}}|6|{{#vardefine:name|Sextaginturion}}{{#vardefine:iconsuffix|6}}}}{{#ifeq:{{#var:tens}}|5|{{#vardefine:name|Quinquaginturion}}{{#vardefine:iconsuffix|5}}}}{{#ifeq:{{#var:tens}}|4|{{#vardefine:name|Quadraginturion}}{{#vardefine:iconsuffix|4}}}}{{#ifeq:{{#var:tens}}|3|{{#vardefine:name|Triginturion}}{{#vardefine:iconsuffix|3}}}}{{#ifeq:{{#var:tens}}|2|{{#vardefine:name|Viginturion}}{{#vardefine:iconsuffix|2}}}}{{#ifeq:{{#var:tens}}|1|{{#vardefine:name|Decurion}}{{#vardefine:iconsuffix|1}}}}{{#ifeq:{{#var:tens}}|0|{{#vardefine:name|Nullaturion}}{{#vardefine:iconsuffix|0}}}}</includeonly>{{Ribbon |
− | < | + | | color = purple |
− | + | | icon = Centurion{{#var:iconsuffix}}.png | |
− | + | | user = {{{name|}}} | |
− | + | | achievement = [[xkcd centurion achievement|xkcd {{#var:name}} achievement]] | |
− | : | + | | action = attending '''{{{count}}}''' Saturday meetup{{#ifeq:{{{count}}}|1||s}} |
− | {{# | + | | image = {{{image|}}} |
− | + | | category = xkcd centurion achievement | |
− | + | | expedition = ({{{count}}}) | |
− | + | }}<noinclude>{{lowercase}} | |
− | <noinclude> | ||
− | |||
'''How to use this template:''' | '''How to use this template:''' | ||
− | {{ | + | {{xkcd centurion |
− | :| | + | :| count = '''count''' (number of Saturday meetings attended) |
− | |||
− | |||
− | |||
:''| name = '''name of achiever''' (optional)'' | :''| name = '''name of achiever''' (optional)'' | ||
:''| image = '''image name''' (optional)'' | :''| image = '''image name''' (optional)'' | ||
Line 24: | Line 19: | ||
The image name should not include 'Image:' or surrounding braces. | The image name should not include 'Image:' or surrounding braces. | ||
− | + | Examples: | |
− | <pre><nowiki>{{ | + | <pre><nowiki>{{xkcd centurion |
− | | | + | | count = 100 |
− | + | | name = Romulus Fatuus Rebus | |
− | |||
− | |||
− | | name = | ||
− | |||
}}</nowiki></pre> appears as: | }}</nowiki></pre> appears as: | ||
− | {{ | + | {{xkcd centurion |
− | | | + | | count = 100 |
− | + | | name = Romulus Fatuus Rebus | |
− | |||
− | |||
− | | name = | ||
− | |||
}} | }} | ||
− | + | ---- | |
− | + | <pre><nowiki>{{xkcd centurion | |
− | <pre><nowiki>{{ | + | | count = 50 |
− | + | | name = Romulus Fatuus Rebus | |
− | |||
− | |||
− | | | ||
− | | name = | ||
− | |||
}}</nowiki></pre> appears as: | }}</nowiki></pre> appears as: | ||
− | {{ | + | {{xkcd centurion |
− | | | + | | count = 50 |
− | + | | name = Romulus Fatuus Rebus | |
− | |||
− | |||
− | | name = | ||
− | |||
}} | }} | ||
+ | ---- | ||
+ | <pre><nowiki>{{xkcd centurion | ||
+ | | count = 15 | ||
+ | | name = Romulus Fatuus Rebus | ||
+ | }}</nowiki></pre> appears as: | ||
− | + | {{xkcd centurion | |
− | + | | count = 15 | |
− | + | | name = Romulus Fatuus Rebus | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | | | ||
− | |||
− | |||
− | | name = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
[[Category:Achievement award templates]] | [[Category:Achievement award templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:30, 3 June 2024
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 Fatuus Rebus }}
appears as:
Romulus Fatuus Rebus earned the xkcd Centurion achievement
|
{{xkcd centurion | count = 50 | name = Romulus Fatuus Rebus }}
appears as:
Romulus Fatuus Rebus earned the xkcd Quinquaginturion achievement
|
{{xkcd centurion | count = 15 | name = Romulus Fatuus Rebus }}
appears as:
Romulus Fatuus Rebus earned the xkcd Decurion achievement
|