Difference between revisions of "Template:Land geohash"

From Geohashing
imported>Robyn
(categories)
(Trying to get rid of the space under the land geohash ribbon.)
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: green; border-collapse: separate;"><div>[[Image:Landgeohash.png|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: green; border-collapse: separate;"><div>[[Image:Landgeohash.png|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Land geohash|Land Geohash]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Land geohash|Land Geohash]] achievement'''
: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}}}]]. </td>
+
: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}}}]].</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>
 
</table>[[Category:Land geohash achievement]]
 
</table>[[Category:Land geohash achievement]]
 
 
<noinclude>
 
<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''

Revision as of 02:55, 6 September 2008

Landgeohash.png
This user earned the Land Geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{land geohash

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

}}

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

Example: {{land geohash | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = Noterminal and Drache | image = Noterminal_portland_sample_2.jpg }} appears as:

Landgeohash.png
Noterminal and Drache earned the Land geohash achievement
by reaching the (45, -122) geohash on 2008-02-19.
Noterminal portland sample 2.jpg

Example: {{land geohash | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = Noterminal and Drache }} appears as:

Landgeohash.png
Noterminal and Drache earned the Land geohash achievement
by reaching the (45, -122) geohash on 2008-02-19.

Example: {{land geohash | latitude = 45 | longitude = -122 | date = 2008-02-19 }} appears as:

Landgeohash.png
This user earned the Land geohash achievement
by reaching the (45, -122) geohash on 2008-02-19.