Difference between revisions of "Template:No trespassing"

From Geohashing
imported>Mkoniecz
(add option to show distance to the hash)
imported>Mkoniecz
(stupid hack)
Line 4: Line 4:
 
| user    = {{{name|}}}
 
| user    = {{{name|}}}
 
| achievement = [[No trespassing consolation prize]]
 
| achievement = [[No trespassing consolation prize]]
| action  = almost {{#if:{{{distance|}}}|({{{distance}}}) |}}reaching the [http://carabiner.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
| action  = almost {{#if:{{{distance|}}}|({{{distance}}}) reaching|reaching}} the [http://carabiner.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
 
| image    = {{{image|}}}
 
| image    = {{{image|}}}
 
| category = No trespassing consolation prize
 
| category = No trespassing consolation prize

Revision as of 10:23, 18 July 2012

Notrespassing.gif
This user earned the No trespassing consolation prize
by almost reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{No trespassing

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

}}

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

Copyable, minimal example:

{{No trespassing |latitude= |longitude= |date= |image= |name= ~~~}}

Example with image: {{No trespassing | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = MrGeohasher | image = Noterminal_portland_sample_2.jpg }} appears as:

Notrespassing.gif
MrGeohasher earned the No trespassing consolation prize
by almost reaching the (45, -122) geohash on 2008-02-19.
Noterminal portland sample 2.jpg

Example without image, but with name: {{No trespassing | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = MrGeohasher }} appears as:

Notrespassing.gif
MrGeohasher earned the No trespassing consolation prize
by almost reaching the (45, -122) geohash on 2008-02-19.

Example without image or name: {{No trespassing | latitude = 45 | longitude = -122 | date = 2008-02-19 }} appears as:

Notrespassing.gif
This user earned the No trespassing consolation prize
by almost reaching the (45, -122) geohash on 2008-02-19.