Difference between revisions of "Template:Multihash2"

From Geohashing
imported>Relet
m
imported>Benjw
m (correct template name)
 
(20 intermediate revisions by 4 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>
+
| color    = green
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: green; border-collapse: separate;"><div>[[Image:Multihash.png|44px]]</div></td>
+
| icon    = Multihash.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Multihash|Multihash]] achievement'''
+
| user    = {{{name|}}}
:by reaching {{{count}}} hash points on [[{{{date}}} {{{latitude1}}} {{{longitude1}}}|{{{date}}}]].
+
| achievement = [[Multihash]] Achievement
{{#ifeq:{{{count}}}|2|It's a Double Hash!|}}
+
| action  = reaching '''{{{count}}}''' hash points on [[{{{date}}}]]. It's {{#ifeq:{{{count}}}|2|a Double|}}{{#ifeq:{{{count}}}|3|a Triple|}}{{#ifeq:{{{count}}}|4|an Ultra|}}{{#ifeq:{{#expr:{{{count}}}>4}}|1|a MONSTER|}} Hash
{{#ifeq:{{{count}}}|3|It's a Triple Hash!|}}
+
| image    = {{{image|}}}
{{#ifeq:{{{count}}}|4|It's an Ultra Hash!|}}
+
| expedition = [[{{{date}}}|{{{count}}} hashes]]
{{#ifeq:{{#expr:{{{count}}}>4}}|1|It's a MONSTER Hash!!1|}}
+
| category = Multihash achievement
</td>
+
}}<noinclude>
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
'''How to use this template:'''
</tr>
+
 
</table>[[Category:Multihash achievement]]
+
&#x007B;{Multihash2
 +
:| date = '''date (YYYY-MM-DD format)''' (required)
 +
:| count = '''number of hashpoints reached''' (required)
 +
:''| name = '''name of achiever''' (optional)''
 +
:''| image = '''image name''' (optional)''
 +
}}
 +
 
 +
The image name should not include 'Image:' or surrounding braces.
  
 
'''Example:'''
 
'''Example:'''
 
<code>&#x007B;{Multihash2
 
<code>&#x007B;{Multihash2
| count = 1
+
| count = 2
| latitude = 42
 
| longitude = 23
 
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = Noterminal and Drache
 
| name = Noterminal and Drache
Line 24: Line 29:
  
 
{{Multihash2
 
{{Multihash2
| count = 1
+
| count = 2
| latitude = 42
 
| longitude = 23
 
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = Noterminal and Drache
 
| name = Noterminal and Drache
Line 32: Line 35:
 
}}
 
}}
  
<noinclude>
 
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:58, 17 June 2013

Multihash.png
This user earned the Multihash Achievement
by reaching {{{count}}} hash points on [[{{{date}}}]]. It's Hash.

How to use this template:

{{Multihash2

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

}}

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

Example: {{Multihash2 | count = 2 | date = 2008-02-19 | name = Noterminal and Drache | image = Noterminal_portland_sample_2.jpg }} appears as:

Multihash.png
Noterminal and Drache earned the Multihash Achievement
by reaching 2 hash points on 2008-02-19. It's a Double Hash.
Noterminal portland sample 2.jpg