Difference between revisions of "Template:Multihash"

From Geohashing
imported>Appa's Sherpas
(real example)
 
(10 intermediate revisions by 6 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:Multihash.png|44px]]</div></td>
+
| icon    = Multihash.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Multihash|Multihash]] 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 = [[Multihash|Multihash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = reaching the [[{{{date}}} {{{latitude1}}} {{{longitude1}}}]] and [[{{{date}}} {{{latitude2}}} {{{longitude2}}}]] geohashes on [[{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Multihash achievement]]
+
| expedition = [[{{{date}}} {{{latitude1}}} {{{longitude1}}}]]+1
 
+
| category = Multihash achievement
<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
&#x007B;{land geohash
+
&#x007B;{Multihash
:| latitude = '''latitude''' (required)
+
:| latitude1 = '''latitude of first location''' (required)
:| longitude = '''longitude''' (required)
+
:| longitude1 = '''longitude of first location''' (required)
 +
:| latitude2 = '''latitude of second location''' (required)
 +
:| longitude2 = '''longitude of second location''' (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 = 49
| longitude = -122
+
| longitude1 = 8
| date = 2008-02-19
+
| latitude2 = 49
| name = Noterminal and Drache
+
| longitude2 = 7
| image = Noterminal_portland_sample_2.jpg
+
| date = 2008-10-22
 +
| name = Danatar
 +
| image = 2008-10-22 49 7 4hp.jpg
 
}}</code> appears as:
 
}}</code> appears as:
  
 
{{Multihash
 
{{Multihash
| latitude = 45
+
| latitude1 = 49
| longitude = -122
+
| longitude1 = 8
| date = 2008-02-19
+
| latitude2 = 49
| name = Noterminal and Drache
+
| longitude2 = 7
| image = Noterminal_portland_sample_2.jpg
+
| date = 2008-10-22
 +
| name = Danatar
 +
| image = 2008-10-22 49 7 4hp.jpg
 
}}
 
}}
  
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Multihash
 
<code>&#x007B;{Multihash
| latitude = 45
+
| latitude1 = 49
| longitude = -122
+
| longitude1 = 8
| date = 2008-02-19
+
| latitude2 = 49
| name = Noterminal and Drache
+
| longitude2 = 7
 +
| date = 2008-10-22
 +
| name = Danatar
 
}}</code> appears as:
 
}}</code> appears as:
  
 
{{Multihash
 
{{Multihash
| latitude = 45
+
| latitude1 = 49
| longitude = -122
+
| longitude1 = 8
| date = 2008-02-19
+
| latitude2 = 49
| name = Noterminal and Drache
+
| longitude2 = 7
 +
| date = 2008-10-22
 +
| name = Danatar
 
}}
 
}}
  
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Multihash
 
<code>&#x007B;{Multihash
| latitude = 45
+
| latitude1 = 49
| longitude = -122
+
| longitude1 = 8
| date = 2008-02-19
+
| latitude2 = 49
 +
| longitude2 = 7
 +
| date = 2008-10-22
 
}}</code> appears as:
 
}}</code> appears as:
  
 
{{Multihash
 
{{Multihash
| latitude = 45
+
| latitude1 = 49
| longitude = -122
+
| longitude1 = 8
| date = 2008-02-19
+
| latitude2 = 49
 +
| longitude2 = 7
 +
| date = 2008-10-22
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:25, 25 June 2021

Multihash.png
This user earned the Multihash Achievement
by reaching the [[{{{date}}} {{{latitude1}}} {{{longitude1}}}]] and [[{{{date}}} {{{latitude2}}} {{{longitude2}}}]] geohashes on [[{{{date}}}]].

How to use this template:

{{Multihash

| latitude1 = latitude of first location (required)
| longitude1 = longitude of first location (required)
| latitude2 = latitude of second location (required)
| longitude2 = longitude of second location (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 = 49 | longitude1 = 8 | latitude2 = 49 | longitude2 = 7 | date = 2008-10-22 | name = Danatar | image = 2008-10-22 49 7 4hp.jpg }} appears as:

Multihash.png
Danatar earned the Multihash Achievement
by reaching the 2008-10-22 49 8 and 2008-10-22 49 7 geohashes on 2008-10-22.
2008-10-22 49 7 4hp.jpg

Example: {{Multihash | latitude1 = 49 | longitude1 = 8 | latitude2 = 49 | longitude2 = 7 | date = 2008-10-22 | name = Danatar }} appears as:

Multihash.png
Danatar earned the Multihash Achievement
by reaching the 2008-10-22 49 8 and 2008-10-22 49 7 geohashes on 2008-10-22.

Example: {{Multihash | latitude1 = 49 | longitude1 = 8 | latitude2 = 49 | longitude2 = 7 | date = 2008-10-22 }} appears as:

Multihash.png
This user earned the Multihash Achievement
by reaching the 2008-10-22 49 8 and 2008-10-22 49 7 geohashes on 2008-10-22.