Difference between revisions of "Template:Dark Ages"

From Geohashing
(I'll need a `linkcolor` argument or something but this should work.)
 
(lightlinks class)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Achievement
+
{{Ribbon
| background = black
+
| bgcolor = black
 
| fontcolor = white
 
| fontcolor = white
 +
| class = lightlinks
 
| color = black
 
| color = black
 
| icon = Fiveohthree.png
 
| icon = Fiveohthree.png
 
| achievement = [[Dark Ages achievement]]
 
| achievement = [[Dark Ages achievement]]
| action = reaching the [http://carabiner.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
| action = going on an expedition to the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
 +
| user = {{{name|}}}
 +
| image = {{{image|}}}
 +
| category = Dark Ages achievement
 +
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
 +
| multiplier = {{{multiplier|}}}
 +
}}<noinclude>
 +
'''How to use this template:'''
 +
 
 +
{{Dark Ages
 +
:| latitude = '''latitude''' (required)
 +
:| longitude = '''longitude''' (required)
 +
:| date = '''date (YYYY-MM-DD format)''' (required)
 +
:''| name = '''name of achiever''' (optional)''
 +
:''| image = '''image name''' (optional)''
 
}}
 
}}
 +
 +
The image name should not include 'Image:' or surrounding braces.
 +
 +
'''Example:''' (with photograph)
 +
<code>&#x007B;{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
| name = &#x005B;[User:DanQ|DanQ]]
 +
| image = Vlcsnap-2019-11-29-15h55m24s199.jpg
 +
}}</code> appears as:
 +
 +
{{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
| name = [[User:DanQ|DanQ]]
 +
| image = Vlcsnap-2019-11-29-15h55m24s199.jpg
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
| name = &#x005B;[User:DanQ|DanQ]]
 +
}}</code> appears as:
 +
 +
{{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
| name = [[User:DanQ|DanQ]]
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
}}</code> appears as:
 +
 +
{{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
| multiplier = 2}}</code> appears as:
 +
 +
{{Dark Ages
 +
| latitude = 51
 +
| longitude = -1
 +
| date = 2019-11-29
 +
| multiplier = 2
 +
}}
 +
 +
[[Category:Achievement award templates]]
 +
</noinclude>

Latest revision as of 17:59, 18 November 2024

How to use this template:

{{Dark Ages

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

}}

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

Example: (with photograph) {{Dark Ages | latitude = 51 | longitude = -1 | date = 2019-11-29 | name = [[User:DanQ|DanQ]] | image = Vlcsnap-2019-11-29-15h55m24s199.jpg }} appears as:

Example: {{Dark Ages | latitude = 51 | longitude = -1 | date = 2019-11-29 | name = [[User:DanQ|DanQ]] }} appears as:

Example: {{Dark Ages | latitude = 51 | longitude = -1 | date = 2019-11-29 }} appears as:

Example: {{Dark Ages | latitude = 51 | longitude = -1 | date = 2019-11-29 | multiplier = 2}} appears as: