Difference between revisions of "Template:Air geohash"

From Geohashing
imported>Djomp
imported>Jevanyn
(Added "vehicle" option)
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}}}.''' </td>
+
: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>
 
{{#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>
Line 17: Line 17:
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 +
:''| vehicle = '''flying device''' (optional)''
 
}}
 
}}
  
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.
 +
 +
'''Example:'''
 +
<code>&#x007B;{air geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
| vehicle = hang glider
 +
}}</code> appears as:
 +
 +
{{air_geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
| vehicle = hang glider
 +
}}
  
 
'''Example:'''
 
'''Example:'''

Revision as of 18:06, 2 July 2008

Airgeohashballoon.png
This user earned the Air Geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on {{{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.