Difference between revisions of "Template:Picnic"

From Geohashing
imported>Jevanyn
m (remove extra blank lines after table)
imported>Relet
m (+bonus)
Line 2: Line 2:
 
<tr>
 
<tr>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: plum; border-collapse: separate;"><div>[[Image:Picnic.png|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: plum; border-collapse: separate;"><div>[[Image:Picnic.png|44px]]</div></td>
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Picnic_Geohash|Picnic Geohash]] achievement'''
+
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the {{#if:{{{bonus|}}}|{{{bonus}}}}} [[Picnic_Geohash|Picnic Geohash]] achievement'''
 
:by {{#if:{{{food|}}}|eating {{{food}}} at|reaching}} the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </td>
 
:by {{#if:{{{food|}}}|eating {{{food}}} at|reaching}} 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>|}}
Line 16: Line 16:
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| food = '''what you ate there''' (optional)''
 
:''| food = '''what you ate there''' (optional)''
 +
:''| bonus = '''Bonus''' or '''Double Bonus''' (if applicable)''
 
}}
 
}}
  
Line 65: Line 66:
 
| longitude = 11
 
| longitude = 11
 
| date = 2008-08-01
 
| date = 2008-08-01
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{Picnic_geohash
 +
| latitude = 50
 +
| longitude = 11
 +
| date = 2008-08-01
 +
| bonus = Bonus
 +
}}</code> appears as:
 +
 +
{{Picnic_geohash
 +
| latitude = 50
 +
| longitude = 11
 +
| date = 2008-08-01
 +
| bonus = Bonus
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 11:39, 11 February 2009

Picnic.png
This user earned the Picnic Geohash achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Picnic_geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)
| food = what you ate there (optional)
| bonus = Bonus or Double Bonus (if applicable)

}}

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

Example: {{Picnic_geohash | latitude = 50 | longitude = 11 | date = 2008-08-01 | name = Manu | image = Geo_20080801_50_11_2.JPG | food = cake }} appears as:

Picnic.png
Manu earned the Picnic achievement
by eating cake at the (50, 11) geohash on 2008-08-01.
Geo 20080801 50 11 2.JPG

Example: {{Picnic_geohash | latitude = 50 | longitude = 11 | date = 2008-08-01 | name = Manu }} appears as:

Picnic.png
Manu earned the Picnic achievement
by reaching the (50, 11) geohash on 2008-08-01.

Example: {{Picnic_geohash | latitude = 50 | longitude = 11 | date = 2008-08-01 }} appears as:

Picnic.png
This user earned the Picnic achievement
by reaching the (50, 11) geohash on 2008-08-01.

Example: {{Picnic_geohash | latitude = 50 | longitude = 11 | date = 2008-08-01 | bonus = Bonus }} appears as:

Picnic.png
This user earned the Bonus Picnic achievement
by reaching the (50, 11) geohash on 2008-08-01.