Difference between revisions of "Template:Two to the N achievement"

From Geohashing
imported>Sourcerer
m (For anyone wanting to claim this for a graticule)
imported>Fippe
(For graticules)
Line 1: Line 1:
{{Ribbon
+
{{#switch:{{{graticule}}}
 +
|true={{Ribbon
 +
|color      = green
 +
|icon        = TwoToN.png
 +
|user        = {{{This graticule|name}}}
 +
|achievement = [[Two to the N achievement]]
 +
|action      = being the location of 2<sup>'''{{{count}}}'''</sup> {{#if:{{{reached|}}}||attempted}} expeditions on [[{{{date}}} {{{latitude|}}} {{{longitude|}}}]] and is promoted to '''Level {{{count}}}''' {{#if:{{{reached|}}}|(Coordinates reached)|(Expeditions)}}
 +
|image      = {{{image|}}}
 +
|category    = Two to the N achievement{{!}}{{{count}}}
 +
|expedition  = [[{{{date}}}{{{latitude|}}} {{{longitude|}}}]]
 +
}}
 +
|#default={{Ribbon
 
|color      = green
 
|color      = green
 
|icon        = TwoToN.png
 
|icon        = TwoToN.png
Line 6: Line 17:
 
|action      = {{#if:{{{reached|}}}|reaching|attempting to reach}} 2<sup>'''{{{count}}}'''</sup> {{#if:{{{global|}}}|global hashpoints|hashpoints}} on [[{{{date}}} {{#if:{{{global|}}}|global|{{{latitude|}}} {{{longitude|}}}}}]] and is promoted to '''Level {{{count}}}''' {{#if:{{{reached|}}}|(Coordinates reached)|(Expeditions)}}
 
|action      = {{#if:{{{reached|}}}|reaching|attempting to reach}} 2<sup>'''{{{count}}}'''</sup> {{#if:{{{global|}}}|global hashpoints|hashpoints}} on [[{{{date}}} {{#if:{{{global|}}}|global|{{{latitude|}}} {{{longitude|}}}}}]] and is promoted to '''Level {{{count}}}''' {{#if:{{{reached|}}}|(Coordinates reached)|(Expeditions)}}
 
|image      = {{{image|}}}
 
|image      = {{{image|}}}
|category    = Two to the N achievement
+
|category    = Two to the N achievement{{!}}{{{count}}}
 
|expedition  = [[{{{date}}} {{#if:{{{global|}}}|global|{{{latitude|}}} {{{longitude|}}}}}]]
 
|expedition  = [[{{{date}}} {{#if:{{{global|}}}|global|{{{latitude|}}} {{{longitude|}}}}}]]
}}<noinclude>
+
}}}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 19: Line 30:
 
:''| global    = '''true''' (optional - include for globalhash counting)''
 
:''| global    = '''true''' (optional - include for globalhash counting)''
 
:''| reached  = '''true''' (optional - include if you are counting coordinates reached)''
 
:''| reached  = '''true''' (optional - include if you are counting coordinates reached)''
 +
:''| graticule = '''true''' (optional - include if you are a graticule)''
 
}}
 
}}
  
Line 122: Line 134:
 
| name = David_Souther
 
| name = David_Souther
 
| global  = true
 
| global  = true
 +
}}
 +
 +
 +
'''Example - Be a graticule, count the coordinates reached within you, and include your name:'''
 +
 +
<code>&#x007B;{Two to the N achievement
 +
| graticule = true
 +
| count    = 5
 +
| latitude  = 52
 +
| longitude = 9
 +
| date      = 2015-03-25
 +
| reached  = true
 +
| name = Hannover, Germany
 +
}}</code>
 +
 +
appears as:
 +
 +
{{Two to the N achievement
 +
| graticule = true
 +
| count    = 5
 +
| latitude  = 52
 +
| longitude = 9
 +
| date      = 2015-03-25
 +
| reached  = true
 +
| name = Hannover, Germany
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:36, 20 October 2015

TwoToN.png
This user earned the Two to the N achievement
by attempting to reach 2{{{count}}} hashpoints on [[{{{date}}} ]] and is promoted to Level {{{count}}} (Expeditions).

How to use this template:

{{Two to the N achievement

| count = power of two (required)
| date = date (YYYY-MM-DD) (required)
| latitude = latitude (do not include for the globalhash ribbon)
| longitude = longitude (do not include for the globalhash ribbon)
| name = name of achiever (optional) OR graticule name (optional)
| global = true (optional - include for globalhash counting)
| reached = true (optional - include if you are counting coordinates reached)
| graticule = true (optional - include if you are a graticule)

}}


Example - Count your expeditions, whether or not you reached the coordinates and include the user:

{{Two to the N achievement | count = 5 | latitude = 52 | longitude = 0 | date = 2011-01-01 | name = Sourcerer }}

appears as:

TwoToN.png
Sourcerer earned the Two to the N achievement
by attempting to reach 25 hashpoints on 2011-01-01 52 0 and is promoted to Level 5 (Expeditions).


Example - Count your expeditions, whether or not you reached the coordinates and omit the user:

{{Two to the N achievement | count = 5 | latitude = 52 | longitude = 0 | date = 2011-01-01 }}

appears as:

TwoToN.png
This user earned the Two to the N achievement
by attempting to reach 25 hashpoints on 2011-01-01 52 0 and is promoted to Level 5 (Expeditions).


Example - Count your coordinates reached and include the user:

{{Two to the N achievement | count = 4 | latitude = 51 | longitude = -0 | date = 2010-09-24 | reached = true | name = Sourcerer }}

appears as:

TwoToN.png
Sourcerer earned the Two to the N achievement
by reaching 24 hashpoints on 2010-09-24 51 -0 and is promoted to Level 4 (Coordinates reached).


Example - Count your globalhash coordinates reached and include the user:

{{Two to the N achievement | count = 1 | date = 2015-04-19 | name = NWoodruff | global = true | reached = true }}

appears as:

TwoToN.png
NWoodruff earned the Two to the N achievement
by reaching 21 global hashpoints on 2015-04-19 global and is promoted to Level 1 (Coordinates reached).


Example - Count your globalhash expeditions, whether or not you reached the coordinates and include the user:

{{Two to the N achievement | count = 0 | date = 2009-03-04 | name = David_Souther | global = true }}

appears as:

TwoToN.png
David_Souther earned the Two to the N achievement
by attempting to reach 20 global hashpoints on 2009-03-04 global and is promoted to Level 0 (Expeditions).


Example - Be a graticule, count the coordinates reached within you, and include your name:

{{Two to the N achievement | graticule = true | count = 5 | latitude = 52 | longitude = 9 | date = 2015-03-25 | reached = true | name = Hannover, Germany }}

appears as:

TwoToN.png
Hannover, Germany earned the Two to the N achievement
by being the location of 25 expeditions on 2015-03-25 52 9 and is promoted to Level 5 (Coordinates reached).