Difference between revisions of "Template:Ambassador"

From Geohashing
imported>Robyn
(Initial test of template)
 
imported>Robyn
(Template should work now.)
Line 2: Line 2:
 
<tr>
 
<tr>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: gold; border-collapse: separate;"><div>[[Image:gift.PNG|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: gold; border-collapse: separate;"><div>[[Image:gift.PNG|44px]]</div></td>
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Ambassador_Geohash|Ambassador Geohash]] achievement'''
+
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Ambassador_Geohash|Ambassador Geohash]] achievement by obtaining permission'''
:by obtaining permission {{#if:{{{granter|}}}|from {{{granter}}}|}} to access the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </td>
+
{{#if:{{{granter|}}}|from {{{granter}}}|}} to access the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </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 02:28, 21 July 2008

Gift.PNG
This user earned the Ambassador Geohash achievement by obtaining permission to access the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].


How to use this template:

{{Ambassador geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| granter = name of person or agency granting permission (optional)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example: {{Ambassador geohash | latitude = 53 | longitude = -1 | date = 2008-05-24 | granter = Major Tom | name = Tom Viza | image = 2008-05-24_53_-1_j.jpg }} appears as:

Gift.PNG
Tom Viza earned the Ambassador achievement
by obtaining permission from Major Tom to access the (53, -1) geohash on 2008-05-24.
2008-05-24 53 -1 j.jpg

Example: {{Ambassador geohash | latitude = 53 | longitude = -1 | date = 2008-05-24 | name = Tom Viza }} appears as:

Gift.PNG
Tom Viza earned the Ambassador achievement
by obtaining permission to access the (53, -1) geohash on 2008-05-24.

Example: {{Ambassador geohash | latitude = 53 | longitude = -1 | date = 2008-05-24 }} appears as:

Gift.PNG
This user earned the Ambassador achievement
by obtaining permission to access the (53, -1) geohash on 2008-05-24.