Difference between revisions of "Template:Walk geohash"

From Geohashing
imported>Relet
(+date in ribbon)
imported>Relet
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lightgray; border-collapse: separate;"><div>[[Image:Walk.PNG|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lightgray; border-collapse: separate;"><div>[[Image:Walk.PNG|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Walk geohash]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Walk geohash]] achievement'''
:by reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}}]] on foot{{#if:{{{distance|}}}|,&nbsp;travelling a distance of {{{distance}}}|}}.</td>
+
:by reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}]] on foot{{#if:{{{distance|}}}|,&nbsp;travelling a distance of {{{distance}}}|}}.</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 21:12, 4 September 2008

Walk.PNG
This user earned the Walk geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}]] on foot.


How to use this template:

{{Walk geohash

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

}}

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

Example:

{{Walk geohash
| latitude = 59
| longitude = 10
| date = 2008-08-22
| name = [[User:lyx|]]
}}

appears as:

Walk.PNG
lyx earned the Walk geohash Achievement
by reaching the (59, 10) geohash on 2008-08-22 on foot.
{{Walk geohash
| latitude = 59
| longitude = 10
| date = 2008-08-22
| name = [[User:lyx|]]
| distance = 5km
}}

appears as:

Walk.PNG
lyx earned the Walk geohash Achievement
by reaching the (59, 10) geohash on 2008-08-22 on foot, travelling a distance of 5km.