Difference between revisions of "Template:Bicycle geohash"

From Geohashing
imported>Relet
 
(10 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|color = green
 
|color = green
 
|icon = Bikegeohash.png
 
|icon = Bikegeohash.png
|name = {{#if:{{{name|}}}|{{{name}}}|This user}}
+
|user = {{{name|}}}
|achievement = [[Bicycle_Geohash|Bicycle Geohash]] Achievement
+
|achievement = [[Bicycle geohash achievement]]
|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}}}]]
+
|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
 +
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
 
}}<noinclude>
 
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
{{Bicycle geohash
+
{{bicycle geohash
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 +
:''| distance = '''distance cycled''' (optional)''
 +
:''| bothways = '''true''' (optional)''
 
:''| 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|date={{subst:title|date}}|latitude={{subst:title|lat}}|longitude={{subst:title|lon}}|name={{subst:me}}|distance=|bothways=|image=}}</pre>
 +
 +
or this: <pre>
 +
{{bicycle geohash
 +
|date={{subst:title|date}}
 +
|latitude={{subst:title|lat}}
 +
|longitude={{subst:title|lon}}
 +
|name={{subst:me}}
 +
|distance=
 +
|bothways=
 +
|image=
 +
}}</pre>
  
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.
Line 26: Line 44:
 
| date = 2008-05-24
 
| date = 2008-05-24
 
| name = [[User:Tomtom|Tom]]
 
| name = [[User:Tomtom|Tom]]
 +
| distance = 12.2 km
 +
| bothways = true
 
| image = 2008-05-24_53_-1_j.jpg
 
| image = 2008-05-24_53_-1_j.jpg
 
}}</code> appears as:
 
}}</code> appears as:
Line 34: Line 54:
 
| date = 2008-05-24
 
| date = 2008-05-24
 
| name = [[User:Tomtom|Tom]]
 
| name = [[User:Tomtom|Tom]]
 +
| distance = 12.2 km
 +
| bothways = true
 
| image = 2008-05-24_53_-1_j.jpg
 
| image = 2008-05-24_53_-1_j.jpg
 
}}
 
}}

Latest revision as of 10:43, 26 May 2024

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|date={{subst:title|date}}|latitude={{subst:title|lat}}|longitude={{subst:title|lon}}|name={{subst:me}}|distance=|bothways=|image=}}

or this:

{{bicycle geohash
|date={{subst:title|date}}
|latitude={{subst:title|lat}}
|longitude={{subst:title|lon}}
|name={{subst:me}}
|distance=
|bothways=
|image=
}}

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.