Difference between revisions of "Template:Birthday geohash"

From Geohashing
imported>Robyn
(Starting work on template)
 
imported>Robyn
(Intermediate save.)
Line 1: Line 1:
Template in progress as of [[User:Robyn|Robyn]] 20:46, 22 August 2008 (UTC).
+
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 +
<tr>
 +
<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>
 +
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Birthday Geohash]] achievement'''
 +
: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>
 +
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 +
</tr>
 +
</table>[[Category:Birthday geohash achievement]]
 +
 
 +
<noinclude>
 +
'''How to use this template:'''
 +
 
 +
&#x007B;{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:'''
 +
<pre><nowiki>{{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2009-01-05
 +
| pronoun = his
 +
| number = 39th
 +
| name = [[User:Jevanyn|Jevanyn]]
 +
| image = Widder.jpg
 +
}}</nowiki></pre> appears as:
 +
 
 +
{{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2009-01-05
 +
| pronoun = his
 +
| number = 39th
 +
| name = [[User:Jevanyn|Jevanyn]]
 +
| image = Widder.jpg
 +
}}
 +
 
 +
'''Example without number:'''
 +
<pre><nowiki>{{Birthday geohash
 +
latitude = 47
 +
| longitude = -122
 +
| date = 2009-01-05
 +
| pronoun = his
 +
| name = [[User:Jevanyn|Jevanyn]]
 +
}}</nowiki></pre> appears as:
 +
 
 +
{{Birthday geohash
 +
latitude = 47
 +
| longitude = -122
 +
| date = 2009-01-05
 +
| pronoun = his
 +
| name = [[User:Jevanyn|Jevanyn]]
 +
}}
 +
 
 +
'''Example:'''
 +
<code>&#x007B;{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| pronoun = their
 +
| name = Janet & Theresa
 +
}}</code> appears as:
 +
 
 +
{{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| pronoun = their
 +
| name = Janet & Theresa
 +
}}
 +
 
 +
'''Example:'''
 +
<code>&#x007B;{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| pronoun = her
 +
| date = 2008-05-25
 +
}}</code> appears as:
 +
 
 +
{{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| pronoun = her
 +
| date = 2008-05-25
 +
}}
 +
[[Category:Achievement award templates]]
 +
</noinclude>

Revision as of 21:09, 22 August 2008

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 geohash latitude = 47 | longitude = -122 | date = 2009-01-05 | pronoun = his | name = Jevanyn }}

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 | date = 2008-05-25 }} appears as:

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