Difference between revisions of "Template:Birthday geohash"

From Geohashing
imported>Robyn
(Starting work on template)
 
m (Replacing Peeron with Geohashing.info)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Template in progress as of [[User:Robyn|Robyn]] 20:46, 22 August 2008 (UTC).
+
{{Ribbon
 +
|color = royalblue
 +
|icon = Birthday.PNG
 +
|user = {{#if:{{{name|}}}|{{{name}}}|This user}}
 +
|achievement = [[Birthday Geohash]] Achievement
 +
|action = reaching the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on {{{pronoun}}} {{#if:{{{number|}}}|{{{number}}} |}} birthday, [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
 +
|image = {{{image|}}}
 +
|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 = 2008-05-25
 +
| pronoun = his
 +
| number = 39th
 +
| name = [[User:Jevanyn|Jevanyn]]
 +
| image = Widder.jpg
 +
}}</nowiki></pre> appears as:
 +
 
 +
{{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| pronoun = his
 +
| number = 39th
 +
| name = [[User:Jevanyn|Jevanyn]]
 +
| image = Widder.jpg
 +
}}
 +
 
 +
'''Example without number:'''
 +
<pre><nowiki>{{Birthday geohash
 +
latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| pronoun = his
 +
| name = [[User:Jevanyn|Jevanyn]]
 +
}}</nowiki></pre> appears as:
 +
 
 +
{{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| 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
 +
| number = 21st
 +
| date = 2008-05-25
 +
}}</code> appears as:
 +
 
 +
{{Birthday geohash
 +
| latitude = 47
 +
| longitude = -122
 +
| pronoun = her
 +
| number = 21st
 +
| date = 2008-05-25
 +
}}
 +
[[Category:Achievement award templates]]
 +
</noinclude>

Latest revision as of 10:43, 15 January 2022

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 = 2008-05-25
| 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, 2008-05-25.
Widder.jpg

Example without number:

{{Birthday geohash
latitude = 47
| longitude = -122
| date = 2008-05-25
| 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, 2008-05-25.

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.