Difference between revisions of "Template:Cubicle geohash"

From Geohashing
imported>Jevanyn
m
imported>Jevanyn
(picture for honorable mention)
Line 1: Line 1:
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<tr>
 
<tr>
<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>
+
<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]] {{#if:{{{honor|}}}|honorable mention|achievement}}
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Cubicle Geohash]] {{#if:{{{honor|}}}|honorable mention|achievement}}
 
: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>
 
: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>

Revision as of 18:37, 2 July 2008

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:

{{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 (if 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.