Difference between revisions of "Template:Drowned rat geohash"

From Geohashing
imported>Relet
m
imported>Relet
(+honourable mention)
Line 1: Line 1:
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<tr>
 
<tr>
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: brown; border-collapse: separate;"><div>[[Image:Drownedrat.png|45px]]</div></td>
+
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: {{{#if:{{{honourable|}}}|lightbrown|brown}}}; border-collapse: separate;"><div>[[Image:Drownedrat.png|45px]]</div></td>
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Drowned Rat Geohash]] achievement'''
+
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Drowned Rat Geohash]] {{{#if:{{{honourable|}}}|Honourable Mention|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}}}]] despite being thoroughly wet{{#if:{{{reason|}}}|&nbsp;from {{{reason}}}|}}.''' </td>
+
: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}}}]] despite being {{{#if:{{{honourable|}}}|partially|thoroughly}}} wet{{#if:{{{reason|}}}|&nbsp;from {{{reason}}}|}}.''' </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 18: Line 18:
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| reason = '''reason for wetness''' (optional)''
 
:''| reason = '''reason for wetness''' (optional)''
 +
:''| honourable = '''yes''' (optional, makes this a honourable mention)''
 
}}
 
}}
  
Line 39: Line 40:
 
| image = Widder.jpg
 
| image = Widder.jpg
 
| reason = falling head-long into a puddle
 
| reason = falling head-long into a puddle
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{Drowned rat geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
| reason = wading through a shallow puddle
 +
| honourable = yes
 +
}}</code> appears as:
 +
 +
{{Drowned rat geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
| reason = wading through a shallow puddle
 +
| honourable = yes
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Revision as of 13:40, 20 August 2008

Drownedrat.png
This user earned the Drowned Rat Geohash Honourable Mention
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] despite being partially wet.


How to use this template:

{{Drowned rat geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)
| reason = reason for wetness (optional)
| honourable = yes (optional, makes this a honourable mention)

}}

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

Example: {{Drowned rat geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | image = Widder.jpg | reason = falling head-long into a puddle }} appears as:

Drownedrat2.png
Widdershins earned the Drowned Rat Geohash Achievement
by reaching the (47, -122) geohash on 2008-05-25 despite being thoroughly wet from falling head-long into a puddle.
Widder.jpg

Example: {{Drowned rat geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | image = Widder.jpg | reason = wading through a shallow puddle | honourable = yes }} appears as:

Drownedrat2.png
Widdershins earned the Drowned Rat Geohash Honourable Mention
by reaching the (47, -122) geohash on 2008-05-25 despite being partially wet from wading through a shallow puddle.
Widder.jpg