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}} earned the [[Air Geohash]] achievement''' | <td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} 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>{{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
This user earned the Air Geohash achievement
|
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:
Widdershins earned the Air geohash achievement
|
Example:
{{air geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
| name = Widdershins
| image = Widder.jpg
}}
appears as:
Widdershins earned the Air geohash achievement
|
Example:
{{air geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
| name = Widdershins
}}
appears as:
Widdershins earned the Air geohash achievement
|
Example:
{{air geohash
| latitude = 47
| longitude = -122
| date = 2008-05-25
}}
appears as:
This user earned the Air geohash achievement
|