Difference between revisions of "Template:Déjà vu geohash"

From Geohashing
imported>Jevanyn
m (Fixed "previously on" date in example)
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    = violet
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: violet; border-collapse: separate;"><div>[[Image:Dejavu.png|44px]]</div></td>
+
| icon    = Dejavu.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Déjà Vu Geohash]] 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}}}]], and previously on {{{olddate}}}. </td>
+
| achievement = [[Déjà Vu Geohash]] 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={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]], and previously on {{{olddate}}}
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Déjà vu geohash achievement]]
+
| category = Déjà vu geohash achievement
 
+
}}<noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 20:53, 14 February 2009

Dejavu.png
This user earned the Déjà Vu Geohash Achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]], and previously on {{{olddate}}}.

How to use this template:

{{Déjà vu geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| olddate = date of previous visit (required)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example:

{{Déjà vu geohash
| latitude = 47
| longitude = -122
| date = 2009-01-05
| olddate = 2003-02-12
| name = [[User:Jevanyn|Jevanyn]]
| image = Newarkk.jpg
}}

appears as:

Dejavu.png
Jevanyn earned the Déjà Vu Geohash Achievement
by reaching the (47, -122) geohash on 2009-01-05, and previously on 2003-02-12.
Newarkk.jpg