Difference between revisions of "Template:Buccaneer geohash"

From Geohashing
imported>Jevanyn
(carried over update to categorization)
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   = #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 [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>{{#ifeq:{{uc:{{PAGENAME}}}}|{{uc:{{{name|}}}}}
+
|category = Buccaneer geohash achievement
| [[Category:Buccaneers|{{{name}}}]]
 
|  {{#if:{{{name|}}}
 
  |[[Category:Buccaneer geohash achievement]]
 
  |[[Category:Buccaneers|{{PAGENAME}}]]}}
 
 
}}<noinclude>
 
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''

Revision as of 19:08, 14 February 2009

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 = 41 | longitude = -81 | date = 2008-05-25 | action = stealing a sailboat }} appears as:

PirateGeohasher.png
This user earned the Buccaneer Geohash Achievement
by stealing a sailboat at the (41, -81) geohash on 2008-05-25.