Difference between revisions of "Template:Air geohash"

From Geohashing
imported>Jevanyn
(The date in the ribbon should link to the meetup page)
m (Replacing Peeron with Geohashing.info)
 
(7 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  = lightskyblue
<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>
+
|icon  = Airgeohashballoon.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}}&nbsp;earned the [[Air Geohash]] achievement'''
+
|user  = {{#if:{{{name|}}}|{{{name}}}|This user}}
: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>
+
|achievement = [[Air 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:{{{vehicle|}}}|by {{{vehicle}}}|by air}}{{#if:{{{subcategory|}}}|, attaining the rank of '''{{{subcategory}}}'''|}}
</tr>
+
|image  = {{{image|}}}
</table>[[Category:Air geohash achievement]]
+
|category = Air geohash achievement
 
+
}}<noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 18: Line 17:
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| vehicle = '''flying device''' (optional)''
 
:''| vehicle = '''flying device''' (optional)''
 +
:''| subcategory = e.g. '''Pilot''' (see main page)''
 
}}
 
}}
  
Line 30: Line 30:
 
| image = Widder.jpg
 
| image = Widder.jpg
 
| vehicle = hang glider
 
| vehicle = hang glider
 +
| subcategory = Pilot
 
}}</code> appears as:
 
}}</code> appears as:
  
Line 39: Line 40:
 
| image = Widder.jpg
 
| image = Widder.jpg
 
| vehicle = hang glider
 
| vehicle = hang glider
 +
| subcategory = Pilot
 
}}
 
}}
  
Line 47: Line 49:
 
| date = 2008-05-25
 
| date = 2008-05-25
 
| name = Widdershins
 
| name = Widdershins
 +
| subcategory = Kite Pilot
 
| image = Widder.jpg
 
| image = Widder.jpg
 
}}</code> appears as:
 
}}</code> appears as:
Line 55: Line 58:
 
| date = 2008-05-25
 
| date = 2008-05-25
 
| name = Widdershins
 
| name = Widdershins
 +
| subcategory = Kite Pilot
 
| image = Widder.jpg
 
| image = Widder.jpg
 
}}
 
}}
Line 84: Line 88:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{air geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| vehicle = Cessna 172
 +
}}</code> appears as:
 +
 +
{{air_geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| vehicle = Cessna 172
 
}}
 
}}
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:42, 15 January 2022

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)
| subcategory = e.g. Pilot (see main page)

}}

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 | subcategory = Pilot }} appears as:

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

Example: {{air geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | subcategory = Kite Pilot | 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, attaining the rank of Kite Pilot.
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.

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

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