Difference between revisions of "Template:Police geohash"

From Geohashing
imported>Jevanyn
m
imported>Relet
(-> ribbon template)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{Ribbon
<tr>
+
| color    = blue
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: blue; border-collapse: separate;"><div>{{#if:{{{anim|}}}|[[Image:Policeanim.gif|44px]]|[[Image:Police2.png|44px]]}}</div></td>
+
| icon    = {{#if:{{{anim|}}}|Policeanim.gif|Police2.png}}
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Police_Geohash|Police Geohash]] achievement'''
+
| user    = {{{name|}}}
:when attempting the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </td>
+
| achievement = [[Police_Geohash|Police Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| 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}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Police geohash achievement]]<noinclude>
+
| category = Police geohash achievement
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 10:31, 15 February 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)
| 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 meeting an officer 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.