Difference between revisions of "Template:Public transport geohash"

From Geohashing
imported>Relet
(mv cat "award templates" to noinclude section)
m (Replacing Peeron with Geohashing.info)
 
(10 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    = darkgreen
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: darkgreen; border-collapse: separate;"><div>[[Image:Bus.PNG|44px]]</div></td>
+
| icon    = Bus.PNG
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}}'''&nbsp;earned the '''[[Public Transport 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}}}]] {{#if:{{{busline|}}}|via {{{busline}}}|using public transit}}. </td>
+
| achievement = [[Public transport geohash achievement]]
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = reaching the  [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] {{#if:{{{busline|}}}|via {{{busline}}}|using public transit}}
</tr>
+
| image    = {{{image|}}}
</table>
+
| category = Public transport geohash achievement
 
+
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
&#x007B;{Public Transport Geohash
+
&#x007B;{Public transport geohash
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
Line 23: Line 23:
  
 
'''Example:'''
 
'''Example:'''
<code>&#x007B;{Public Transport Geohash
+
<code>&#x007B;{Public transport geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 32: Line 32:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Public Transport Geohash
+
{{Public transport geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 42: Line 42:
  
 
'''Example:'''
 
'''Example:'''
<code>&#x007B;{Public Transport Geohash
+
<code>&#x007B;{Public transport geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 50: Line 50:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Public Transport Geohash
+
{{Public transport geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 59: Line 59:
  
 
'''Example:'''
 
'''Example:'''
<code>&#x007B;{Public Transport Geohash
+
<code>&#x007B;{Public transport geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 65: Line 65:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Public Transport Geohash
+
{{Public transport geohash
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
Line 73: Line 73:
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>
 
[[Category:Public Transport Geohash achievement]]
 

Latest revision as of 10:51, 15 January 2022

Bus.PNG
This user earned the Public transport geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] using public transit.

How to use this template:

{{Public transport geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| busline = name of bus route or transit service (optional)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example: {{Public transport geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | busline = BART | name = Rider | image = Widder.jpg }} appears as:

Bus.PNG
Rider earned the Public transport geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 via BART.
Widder.jpg

Example: {{Public transport geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | busline = the 22 Macdonald bus | name = Widdershins }} appears as:

Bus.PNG
Widdershins earned the Public transport geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 via the 22 Macdonald bus.

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

Bus.PNG
This user earned the Public transport geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 using public transit.