Difference between revisions of "Template:Cubicle geohash"

From Geohashing
imported>Jevanyn
m
m (Replacing Peeron with Geohashing.info)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{Ribbon
<tr>
+
| color   = lime
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lime; border-collapse: separate;"><div>[[Image:Cubicleicon.png|44px]]</div></td>
+
| icon    = {{#if:{{{honor|}}}|Cubiclehm.png|Cubicleicon.png}}
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Cubicle Geohash]] {{#if:{{{honor|}}}|honorable mention|achievement}}
+
| user    = {{{name|}}}
:by working {{#if:{{{honor|}}}|near|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>
+
| achievement = [[cubicle geohash]] {{#ifeq:{{{honor|}}}|true|honorable mention|{{#ifeq:{{{honor|}}}|almost|almost honorable mention|achievement}}}}
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = working {{#ifeq:{{{honor|}}}|true|near|{{#ifeq:{{{honor|}}}|almost|not that far from|at}}}} the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Cubicle geohash achievement]]
+
| category = Cubicle geohash {{#ifeq:{{{honor|}}}|true|honorable mention|{{#ifeq:{{{honor|}}}|almost|almost honorable mention|achievement}}}}
 
+
}}<noinclude>[[Category:Cubicle geohash achievement]]
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  
&#x007B;{couch potato geohash
+
&#x007B;{cubicle geohash
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
Line 17: Line 16:
 
:| ''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 66:
 
| name = Widdershins
 
| name = Widdershins
 
| honor = true
 
| honor = true
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{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>

Latest revision as of 10:44, 15 January 2022

Cubicleicon.png
This user earned the cubicle geohash achievement
by working at the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{cubicle 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:

Cubicleicon.png
This user earned the cubicle geohash achievement
by working at the (47, -122) geohash on 2008-05-25.

Example: {{cubicle geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | image = Widder.jpg }} appears as:

Cubicleicon.png
Widdershins earned the cubicle geohash achievement
by working at the (47, -122) geohash on 2008-05-25.
Widder.jpg

Example: {{cubicle geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | honor = true }} appears as:

Cubiclehm.png
Widdershins earned the cubicle geohash honorable mention
by working near the (47, -122) geohash on 2008-05-25.

Example: {{cubicle geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | honor = almost }} appears as:

Cubiclehm.png
Widdershins earned the cubicle geohash almost honorable mention
by working not that far from the (47, -122) geohash on 2008-05-25.