Difference between revisions of "Template:Golf geohash"

From Geohashing
imported>Jevanyn
(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...)
 
imported>Relet
(-> ribbon template)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{Ribbon
<tr>
+
| color    = green
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: green; border-collapse: separate;"><div>[[Image:Golf.PNG|44px]]</div></td>
+
| icon    = Golf.PNG
<td style="padding: 0px 12px 0px 10px;"> '''{{{name|This user}}}&nbsp;earned the [[Golf Geohash]] achievement'''
+
| user    = {{{name|}}}
:by reaching 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 = [[Golf Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Golf geohash achievement]]
+
| category = Golf geohash achievement
 
+
}}<noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 22:27, 14 February 2009

Golf.PNG
This user earned the Golf Geohash Achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Golf geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)

}}

The image name should not include 'Image:' or surrounding braces.

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

Golf.PNG
Widdershins earned the Golf Geohash Achievement
by reaching the (47, -122) geohash on 2008-05-25.
Widder.jpg

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

Golf.PNG
Widdershins earned the Golf Geohash Achievement
by reaching the (47, -122) geohash on 2008-05-25.

Example: {{Golf geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 }} appears as:

Golf.PNG
This user earned the Golf Geohash Achievement
by reaching the (47, -122) geohash on 2008-05-25.