Difference between revisions of "Template:Land geohash"

From Geohashing
imported>Relet
m (btdt)
 
(6 intermediate revisions by 4 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    = green
<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>
+
|icon    = Landgeohash.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Land geohash|Land Geohash]] achievement'''
+
|user    = {{{name|}}}
: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>
+
|achievement = [[Land 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}}}]]
</tr>
+
|image    = {{{image|}}}
</table>[[Category:Land geohash achievement]]<noinclude>
+
|category = Land geohash achievement
 +
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 16: Line 18:
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 
}}
 
}}
 +
 +
If you are using it on the expedition page, you can copy and paste this:
 +
 +
<pre>{{land geohash|date={{subst:title|date}}|latitude={{subst:title|lat}}|longitude={{subst:title|lon}}|name={{subst:me}}|image=}}</pre>
 +
 +
or this: <pre>
 +
{{land geohash
 +
|date={{subst:title|date}}
 +
|latitude={{subst:title|lat}}
 +
|longitude={{subst:title|lon}}
 +
|name={{subst:me}}
 +
|image=
 +
}}</pre>
  
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.
Line 63: Line 78:
 
| date = 2008-02-19
 
| date = 2008-02-19
 
}}
 
}}
 +
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:41, 26 May 2024

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)

}}

If you are using it on the expedition page, you can copy and paste this:

{{land geohash|date={{subst:title|date}}|latitude={{subst:title|lat}}|longitude={{subst:title|lon}}|name={{subst:me}}|image=}}

or this:

{{land geohash
|date={{subst:title|date}}
|latitude={{subst:title|lat}}
|longitude={{subst:title|lon}}
|name={{subst:me}}
|image=
}}

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.