Difference between revisions of "Template:Public transport geohash"

From Geohashing
imported>Relet
(mv cat "award templates" to noinclude section)
imported>Jevanyn
(Adds the PTG category)
Line 2: Line 2:
 
<tr>
 
<tr>
 
<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>
 
<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>
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}}'''&nbsp;earned the '''[[Public Transport Geohash]] achievement'''
+
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Public Transport Geohash]] achievement'''
 
: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>
 
: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>
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
</tr>
 
</tr>
</table>
+
</table>[[Category:Public Transport Geohash achievement]]<noinclude>
 
 
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 15:35, 7 January 2009

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.