Difference between revisions of "Template:Hashcard"

From Geohashing
imported>Ilpadre
(i hate creating templates. please fix it if it's not working correctly)
 
m (Replacing Peeron with Geohashing.info)
 
(9 intermediate revisions by 6 users not shown)
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 his [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 [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}})] expedition on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
|image = {{{image|}}}
</table>[[Category:Hashcard achievement]]
+
|category = Hashcard achievement
 
+
|expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
&#x007B;{Hashcard achievement
+
&#x007B;{Hashcard
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
Line 21: Line 21:
  
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.
 +
 +
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:47, 15 January 2022

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.