Difference between revisions of "Template:Origin geohash"

From Geohashing
imported>Relet
(+on parameter)
imported>Relet
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lime; border-collapse: separate;"><div>[[Image:Hospital.jpg|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lime; border-collapse: separate;"><div>[[Image:Hospital.jpg|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Origin Geohash]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Origin Geohash]] achievement'''
:by reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] for [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]{{#if:{{{on|}}}| on [[{{{on}}}]]}}.''' </td>
+
:by reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] for [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]{{#if:{{{on|}}}|&nbsp;on [[{{{on}}}]]}}.''' </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 14: Line 14:
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
:| date = '''date (YYYY-MM-DD format)''' (required)
+
:| date = '''date of origin (YYYY-MM-DD format)''' (required)
 +
:| on = '''date of attempt (YYYY-MM-DD format)''' (optional)
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
Line 26: Line 27:
 
| longitude = -122
 
| longitude = -122
 
| date = 1988-08-16
 
| date = 1988-08-16
 +
| on = 2008-05-34
 
| name = Widdershins
 
| name = Widdershins
 
| image = Widder.jpg
 
| image = Widder.jpg
Line 34: Line 36:
 
| longitude = -122
 
| longitude = -122
 
| date = 1988-08-16
 
| date = 1988-08-16
 +
| on = 2008-05-34
 
| name = Widdershins
 
| name = Widdershins
 
| image = Widder.jpg
 
| image = Widder.jpg

Revision as of 20:22, 20 August 2008

Hospital.jpg
This user earned the Origin Geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash for [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].


How to use this template:

{{origin geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date of origin (YYYY-MM-DD format) (required)
| on = date of attempt (YYYY-MM-DD format) (optional)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example: {{origin geohash | latitude = 37 | longitude = -122 | date = 1988-08-16 | on = 2008-05-34 | name = Widdershins | image = Widder.jpg }} appears as:

Origin2.png
Widdershins earned the Origin geohash achievement
by reaching the (37, -122) geohash for 1988-08-16 on 2008-05-34.
Widder.jpg

Example: {{origin geohash | latitude = 37 | longitude = -122 | date = 1988-08-16 | name = Widdershins }} appears as:

Origin2.png
Widdershins earned the Origin geohash achievement
by reaching the (37, -122) geohash for 1988-08-16.

Example: {{origin geohash | latitude = 37 | longitude = -122 | date = 1988-08-16 }} appears as:

Origin2.png
This user earned the Origin geohash achievement
by reaching the (37, -122) geohash for 1988-08-16.