Difference between revisions of "Template:Police geohash"

From Geohashing
imported>Nzsteak
(New page: <table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;"> <tr> <td style="border-width: 5px; border-spacing: 2px; border-style...)
 
m (Replacing Peeron with Geohashing.info)
 
(12 intermediate revisions by 6 users not shown)
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>[[Image:Police_Achievement.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|}}}
:by reaching 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  = {{#if:{{{encounter|}}}|{{{encounter}}}|meeting an officer}} while attempting the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Police geohash achievement]]
+
| category = Police geohash achievement
 
+
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 15: Line 15:
 
:| 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)''
 +
:''| anim = '''true''' (optional, enables animated icon)''
 
}}
 
}}
  
Line 43: Line 45:
 
| 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
 
}}</code> appears as:
 
}}</code> appears as:
Line 50: Line 53:
 
| 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
 
}}
 
}}
Line 64: Line 68:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-02-19
 
| date = 2008-02-19
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{police geohash
 +
| latitude = 45
 +
| longitude = -122
 +
| date = 2008-02-19
 +
| anim = True
 +
}}</code> appears as:
 +
 +
{{police geohash
 +
| latitude = 45
 +
| longitude = -122
 +
| date = 2008-02-19
 +
| anim = True
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:50, 15 January 2022

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 | encounter = being questioned by the FBI | 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.