Difference between revisions of "Template:Birthday geohash"
From Geohashing
imported>Robyn (Starting work on template) |
imported>Robyn (Intermediate save.) |
||
Line 1: | Line 1: | ||
− | + | <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:''' | ||
+ | |||
+ | {{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>{{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>{{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
This user earned the Birthday Geohash achievement
|
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:
Jevanyn earned the Birthday Geohash Achievement
|
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:
Janet & Theresa earned the Birthday Geohash Achievement
|
Example:
{{Birthday geohash
| latitude = 47
| longitude = -122
| pronoun = her
| date = 2008-05-25
}}
appears as:
This user earned the Birthday Geohash Achievement
|