Difference between revisions of "Template:Walk geohash"

From Geohashing
imported>Relet
(+date in ribbon)
m (Replacing Peeron with Geohashing.info)
 
(5 intermediate revisions by 2 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    = lightgray
<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>
+
| icon    = Walk.PNG
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Walk 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}}}]] on foot{{#if:{{{distance|}}}|,&nbsp;travelling a distance of {{{distance}}}|}}.</td>
+
| achievement = [[Walk geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = reaching the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] on foot{{#if:{{{distance|}}}|,&nbsp;travelling a distance of {{{distance}}}|}}
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Walk geohash achievement]]
+
| category = Walk geohash achievement
 
+
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Latest revision as of 10:53, 15 January 2022

Walk.PNG
This user earned the Walk geohash Achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] 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.