Difference between revisions of "Template:Picnic"

From Geohashing
imported>Relet
m (lkify)
imported>Relet
(+cat -> ribbon template)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{Ribbon
<tr>
+
| color    = plum
<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>
+
| icon    = Picnic.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Picnic_Geohash|{{#if:{{{bonus|}}}|{{{bonus}}}}} Picnic Geohash]] achievement'''
+
| user    = {{{name|}}}
: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>
+
| achievement = [[Picnic_Geohash|{{#if:{{{bonus|}}}|{{{bonus}}}}} Picnic Geohash]] Achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = {{#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}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Picnic Geohash Achievement]]<noinclude>
+
| category = Picnic Geohash Achievement
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 82: Line 83:
 
| bonus = Bonus
 
| bonus = Bonus
 
}}
 
}}
 +
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:48, 16 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.