Difference between revisions of "Template:Hash collision"

From Geohashing
imported>Ekorren
m (swapped link in example with an shorter equivalent form)
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    = orange
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: orange; border-collapse: separate;"><div>[[Image:Hashcollision.png|44px]]</div></td>
+
| icon    = Hashcollision.png
<td style="padding: 0px 12px 0px 10px;"> '''{{{name|This user}}}&nbsp;earned the [[Hash Collision]] {{#if:{{{honor|}}}|honorable mention|achievement}}'''
+
| user    = {{{name|}}}
:by discovering {{#if:{{{id|}}}|{{#if:{{{link|}}}|the geocache [{{{link}}} {{{id}}}]|the geocache {{{id}}}}}|a geocache}} {{#if:{{{distance|}}}|{{{distance}}} from|near}} 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 = [[Hash Collision]] {{#if:{{{honor|}}}|honorable mention|achievement}}
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = discovering {{#if:{{{id|}}}|{{#if:{{{link|}}}|the geocache [{{{link}}} {{{id}}}]|the geocache {{{id}}}}}|a geocache}} {{#if:{{{distance|}}}|{{{distance}}} from|near}} the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Hash collision achievement]]
+
| category = Hash collision achievement
 
+
}}<noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 22:32, 14 February 2009

Hashcollision.png
This user earned the Hash Collision achievement
by discovering a geocache near the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Hash collision

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| id = geocache id (optional)
| link = geocache link (optional, requires id)
| distance = distance (optional, include units)
| image = image name (optional)
| honor = honorable mention (optional)

}}

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

Example: {{Hash collision | latitude = 48 | longitude = 8 | date = 2008-11-26 | name = Ekorren and Danatar | link = http://www.geocaching.com/seek/cache_details.aspx?wp=GC14WEH | id = GC14WEH | distance = 0.85 km | honor = any non-empty value will do }} appears as:

Hashcollision.png
Ekorren and Danatar earned the Hash collision honorable mention
by discovering the geocache GC14WEH 0.85 km from the (48, 8) geohash on 2008-11-26.

Example: {{Hash collision | latitude = 48 | longitude = 8 | date = 2008-11-26 | name = Ekorren and Danatar }} appears as:

Hashcollision.png
Ekorren and Danatar earned the Hash collision achievement
by discovering a geocache near the (48, 8) geohash on 2008-11-26.

Example: {{Hash collision | latitude = 48 | longitude = 8 | date = 2008-11-26 }} appears as:

Hashcollision.png
This user earned the Hash collision achievement
by discovering a geocache near the (48, 8) geohash on 2008-11-26.