Difference between revisions of "Template:Leap geohash"

From Geohashing
imported>Sourcerer
m (Added Category)
(Upgrade to Ribbon2)
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
 
|#default =  
 
|#default =  
{{Ribbon
+
{{Achievement
 
| color    = darkgreen
 
| color    = darkgreen
 
| icon    = Leap.png
 
| icon    = Leap.png
Line 12: Line 12:
 
}}
 
}}
 
|second =  
 
|second =  
{{Ribbon
+
{{Achievement
 
| color    = darkgreen
 
| color    = darkgreen
 
| icon    = Leap.png
 
| icon    = Leap.png
Line 50: Line 50:
 
  <nowiki>{{leap geohash|year=2012|lat=59|lon=17}}</nowiki>
 
  <nowiki>{{leap geohash|year=2012|lat=59|lon=17}}</nowiki>
 
{{leap geohash|year=2012|lat=59|lon=17}}
 
{{leap geohash|year=2012|lat=59|lon=17}}
 +
  
 
  <nowiki>{{leap geohash|second|date=2012-06-30|lat=38|lon=-95}}</nowiki>
 
  <nowiki>{{leap geohash|second|date=2012-06-30|lat=38|lon=-95}}</nowiki>
 
{{leap geohash|second|date=2012-06-30|lat=38|lon=-95}}
 
{{leap geohash|second|date=2012-06-30|lat=38|lon=-95}}
 +
 +
 +
<nowiki>{{Leap geohash|lat=44|lon=-79|year=2020|name=SIGSTKFLT}}</nowiki>
 +
{{Leap geohash|lat=44|lon=-79|year=2020|name=SIGSTKFLT}}
 +
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:31, 2 March 2020

Leap.png
by leaping to [[{{{year}}}-02-29 {{{lat}}} {{{lon}}}|the hash point]] on leap day of the year {{{year}}}.

How to use this template:

For leap days:

{{Leap geohash

| year = leap year (mandatory)
| lat = latitude of the graticule (mandatory)
| lon = longitude of the graticule (mandatory)
| name = name of achiever (optional)
| image = image name (optional)

}}

For leap seconds:

{{Leap geohash|second

| date = date (YYYY-MM-DD format) (mandatory)
| lat = latitude of the graticule (mandatory)
| lon = longitude of the graticule (mandatory)
| name = name of achiever (optional)
| image = image name (optional)

}}

Examples:

{{leap geohash|year=2012|lat=59|lon=17}}
Leap.png
This user earned the Leap geohash achievement 2012
by leaping to the hash point on leap day of the year 2012.


{{leap geohash|second|date=2012-06-30|lat=38|lon=-95}}
Leap.png
This user earned the Leap second geohash achievement
by leaping to the hash point in a leap second on 2012-06-30.


{{Leap geohash|lat=44|lon=-79|year=2020|name=SIGSTKFLT}}
Leap.png
SIGSTKFLT earned the Leap geohash achievement 2020
by leaping to the hash point on leap day of the year 2020.