Difference between revisions of "Template:Regional geohashing"

From Geohashing
imported>Wmcduff
m (Changing to match title)
imported>Relet
(+count parameter)
Line 3: Line 3:
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lightblue; border-collapse: separate;"><div>[[Image:Regionalhash.png|44px]]</div></td>
 
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: lightblue; border-collapse: separate;"><div>[[Image:Regionalhash.png|44px]]</div></td>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Regional Geohashing|Regional Geohashing]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Regional Geohashing|Regional Geohashing]] achievement'''
:by reaching a hash point in all possible {{{region}}} graticules.</td>
+
:by reaching a hash point {{#if:{{{count|}}}|in all {{{count}}} graticules belonging to {{{region}}}|in all possible {{{region}}} graticules}}.</td>
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
 
</tr>
 
</tr>
Line 14: Line 14:
 
:| name = '''Name of achiever'''
 
:| name = '''Name of achiever'''
 
:| region = '''Name of region'''
 
:| region = '''Name of region'''
 +
:''| count = '''number of graticules''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 
}}
 
}}
Line 28: Line 29:
 
| name = Wmcduff
 
| name = Wmcduff
 
| region = New Brunswick
 
| region = New Brunswick
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{Regional geohash
 +
| name = Wmcduff
 +
| region = New Brunswick
 +
| count = 3
 +
}}</code> appears as:
 +
 +
{{Regional geohash
 +
| name = Wmcduff
 +
| region = New Brunswick
 +
| count = 3
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Revision as of 23:22, 25 August 2008

Regionalhash.png
This user earned the Regional Geohashing achievement
by reaching a hash point in all possible {{{region}}} graticules.


How to use this template:

{{Regional geohash

| name = Name of achiever
| region = Name of region
| count = number of graticules (optional)
| image = image name (optional)

}}

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

Example: {{Regional geohash | name = Wmcduff | region = New Brunswick }} appears as:

Regionalhashingsimple.png
Wmcduff earned the Regional geohashing achievement
by reaching a hash point in all possible New Brunswick graticules.

Example: {{Regional geohash | name = Wmcduff | region = New Brunswick | count = 3 }} appears as:

Regionalhashingsimple.png
Wmcduff earned the Regional geohashing achievement
by reaching a hash point in all 3 graticules belonging to New Brunswick.