Difference between revisions of "Template:Cubicle geohash"

From Geohashing
imported>Relet
(-> ribbon template)
imported>Relet
m (fix)
Line 1: Line 1:
 
{{Ribbon
 
{{Ribbon
 
| color    = lime
 
| color    = lime
| icon    = {{#if:{{{honor|}}}|Cubiclehm.png]]|Cubicleicon.png}}
+
| icon    = {{#if:{{{honor|}}}|Cubiclehm.png|Cubicleicon.png}}
 
| user    = {{{name|}}}
 
| user    = {{{name|}}}
 
| achievement = [[Cubicle Geohash]] {{#ifeq:{{{honor|}}}|true|Honorable Mention|{{#ifeq:{{{honor|}}}|almost|Almost Honorable Mention|Achievement}}}}
 
| achievement = [[Cubicle Geohash]] {{#ifeq:{{{honor|}}}|true|Honorable Mention|{{#ifeq:{{{honor|}}}|almost|Almost Honorable Mention|Achievement}}}}

Revision as of 20:43, 14 February 2009

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.