Difference between revisions of "Template:Globalhash"

From Geohashing
imported>Wmcduff
m (Globalhash template creation)
 
imported>Per S
(Modified to use the Ribbon template)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: pink;">
+
{{Ribbon
<tr>
+
| icon        = Globalhash.png
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: pink; border-collapse: separate;"><div>[[Image:Globalhash.png|44px]]</div></td>
+
| color      = pink
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Globalhash|Globalhash]] achievement'''
+
| user        = {{{name|}}}
:by reaching the globalhash for {{{date}}}.</td>
+
| achievement = [[Globalhash]] achievement
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action      = reaching the globalhash for [[{{{date}}} global|{{{date}}}]]
</tr>
+
| category    = Globashash achievement
</table>[[Category:Globalhash achievement]]
+
| expedition  = [[{{{date}}} global]]
<noinclude>
+
| image      = {{{image|}}}
 +
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 16:54, 4 December 2011

Globalhash.png
This user earned the Globalhash achievement
by reaching the globalhash for [[{{{date}}} global|{{{date}}}]].

How to use this template:

{{globalhash

| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example: {{globalhash | date = 2008-09-05 | name = Relet }} appears as:

Globalhash.png
Relet earned the Globalhash achievement
by reaching the globalhash for 2008-09-05.

Example: {{globalhash | date = 2008-09-05 }} appears as:

Globalhash.png
This user earned the Globalhash achievement
by reaching the globalhash for 2008-09-05.