Difference between revisions of "Template:Youngest geohasher"
From Geohashing
imported>Jevanyn m |
imported>Relet (-> ribbon template) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Ribbon | |
− | + | | color = red | |
− | + | | icon = Youngest.PNG | |
− | + | | user = {{{name|}}} | |
− | + | | achievement = [[Youngest Geohash]] Achievement | |
− | {{#if:{{{name2|}}} | + | | action = geohashing on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] {{#if:{{{name2|}}}|with {{{name2}}}, aged|at the age of}} {{#switch:{{{years|0}}}|0=|1=1 year|{{{years}}} years}}{{#if:{{{years|}}}|{{#if:{{{months|}}}{{{days|}}}|, }}}}{{#switch:{{{months|0}}}|0=|1=1 month|{{{months}}} months}}{{#if:{{{years|}}}{{{months|}}}|{{#if:{{{days|}}}|, }}}}{{#switch:{{{days|0}}}|0=|1=one day|{{{days}}} days}} |
− | + | | image = {{{image|}}} | |
− | + | | category = Youngest geohasher achievement | |
− | }} | + | }}<noinclude> |
− | {{#switch:{{{years|0}}}|0=|1=1 year|{{{years}}} years}}{{#if:{{{months|}}}{{{days|}}}|,}} | ||
− | {{#switch:{{{months|0}}}|0=|1=1 month|{{{months}}} months}}{{#if:{{{days|}}}|,}} | ||
− | {{#switch:{{{days|0}}}|0=|1=one day|{{{days}}} days}} | ||
− | |||
− | |||
− | |||
'''How to use this template:''' | '''How to use this template:''' | ||
Line 33: | Line 27: | ||
'''Example:''' | '''Example:''' | ||
<code>{{Youngest geohasher | <code>{{Youngest geohasher | ||
− | | latitude = | + | | latitude = 42 |
− | | longitude = - | + | | longitude = -83 |
− | | date = 2008-06- | + | | date = 2008-06-28 |
− | | name = | + | | name = Billsquared |
− | | name2 = his son | + | | name2 = his son Braydon |
− | |||
| months = 6 | | months = 6 | ||
− | | days = | + | | days = 18 |
}}</code> appears as: | }}</code> appears as: | ||
{{Youngest geohasher | {{Youngest geohasher | ||
− | | latitude = | + | | latitude = 42 |
− | | longitude = - | + | | longitude = -83 |
− | | date = 2008-06- | + | | date = 2008-06-28 |
− | | name = | + | | name = Billsquared |
− | | name2 = his son | + | | name2 = his son Braydon |
− | |||
| months = 6 | | months = 6 | ||
− | | days = | + | | days = 18 |
}} | }} | ||
'''Example:''' | '''Example:''' | ||
<code>{{Youngest geohasher | <code>{{Youngest geohasher | ||
− | | latitude = | + | | name = Geekthras |
− | | longitude = - | + | | latitude = 42 |
− | | date = 2008-06- | + | | longitude = -71 |
− | | years = | + | | date = 2008-06-07 |
+ | | years = 14 | ||
}}</code> appears as: | }}</code> appears as: | ||
{{Youngest geohasher | {{Youngest geohasher | ||
− | | latitude = | + | | name = Geekthras |
− | | longitude = - | + | | latitude = 42 |
− | | date = 2008-06- | + | | longitude = -71 |
− | | years = | + | | date = 2008-06-07 |
+ | | years = 14 | ||
}} | }} | ||
[[Category:Achievement award templates]] | [[Category:Achievement award templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:02, 15 February 2009
This user earned the Youngest Geohash Achievement
|
How to use this template:
{{Youngest geohasher
- | latitude = latitude (required)
- | longitude = longitude (required)
- | date = date of geohash (YYYY-MM-DD format) (required)
- | name = name of achiever (optional)
- | name2 = name of young achiever, if different from the first (optional)
- | years = year part of young geohasher's age
- | months = month part of young geohasher's age
- Either years or months is required.
- | days = day part of young geohasher's age (optional)
- | image = image name (optional)
}}
The image name should not include 'Image:' or surrounding braces.
Example:
{{Youngest geohasher
| latitude = 42
| longitude = -83
| date = 2008-06-28
| name = Billsquared
| name2 = his son Braydon
| months = 6
| days = 18
}}
appears as:
Billsquared earned the Youngest Geohash Achievement
|
Example:
{{Youngest geohasher
| name = Geekthras
| latitude = 42
| longitude = -71
| date = 2008-06-07
| years = 14
}}
appears as:
Geekthras earned the Youngest Geohash Achievement
|