Difference between revisions of "Template:Leap geohash"
From Geohashing
imported>Relet |
imported>Fippe (expanded this for leap seconds) |
||
Line 1: | Line 1: | ||
+ | {{#switch:{{{2}}} | ||
+ | |#default = | ||
{{Ribbon | {{Ribbon | ||
| color = darkgreen | | color = darkgreen | ||
Line 8: | Line 10: | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| expedition = [[{{{year}}}-02-29 {{{lat}}} {{{lon}}}]] | | expedition = [[{{{year}}}-02-29 {{{lat}}} {{{lon}}}]] | ||
+ | }} | ||
+ | |second = | ||
+ | {{Ribbon | ||
+ | | color = darkgreen | ||
+ | | icon = Leap.png | ||
+ | | user = {{{name|}}} | ||
+ | | achievement = [[Leap geohash achievement|Leap second geohash achievement]] | ||
+ | | action = leaping to [[{{{date}}} {{{lat}}} {{{lon}}}|the hash point]] in a ''leap second'' on {{{date}}} | ||
+ | | category = Leap geohash achievement | ||
+ | | image = {{{image|}}} | ||
+ | | expedition = [[{{{date}}} {{{lat}}} {{{lon}}}]] | ||
+ | }} | ||
}}<noinclude> | }}<noinclude> | ||
'''How to use this template:''' | '''How to use this template:''' | ||
+ | |||
+ | '''For leap ''days'':''' | ||
{{Leap geohash | {{Leap geohash | ||
:''| year = '''leap year''' (mandatory)'' | :''| 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)'' | :''| lat = '''latitude of the graticule''' (mandatory)'' | ||
:''| lon = '''longitude of the graticule''' (mandatory)'' | :''| lon = '''longitude of the graticule''' (mandatory)'' | ||
Line 24: | Line 50: | ||
'''Examples:''' | '''Examples:''' | ||
− | <nowiki>{{leap geohash|year=2012|lat= | + | <nowiki>{{leap geohash|year=2012|lat=59|lon=17}}</nowiki> |
− | {{ | + | {{leap geohash|year=2012|lat=59|lon=17}} |
+ | |||
+ | <nowiki>{{leap geohash|second|date=2012-06-30|lat=38|lon=-95}}</nowiki> | ||
+ | {{leap geohash|second|date=2012-06-30|lat=38|lon=-95}} | ||
</noinclude> | </noinclude> |
Revision as of 23:29, 3 March 2015
This user earned the Leap geohash achievement {{{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}}
This user earned the Leap geohash achievement 2012
|
{{leap geohash|second|date=2012-06-30|lat=38|lon=-95}}
This user earned the Leap second geohash achievement
|