Difference between revisions of "Template:Youngest geohasher"

From Geohashing
imported>Jevanyn
imported>Relet
(-> ribbon template)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{Ribbon
<tr>
+
| color    = red
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: red; border-collapse: separate;"><div>[[Image:Youngest.PNG|44px]]</div></td>
+
| icon    = Youngest.PNG
<td style="padding: 0px 12px 0px 10px;"> '''{{{name|This user}}} earned the [[Youngest Geohash]] achievement'''
+
| user    = {{{name|}}}
:on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] by geohashing&nbsp;{{#if:{{{name2|}}}|with {{{name2}}}, aged|at the age of}} {{#switch:{{{years|0}}}|0=|1=1 year|{{{years}}} years}}{{#if:{{{years|}}}|{{#if:{{{months|}}}{{{days|}}}|,}}}}&nbsp;{{#switch:{{{months|0}}}|0=|1=1 month|{{{months}}} months}}{{#if:{{{years|}}}{{{months|}}}|{{#if:{{{days|}}}|,}}}} {{#switch:{{{days|0}}}|0=|1=one day|{{{days}}} days}}.''' </td>
+
| achievement = [[Youngest Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| 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|}}}|,&nbsp;}}}}{{#switch:{{{months|0}}}|0=|1=1 month|{{{months}}} months}}{{#if:{{{years|}}}{{{months|}}}|{{#if:{{{days|}}}|,&nbsp;}}}}{{#switch:{{{days|0}}}|0=|1=one day|{{{days}}} days}}
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Youngest geohasher achievement]]</includeonly><noinclude>
+
| category = Youngest geohasher achievement
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Latest revision as of 11:02, 15 February 2009

Youngest.PNG
This user earned the Youngest Geohash Achievement
by geohashing on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] at the age of.

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:

Youngest.PNG
Billsquared earned the Youngest Geohash Achievement
by geohashing on 2008-06-28 with his son Braydon, aged 6 months, 18 days.

Example: {{Youngest geohasher | name = Geekthras | latitude = 42 | longitude = -71 | date = 2008-06-07 | years = 14 }} appears as:

Youngest.PNG
Geekthras earned the Youngest Geohash Achievement
by geohashing on 2008-06-07 at the age of 14 years.