Difference between revisions of "Template:Couch potato geohash"

From Geohashing
imported>Matt
(New page: <table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;"> <tr> <td style="border-width: 5px; border-spacing: 2px; border-style...)
 
m (Ribbon2 -> Ribbon)
 
(12 intermediate revisions by 7 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: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}}}.''' </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 {{#if:{{{honor|}}}|honorable mention|achievement}}
 +
}}<noinclude>[[Category:Couch potato geohash achievement]]
  
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 27: Line 27:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
| name = Widdershins
 
| image = Widder.jpg
 
 
}}</code> appears as:
 
}}</code> appears as:
  
Line 35: Line 33:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
| name = Widdershins
 
| image = Widder.jpg
 
 
}}
 
}}
  
Line 45: Line 41:
 
| date = 2008-05-25
 
| date = 2008-05-25
 
| name = Widdershins
 
| name = Widdershins
 +
| image = Widder.jpg
 
}}</code> appears as:
 
}}</code> appears as:
  
{{couch potato geohash
+
{{couch_potato_geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
 
| name = Widdershins
 
| name = Widdershins
 +
| image = Widder.jpg
 
}}
 
}}
  
Line 59: Line 57:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
 +
| name = Widdershins
 +
| honor = true
 
}}</code> appears as:
 
}}</code> appears as:
  
Line 65: Line 65:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
 +
| name = Widdershins
 +
| honor = true
 
}}
 
}}
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

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.