Difference between revisions of "Template:Water geohash"

From Geohashing
imported>Djomp
m
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: #8268ed; border-collapse: separate;"><div>[[Image:Watergeohash.jpg|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: #8268ed; border-collapse: separate;"><div>[[Image:Watergeohash.jpg|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Water Geohash]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Water 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}}}{{#if:{{{vehicle|}}}| by {{{vehicle}}}|}}.''' </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 = '''water 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;{water geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
| vehicle = jetski
 +
}}</code> appears as:
 +
 +
{{water geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
| vehicle = jetski
 +
}}
  
 
'''Example:'''
 
'''Example:'''

Revision as of 18:09, 2 July 2008

Watergeohash.jpg
This user earned the Water Geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on {{{date}}}.


How to use this template:

{{water geohash

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

}}

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

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

Watergeohash.jpg
Widdershins earned the Water geohash achievement
by reaching the (47, -122) geohash on 2008-05-25 by jetski.
Widder.jpg

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

Watergeohash.jpg
Widdershins earned the Water geohash achievement
by reaching the (47, -122) geohash on 2008-05-25.
Widder.jpg

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

Watergeohash.jpg
Widdershins earned the Water geohash achievement
by reaching the (47, -122) geohash on 2008-05-25.

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

Watergeohash.jpg
This user earned the Water geohash achievement
by reaching the (47, -122) geohash on 2008-05-25.