Difference between revisions of "Template:Couch potato geohash"

From Geohashing
imported>Matt
m
imported>Matt
m (linked the date to the specific hash page)
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lime; border-collapse: separate;"><div>[[Image:Couchpotatogeohash.gif|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lime; border-collapse: separate;"><div>[[Image:Couchpotatogeohash.gif|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Couch Potato Geohash]] {{#if:{{{honor|}}}|honorable mention|achievement}}
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Couch Potato Geohash]] {{#if:{{{honor|}}}|honorable mention|achievement}}
:by living {{#if:{{{honor|}}}|near|at}} the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on {{{date}}}.''' </td>
+
:by living {{#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>
 
{{#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>

Revision as of 02:11, 9 June 2008

Couchpotatogeohash.gif
This user earned the Couch Potato Geohash achievement
by living 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: {{couch potato geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 }} appears as:

Couchpotatogeohash.png
This user earned the Couch Potato Geohash Achievement
by living at the (47, -122) geohash on 2008-05-25.

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

Couchpotatogeohash.png
Widdershins earned the Couch Potato Geohash Achievement
by living at the (47, -122) geohash on 2008-05-25.
Widder.jpg

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

Couchpotatohm.png
Widdershins earned the Couch Potato Geohash Honorable Mention
by living near the (47, -122) geohash on 2008-05-25.