Difference between revisions of "Template:Bicycle geohash"
From Geohashing
imported>Relet m (+expedition passthru) |
|||
(5 intermediate revisions by 5 users not shown) | |||
Line 4: | Line 4: | ||
|user = {{{name|}}} | |user = {{{name|}}} | ||
|achievement = [[Bicycle geohash achievement]] | |achievement = [[Bicycle geohash achievement]] | ||
− | |action = cycling {{#if:{{{distance|}}}|{{{distance}}}|}} to the [ | + | |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 | ||
Line 11: | Line 11: | ||
'''How to use this template:''' | '''How to use this template:''' | ||
− | {{ | + | {{bicycle geohash |
:| latitude = '''latitude''' (required) | :| latitude = '''latitude''' (required) | ||
:| longitude = '''longitude''' (required) | :| longitude = '''longitude''' (required) | ||
Line 17: | Line 17: | ||
:''| name = '''name of achiever''' (optional)'' | :''| name = '''name of achiever''' (optional)'' | ||
:''| distance = '''distance cycled''' (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 29: | Line 45: | ||
| name = [[User:Tomtom|Tom]] | | name = [[User:Tomtom|Tom]] | ||
| distance = 12.2 km | | 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 38: | Line 55: | ||
| name = [[User:Tomtom|Tom]] | | name = [[User:Tomtom|Tom]] | ||
| distance = 12.2 km | | 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
This user earned the Bicycle geohash achievement
|
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:
Tom earned the Bicycle geohash achievement
|
Example:
{{Bicycle geohash
| latitude = 53
| longitude = -1
| date = 2008-05-24
| name = Tom
}}
appears as:
Tom earned the Bicycle geohash achievement
|
Example:
{{Bicycle geohash
| latitude = 53
| longitude = -1
| date = 2008-05-24
}}
appears as:
This user earned the Bicycle geohash achievement
|