Difference between revisions of "Template:Pub geohash"

From Geohashing
imported>Enno
(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)
 
(5 intermediate revisions by 4 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    = 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}}}.''' </td>
+
| achievement = [[Pub Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = visiting a pub visible from the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Pub geohash achievement]]
+
| category = Pub geohash achievement
 
+
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 30: Line 30:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Pub_geohash
+
{{Pub geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 46: Line 46:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Pub_geohash
+
{{Pub geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 60: Line 60:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Pub_geohash
+
{{Pub geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122

Latest revision as of 10:51, 15 January 2022

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.