Difference between revisions of "Template:Birthday geohash"

From Geohashing
imported>Robyn
(in progress)
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 = royalblue
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: royalblue; border-collapse: separate;"><div>[[Image:Birthday.PNG|44px]]</div></td>
+
|icon = Birthday.PNG
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Birthday Geohash]] achievement'''
+
|user = {{#if:{{{name|}}}|{{{name}}}|This user}}
:by reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on {{{pronoun}}} {{#if:{{{number|}}}|{{{number}}} |}} birthday, [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </td>
+
|achievement = [[Birthday 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 {{{pronoun}}} {{#if:{{{number|}}}|{{{number}}} |}} birthday, [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
|image = {{{image|}}}
</table>[[Category:Birthday geohash achievement]]
+
|category = Birthday geohash achievement
 
+
}}<noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 20:27, 13 February 2009

Birthday.PNG
This user earned the Birthday Geohash Achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on {{{pronoun}}} birthday, [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Birthday geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| pronoun = possessive pronoun, i.e. his/her (required)
| name = name of achiever (optional)
| number = which birthday, e.g. 47th (optional)
| image = image name (optional)

}}

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

Example:

{{Birthday geohash
| latitude = 47
| longitude = -122
| date = 2009-01-05
| pronoun = his
| number = 39th
| name = [[User:Jevanyn|Jevanyn]]
| image = Widder.jpg
}}

appears as:

Birthday.PNG
Jevanyn earned the Birthday Geohash Achievement
by reaching the (47, -122) geohash on his 39th birthday, 2009-01-05.
Widder.jpg

Example without number:

{{Birthday geohash
latitude = 47
| longitude = -122
| date = 2009-01-05
| pronoun = his
| name = [[User:Jevanyn|Jevanyn]]
}}

appears as:

Birthday.PNG
Jevanyn earned the Birthday Geohash Achievement
by reaching the (47, -122) geohash on his birthday, 2009-01-05.

Example: {{Birthday geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | pronoun = their | name = Janet & Theresa }} appears as:

Birthday.PNG
Janet & Theresa earned the Birthday Geohash Achievement
by reaching the (47, -122) geohash on their birthday, 2008-05-25.

Example: {{Birthday geohash | latitude = 47 | longitude = -122 | pronoun = her | number = 21st | date = 2008-05-25 }} appears as:

Birthday.PNG
This user earned the Birthday Geohash Achievement
by reaching the (47, -122) geohash on her 21st birthday, 2008-05-25.