Difference between revisions of "Template:Multihash"

From Geohashing
imported>Appa's Sherpas
imported>Appa's Sherpas
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:Multihash.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:Multihash.png|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Multihash|Multihash]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Multihash|Multihash]] 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={{{latitude1}}}&long={{{longitude1}}}&date={{{date}}} ({{{latitude1}}}, {{{longitude1}}})] and [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude2}}}&long={{{longitude2}}}&date={{{date}}} ({{{latitude2}}}, {{{longitude2}}}) geohashes] on [[{{{date}}} {{{latitude1}}} {{{longitude1}}}|{{{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>
Line 12: Line 12:
  
 
&#x007B;{land geohash
 
&#x007B;{land geohash
:| latitude = '''latitude''' (required)
+
:| latitude1 = '''latitude''' (required)
:| longitude = '''longitude''' (required)
+
:| longitude1 = '''longitude''' (required)
 +
:| latitude2 = '''latitude''' (required)
 +
:| longitude2 = '''longitude''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
Line 23: Line 25:
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Multihash
 
<code>&#x007B;{Multihash
| latitude = 45
+
| latitude1 = 45
| longitude = -122
+
| longitude1 = -122
 +
| latitude2 = 45
 +
| longitude2 = -123
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = Noterminal and Drache
 
| name = Noterminal and Drache
Line 31: Line 35:
  
 
{{Multihash
 
{{Multihash
| latitude = 45
+
| latitude1 = 45
| longitude = -122
+
| longitude1 = -122
 +
| latitude2 = 45
 +
| longitude2 = -123
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = Noterminal and Drache
 
| name = Noterminal and Drache
Line 40: Line 46:
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Multihash
 
<code>&#x007B;{Multihash
| latitude = 45
+
| latitude1 = 45
| longitude = -122
+
| longitude1 = -122
 +
| latitude2 = 45
 +
| longitude2 = -123
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = Noterminal and Drache
 
| name = Noterminal and Drache
Line 47: Line 55:
  
 
{{Multihash
 
{{Multihash
| latitude = 45
+
| latitude1 = 45
| longitude = -122
+
| longitude1 = -122
 +
| latitude2 = 45
 +
| longitude2 = -123
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = Noterminal and Drache
 
| name = Noterminal and Drache
Line 55: Line 65:
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Multihash
 
<code>&#x007B;{Multihash
| latitude = 45
+
| latitude1 = 45
| longitude = -122
+
| longitude1 = -122
 +
| latitude2 = 45
 +
| longitude2 = -123
 
| date = 2008-02-19
 
| date = 2008-02-19
 
}}</code> appears as:
 
}}</code> appears as:
  
 
{{Multihash
 
{{Multihash
| latitude = 45
+
| latitude1 = 45
| longitude = -122
+
| longitude1 = -122
 +
| latitude2 = 45
 +
| longitude2 = -123
 
| date = 2008-02-19
 
| date = 2008-02-19
 
}}
 
}}

Revision as of 20:22, 13 July 2008

Multihash.png
This user earned the Multihash achievement
by reaching the ({{{latitude1}}}, {{{longitude1}}}) and ({{{latitude2}}}, {{{longitude2}}}) geohashes on [[{{{date}}} {{{latitude1}}} {{{longitude1}}}|{{{date}}}]].


How to use this template:

{{land geohash

| latitude1 = latitude (required)
| longitude1 = longitude (required)
| latitude2 = latitude (required)
| longitude2 = 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: {{Multihash | latitude1 = 45 | longitude1 = -122 | latitude2 = 45 | longitude2 = -123 | date = 2008-02-19 | name = Noterminal and Drache | image = Noterminal_portland_sample_2.jpg }} appears as:

Multihash.png
Noterminal and Drache earned the Multihash Achievement
by reaching the 2008-02-19 45 -122 and 2008-02-19 45 -123 geohashes on 2008-02-19.
Noterminal portland sample 2.jpg

Example: {{Multihash | latitude1 = 45 | longitude1 = -122 | latitude2 = 45 | longitude2 = -123 | date = 2008-02-19 | name = Noterminal and Drache }} appears as:

Multihash.png
Noterminal and Drache earned the Multihash Achievement
by reaching the 2008-02-19 45 -122 and 2008-02-19 45 -123 geohashes on 2008-02-19.

Example: {{Multihash | latitude1 = 45 | longitude1 = -122 | latitude2 = 45 | longitude2 = -123 | date = 2008-02-19 }} appears as:

Multihash.png
This user earned the Multihash Achievement
by reaching the 2008-02-19 45 -122 and 2008-02-19 45 -123 geohashes on 2008-02-19.