Difference between revisions of "Template:Cubicle geohash"
From Geohashing
imported>Jevanyn (picture for honorable mention) |
imported>Relet (+almost honourable mention) |
||
Line 2: | Line 2: | ||
<tr> | <tr> | ||
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lime; border-collapse: separate;"><div>{{#if:{{{honor|}}}|[[Image:Cubiclehm.png|44px]]|[[Image:Cubicleicon.png|44px]]}}</div></td> | <td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lime; border-collapse: separate;"><div>{{#if:{{{honor|}}}|[[Image:Cubiclehm.png|44px]]|[[Image:Cubicleicon.png|44px]]}}</div></td> | ||
− | <td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Cubicle Geohash]] {{# | + | <td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Cubicle Geohash]] {{#ifeq:{{{honor|}}}|true|honorable mention|{{#ifeq:{{{honor|}}}|almost|almost honorable metrion|achievement}}}} |
− | :by working {{# | + | :by working {{#ifeq:{{{honor|}}}|true|near|{{#ifeq:{{{honor|}}}|almost|not that far from|at}}}} the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].''' </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> | ||
Line 17: | Line 17: | ||
:| ''name = '''name of achiever''' (optional)'' | :| ''name = '''name of achiever''' (optional)'' | ||
:| ''image = '''image name''' (optional)'' | :| ''image = '''image name''' (optional)'' | ||
− | :| ''honor = '''true''' (if honorable mention)'' | + | :| ''honor = '''true/almost''' (if honorable/almost honorable mention)'' |
}} | }} | ||
Line 67: | Line 67: | ||
| name = Widdershins | | name = Widdershins | ||
| honor = true | | honor = true | ||
+ | }} | ||
+ | |||
+ | '''Example:''' | ||
+ | <code>{{cubicle geohash | ||
+ | | latitude = 47 | ||
+ | | longitude = -122 | ||
+ | | date = 2008-05-25 | ||
+ | | name = Widdershins | ||
+ | | honor = almost | ||
+ | }}</code> appears as: | ||
+ | |||
+ | {{cubicle geohash | ||
+ | | latitude = 47 | ||
+ | | longitude = -122 | ||
+ | | date = 2008-05-25 | ||
+ | | name = Widdershins | ||
+ | | honor = almost | ||
}} | }} | ||
[[Category:Achievement award templates]] | [[Category:Achievement award templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:47, 24 August 2008
This user earned the Cubicle Geohash achievement
|
How to use this template:
{{couch potato geohash
- | latitude = latitude (required)
- | longitude = longitude (required)
- | date = date (YYYY-MM-DD format) (required)
- | name = name of achiever (optional)
- | image = image name (optional)
- | honor = true/almost (if honorable/almost honorable mention)
}}
The image name should not include 'Image:' or surrounding braces.
Example:
{{cubicle geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
}}
appears as:
This user earned the cubicle geohash achievement
|
Example:
{{cubicle geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
| name = Widdershins
| image = Widder.jpg
}}
appears as:
Widdershins earned the cubicle geohash achievement
|
Example:
{{cubicle geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
| name = Widdershins
| honor = true
}}
appears as:
Widdershins earned the cubicle geohash honorable mention
|
Example:
{{cubicle geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
| name = Widdershins
| honor = almost
}}
appears as:
Widdershins earned the cubicle geohash almost honorable mention
|