Difference between revisions of "Template:Air geohash"

From Geohashing
imported>Jevanyn
(Added "vehicle" option)
imported>Jevanyn
(The date in the ribbon should link to the meetup page)
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lightskyblue; border-collapse: separate;"><div>[[Image:Airgeohashballoon.png|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lightskyblue; border-collapse: separate;"><div>[[Image:Airgeohashballoon.png|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}}&nbsp;earned the [[Air Geohash]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}}&nbsp;earned the [[Air Geohash]] achievement'''
:by reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on {{{date}}} by {{#if:{{{vehicle|}}}|{{{vehicle}}}|air}}.''' </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}}}]] by {{#if:{{{vehicle|}}}|{{{vehicle}}}|air}}.''' </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>

Revision as of 16:47, 23 July 2008

Airgeohashballoon.png
This user earned the Air Geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}}_{{{latitude}}}_{{{longitude}}}|{{{date}}}]] by air.


How to use this template:

{{air geohash

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

}}

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

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

Airgeohashballoon.png
Widdershins earned the Air geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 by hang glider.
Widder.jpg

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

Airgeohashballoon.png
Widdershins earned the Air geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 by air.
Widder.jpg

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

Airgeohashballoon.png
Widdershins earned the Air geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 by air.

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

Airgeohashballoon.png
This user earned the Air geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 by air.