Difference between revisions of "Template:Couch potato geohash"

From Geohashing
imported>Ahecht
m (Ribbon2 -> Ribbon)
 
(8 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>{{#if:{{{honor|}}}|[[Image:couchpotatohm.gif|44px]]|[[Image:Couchpotatogeohash.gif|44px]]}}</div></td>
+
| icon    = {{#if:{{{honor|}}}|couchpotatohm.png|Couchpotatogeohash.png}}
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Couch Potato Geohash]] {{#if:{{{honor|}}}|honorable mention|achievement}}
+
| user    = {{{name|}}}
: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>
+
| achievement = [[Couch Potato Geohash]] {{#if:{{{honor|}}}|Honorable Mention|Achievement}}
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = living {{#if:{{{honor|}}}|near|at}} the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image = {{{image|}}}
</table>[[Category:Couch potato geohash achievement]]
+
| category = Couch potato geohash {{#if:{{{honor|}}}|honorable mention|achievement}}
 +
}}<noinclude>[[Category:Couch potato geohash achievement]]
  
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Latest revision as of 02:28, 17 November 2024

Couchpotatogeohash.png
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.