Difference between revisions of "Template:Oldest geohasher"

From Geohashing
imported>Jevanyn
imported>Jevanyn
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: red; border-collapse: separate;"><div>[[Image:Oldest.png|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: red; border-collapse: separate;"><div>[[Image:Oldest.png|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{{name|This user}}} earned the [[Oldest Geohash]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{{name|This user}}} earned the [[Oldest Geohash]] achievement'''
:on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] by geohashing&nbsp;{{#if:{{{name2|}}}|with {{{name2}}}, aged|at the age of}} 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}}.''' </td>
+
:on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] by geohashing&nbsp;{{#if:{{{name2|}}}|with {{{name2}}}, aged|at the age of}} {{{years}}} years{{#if:{{{months|}}}{{{days|}}}|,&nbsp;}}{{#switch:{{{months|0}}}|0=|1=1 month|{{{months}}} months}}{{#if:{{{months|}}}|{{#if:{{{days|}}}|,&nbsp;}}}}{{#switch:{{{days|0}}}|0=|1=one day|{{{days}}} days}}.''' </td>
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
</tr>
 
</tr>

Revision as of 23:52, 8 January 2009

How to use this template:

{{Oldest geohasher

| latitude = latitude (required)
| longitude = longitude (required)
| date = date of geohash (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| name2 = name of old achiever, if different from the first (optional)
| years = year part of old geohasher's age (required)
| months = month part of old geohasher's age (optional)
| days = day part of young geohasher's age (optional)
| image = image name (optional)

}}

The image name should not include 'Image:' or surrounding braces.

Example: {{Oldest geohasher | latitude = 42 | longitude = -83 | date = 2008-06-28 | name = Billsquared | name2 = his mom-in-law Gretchen | years = 62 }} appears as:

Oldest.png
Billsquared earned the Oldest Geohash Achievement
by geohashing on 2008-06-28 by geohashing with his mom-in-law Gretchen, aged 62 years.

Example: {{Oldest geohasher | name = Ford | latitude = 44 | longitude = -93 | date = 2008-05-25 | years = 55 }} appears as:

Oldest.png
Ford earned the Oldest Geohash Achievement
by geohashing on 2008-05-25 by geohashing at the age of 55 years.