Difference between revisions of "Template:Geotrash"

From Geohashing
imported>Ilpadre
(new ribbon image)
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   = #33ff44
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: #33ff44; border-collapse: separate;"><div>[[Image:Geotrashribbon.png|44px]]</div></td>
+
| icon    = Image:Geotrashribbon.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Geotrash_Geohash |GeoTrash Geohash]] achievement'''
+
| user    = {{{name|}}}
:by cleaning up 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 = [[Geotrash_Geohash |GeoTrash Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = cleaning up 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 = Geotrash achievement
[[Category:Geotrash achievement]]<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 22:22, 14 February 2009

This user earned the GeoTrash Geohash Achievement
by cleaning up the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Geotrash

| latitude = latitude (required)
| longitude = 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: {{Geotrash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | image = Widder.jpg }} appears as:

Geotrashribbon.png
Widdershins earned the GeoTrash Geohash Achievement
by cleaning up the (47, -122) geohash on 2008-05-25.
Widder.jpg

Example: {{Geotrash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins }} appears as:

Geotrashribbon.png
Widdershins earned the GeoTrash Geohash Achievement
by cleaning up the (47, -122) geohash on 2008-05-25.

Example: {{Geotrash | latitude = 47 | longitude = -122 | date = 2008-05-25 }} appears as:

Geotrashribbon.png
This user earned the GeoTrash Geohash Achievement
by cleaning up the (47, -122) geohash on 2008-05-25.