Difference between revisions of "Template:Hashcard"

From Geohashing
imported>Koepfel
m (fixing howto-example)
imported>Relet
(switching to 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>
+
|icon = Hashcard2.png
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: red; border-collapse: separate;"><div>[[Image:Hashcard2.png|44px]]</div></td>
+
|color = red
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Hashcard achievement]]'''
+
|user = {{{name|}}}
:by sending a postcard of the hashpoint area to {{#if:{{{recipient|}}}|{{{recipient}}}|another geohasher}} on the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}})] expedition on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </td>
+
|achievement = [[Hashcard achievement]]
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
|action = sending a postcard of the hashpoint area to {{#if:{{{recipient|}}}|{{{recipient}}}|another geohasher}} on the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}})] expedition on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
|category = Hashcard achievement
</table>[[Category:Hashcard achievement]]
+
}}<noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 20:17, 14 January 2010

Hashcard2.png
This user earned the Hashcard achievement
by sending a postcard of the hashpoint area to another geohasher on the ({{{latitude}}}, {{{longitude}}}) expedition on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Hashcard

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| recipient = recipient (username, optional)
| name = name of achiever (optional)
| image = image name (optional)

}}

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