Template:Eclipse

From Geohashing
Revision as of 17:27, 16 April 2024 by KerrMcF (talk | contribs) (Created page with "{{Ribbon | color = black | icon = eclipse.png | user = {{{name|}}} | customtitle = achieved level {{#switch:{{{type}}} | solar = {{#switch:{{{subtype}}} | total =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Eclipse.png
This user achieved level Expression error: Unexpected > operator. of the Eclipse achievement
by observing a {{{subtype}}} {{{type}}} eclipse at the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Eclipse

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| subtype = see below (required)
| type = see below (required)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

{{{subtype}}} {{{type}}} must be one of these combinations (excluding the achievement levels in red):

  • total solar (level 4)
  • annular solar (level 3)
  • partial solar (level 2)
  • total lunar (level 1)
  • partial lunar (level 1)
  • penumbral lunar (level 1)

If these combinations are not followed, there will be an error message in the ribbon such as above.

The level is automatically determined based on the specified type and subtype.

Example:

{{Eclipse
| latitude = 62
| longitude = 30
| date = 2021-06-10
| subtype = partial
| type = solar
| name = [[User:Kripakko|Kripakko]]
}}

appears as:

Eclipse.png
Kripakko achieved level 2 of the Eclipse achievement
by observing a partial solar eclipse at the (62, 30) geohash on 2021-06-10.


Example:

{{Eclipse
| latitude = 37
| longitude = -122
| date = 2005-05-26
| subtype = total
| type = solar
}}

appears as:

Eclipse.png
This user achieved level 4 of the Eclipse achievement
by observing a total solar eclipse at the (37, -122) geohash on 2005-05-26.


Example:

{{Eclipse
| latitude = 37
| longitude = -122
| date = 2005-05-26
| subtype = total
| type = lunar
}}

appears as:

Eclipse.png
This user achieved level 1 of the Eclipse achievement
by observing a total lunar eclipse at the (37, -122) geohash on 2005-05-26.