Difference between revisions of "Template:Multihash"

From Geohashing
imported>Jevanyn
m
imported>Relet
(-> ribbon template)
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={{{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>
+
| achievement = [[Multihash|Multihash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = 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}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Multihash achievement]]<noinclude>
+
| category = Multihash achievement
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 23:22, 14 February 2009

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:

{{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 = 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.