Difference between revisions of "Template:Bicycle geohash"

From Geohashing
imported>Benjw
m (add facility to have "to and from" in the description)
m (Replacing Peeron with Geohashing.info)
Line 4: Line 4:
 
|user = {{{name|}}}
 
|user = {{{name|}}}
 
|achievement = [[Bicycle geohash achievement]]
 
|achievement = [[Bicycle geohash achievement]]
|action = cycling {{#if:{{{distance|}}}|{{{distance}}}|}} to {{#if:{{{bothways|}}}|and from|}} the [http://carabiner.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
|action = cycling {{#if:{{{distance|}}}|{{{distance}}}|}} to {{#if:{{{bothways|}}}|and from|}} the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|category = Bicycle geohash achievement
 
|category = Bicycle geohash achievement

Revision as of 10:43, 15 January 2022

Bikegeohash.png
This user earned the Bicycle geohash achievement
by cycling to the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{bicycle geohash

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

}}

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

Example: {{Bicycle geohash | latitude = 53 | longitude = -1 | date = 2008-05-24 | name = Tom | distance = 12.2 km | bothways = true | image = 2008-05-24_53_-1_j.jpg }} appears as:

Bikegeohash.png
Tom earned the Bicycle geohash achievement
by cycling 12.2 km to and from the (53, -1) geohash on 2008-05-24.
2008-05-24 53 -1 j.jpg

Example: {{Bicycle geohash | latitude = 53 | longitude = -1 | date = 2008-05-24 | name = Tom }} appears as:

Bikegeohash.png
Tom earned the Bicycle geohash achievement
by cycling to the (53, -1) geohash on 2008-05-24.

Example: {{Bicycle geohash | latitude = 53 | longitude = -1 | date = 2008-05-24 }} appears as:

Bikegeohash.png
This user earned the Bicycle geohash achievement
by cycling to the (53, -1) geohash on 2008-05-24.