Difference between revisions of "Template:Police geohash"

From Geohashing
imported>Relet
(-> ribbon template)
imported>Robyn
(allow customization of law enforcement met)
Line 4: Line 4:
 
| user    = {{{name|}}}
 
| user    = {{{name|}}}
 
| achievement = [[Police_Geohash|Police Geohash]] Achievement
 
| achievement = [[Police_Geohash|Police Geohash]] Achievement
| action  = meeting an officer while attempting the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
| action  = {{#if:{{{encounter|}}}|{{{encounter}}}|meeting an officer}} while attempting the [http://irc.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 = Police geohash achievement
 
| category = Police geohash achievement
Line 14: Line 14:
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 +
:''| encounter = '''encounter''' (optional, default is "meeting an officer")
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
Line 50: Line 51:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-02-19
 
| date = 2008-02-19
 +
| encounter = being questioned by the FBI
 
| name = Noterminal and Drache
 
| name = Noterminal and Drache
 
}}
 
}}

Revision as of 19:15, 4 May 2009

Police2.png
This user earned the Police Geohash Achievement
by meeting an officer while attempting the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{police geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| encounter = encounter (optional, default is "meeting an officer")
| name = name of achiever (optional)
| image = image name (optional)
| anim = true (optional, enables animated icon)

}}

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

Example: {{police geohash | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = Noterminal and Drache | image = Noterminal_portland_sample_2.jpg }} appears as:

Police2.png
Noterminal and Drache earned the Police Geohash Achievement
by meeting an officer while attempting the (45, -122) geohash on 2008-02-19.
Noterminal portland sample 2.jpg

Example: {{police geohash | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = Noterminal and Drache }} appears as:

Police2.png
Noterminal and Drache earned the Police Geohash Achievement
by being questioned by the FBI while attempting the (45, -122) geohash on 2008-02-19.

Example: {{police geohash | latitude = 45 | longitude = -122 | date = 2008-02-19 }} appears as:

Police2.png
This user earned the Police Geohash Achievement
by meeting an officer while attempting the (45, -122) geohash on 2008-02-19.

Example: {{police geohash | latitude = 45 | longitude = -122 | date = 2008-02-19 | anim = True }} appears as:

Policeanim.gif
This user earned the Police Geohash Achievement
by meeting an officer while attempting the (45, -122) geohash on 2008-02-19.