Difference between revisions of "Template:Pub 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    = lightskyblue
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lightskyblue; border-collapse: separate;"><div>[[Image:Pubgeohash.jpg|44px]]</div></td>
+
| icon    = Pubgeohash.jpg
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}}&nbsp;earned the [[Pub 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 = [[Pub Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = visiting a pub visible from 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:Pub geohash achievement]]
+
| category = Pub geohash achievement
 
+
}}<noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 10:34, 15 February 2009

Pubgeohash.jpg
This user earned the Pub Geohash Achievement
by visiting a pub visible from the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{pub geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example: {{Pub geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | image = Widder.jpg }} appears as:

Pubgeohash.jpg
Widdershins earned the Pub Geohash Achievement
by visiting a pub visible from the (47, -122) geohash on 2008-05-25.
Widder.jpg

Example: {{Pub geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins }} appears as:

Pubgeohash.jpg
Widdershins earned the Pub Geohash Achievement
by visiting a pub visible from the (47, -122) geohash on 2008-05-25.

Example: {{Pub geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 }} appears as:

Pubgeohash.jpg
This user earned the Pub Geohash Achievement
by visiting a pub visible from the (47, -122) geohash on 2008-05-25.