Difference between revisions of "Template:Buccaneer geohash"

From Geohashing
imported>Jevanyn
(New category: Buccaneers)
(Reinstating Jevanyn‎'s categorization as of January 2009)
 
(6 intermediate revisions by 5 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   = #800
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: #800; border-collapse: separate;"><div>[[Image: PirateGeohasher.png |44px]]</div></td>
+
|icon    = PirateGeohasher.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Buccaneer Geohash |Buccaneer Geohash]] achievement
+
|user    = {{{name|}}}
:by {{{action}}} at 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 = [[Buccaneer Geohash |Buccaneer Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
|action  = {{{action}}} at the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
|image    = {{{image|}}}
</table>[[Category:Buccaneer geohash achievement]]
+
|category = Buccaneer geohash achievement
{{#ifeq:{{PAGENAME}}|{{{name}}}|[[Category:Buccaneers]]|}}<noinclude>
+
|expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
 +
}}{{#ifeq:{{uc:{{PAGENAME}}}}|{{uc:{{{name|}}}}}
 +
| [[Category:Buccaneers|{{{name}}}]]
 +
{{#if:{{{name|}}}
 +
  |[[Category:Buccaneer geohash achievement]]
 +
  |[[Category:Buccaneers|{{PAGENAME}}]]}}
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 23: Line 29:
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Buccaneer geohash
 
<code>&#x007B;{Buccaneer geohash
| latitude = 41
+
| latitude = -33
| longitude = -81
+
| longitude = 151
| date = 2008-05-25
+
| date = 2008-09-19
| action = stealing a sailboat
+
| action = finding treasure
 
}}</code> appears as:
 
}}</code> appears as:
  
 
{{Buccaneer geohash
 
{{Buccaneer geohash
| latitude = 41
+
| latitude = -33
| longitude = -81
+
| longitude = 151
| date = 2008-05-25
+
| date = 2008-09-19
| action = stealing a sailboat
+
| action = finding treasure
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:23, 17 February 2023

PirateGeohasher.png
This user earned the Buccaneer Geohash Achievement
by {{{action}}} at the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Buccaneer geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| action = whatever qualifies you for this award (required)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example: {{Buccaneer geohash | latitude = -33 | longitude = 151 | date = 2008-09-19 | action = finding treasure }} appears as:

PirateGeohasher.png
This user earned the Buccaneer Geohash Achievement
by finding treasure at the (-33, 151) geohash on 2008-09-19.