Difference between revisions of "Template:Camping geohash"

From Geohashing
imported>Relet
(+distance parameter)
m (Replacing Peeron with Geohashing.info)
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|icon  = PoisonIvy.png
 
|icon  = PoisonIvy.png
 
|user  = {{{name|}}}
 
|user  = {{{name|}}}
|achievement = [[Camping Geohash]] Achievement
+
|achievement = [[Camping geohash achievement]]
|action = camping {{#if:{{{residence|}}}|in {{{residence}}}|}} {{{distance|at}}} the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]], from {{{arrival|meetup time}}} to {{{departure|sunrise}}}
+
|action = camping {{#if:{{{residence|}}}|in {{{residence}}}|}} {{{distance|at}}} the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]], from {{{arrival|sundown}}} to {{{departure|sunrise}}}
 
|image  = {{{image|}}}
 
|image  = {{{image|}}}
 
|category = Camping geohash achievement
 
|category = Camping geohash achievement
 +
|expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
 +
}}<noinclude>
 +
 +
'''How to use this template:'''
 +
 +
&#x007B;{Camping geohash
 +
:| latitude = '''latitude''' (required)
 +
:| longitude = '''longitude''' (required)
 +
:| date = '''date (YYYY-MM-DD format)''' (required)
 +
:''| name = '''name of achiever''' (optional)''
 +
:''| arrival = '''time of arrival''' (optional, defaults to "sundown")''
 +
:''| departure = '''time of departure''' (optional, defaults to "sunrise")''
 +
:''| residence = '''type of shelter''' (optional)''
 +
:''| distance = '''distance to geohash''' (optional, defaults to "at the geohash")''
 +
:''| image = '''image name''' (optional)''
 +
}}
 +
 +
The image name should not include 'Image:' or surrounding braces.
 +
 +
'''Example'''
 +
<pre><nowiki>{{Camping geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Outdoor Owl
 +
| arrival = nightfall
 +
| departure = the moment he was chased by an angry farmer with a shotgun
 +
| residence = a haybale
 +
| distance = only a stone throw from
 +
}}</nowiki></pre> appears as:
 +
 +
{{Camping geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Outdoor Owl
 +
| arrival = nightfall
 +
| departure = the moment he was chased by an angry farmer with a shotgun
 +
| residence = a haybale
 +
| distance = only a stone throw from
 
}}
 
}}
  
'''Parameters:'''
+
[[Category:Achievement award templates]]
*name
+
</noinclude>
*date
 
*latitude
 
*longitude
 
*arrival
 
*departure
 
*residence
 
*distance
 

Latest revision as of 10:43, 15 January 2022

PoisonIvy.png
This user earned the Camping geohash achievement
by camping at the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]], from sundown to sunrise.

How to use this template:

{{Camping geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| arrival = time of arrival (optional, defaults to "sundown")
| departure = time of departure (optional, defaults to "sunrise")
| residence = type of shelter (optional)
| distance = distance to geohash (optional, defaults to "at the geohash")
| image = image name (optional)

}}

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

Example

{{Camping geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
| name = Outdoor Owl
| arrival = nightfall
| departure = the moment he was chased by an angry farmer with a shotgun
| residence = a haybale
| distance = only a stone throw from
}}

appears as:

PoisonIvy.png
Outdoor Owl earned the Camping geohash achievement
by camping in a haybale only a stone throw from the (47, -122) geohash on 2008-05-25, from nightfall to the moment he was chased by an angry farmer with a shotgun.