Difference between revisions of "Template:Bicycle geohash"

From Geohashing
m (Replacing Peeron with Geohashing.info)
Line 20: Line 20:
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 
}}
 
}}
 +
 +
If you are using it on the expedition page, you can copy and paste this:
 +
 +
<pre>
 +
{{bicycle geohash
 +
| latitude={{#explode:{{SUBPAGENAME}}| |1}}
 +
| longitude={{#explode:{{SUBPAGENAME}}| |2}}
 +
| date={{#explode:{{SUBPAGENAME}}| |0}}
 +
| distance=
 +
| bothways=
 +
}}
 +
</pre>
 +
  
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.

Revision as of 06:40, 15 August 2023

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)

}}

If you are using it on the expedition page, you can copy and paste this:

{{bicycle geohash
| latitude={{#explode:{{SUBPAGENAME}}| |1}}
| longitude={{#explode:{{SUBPAGENAME}}| |2}}
| date={{#explode:{{SUBPAGENAME}}| |0}}
| distance=
| bothways=
}}


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.