Difference between revisions of "Template:Vexillology"

From Geohashing
(Ribbon for Vexillology achievement)
 
(add flag parameter)
Line 4: Line 4:
 
|user = {{{name|}}}
 
|user = {{{name|}}}
 
|achievement = [[Vexillology achievement|{{#if:{{{honor|}}}|Vexillology honorable mention|Vexillology achievement}}]]
 
|achievement = [[Vexillology achievement|{{#if:{{{honor|}}}|Vexillology honorable mention|Vexillology achievement}}]]
|action = spotting a flag {{#if:{{{honor|}}}|in the form of a image/drawing|}} while at the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
|action = spotting {{#if:{{{flag|}}}|{{{flag}}}|a flag}} {{#if:{{{honor|}}}|in the form of a image/drawing|}} while at the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|category = Vexillology achievement
 
|category = Vexillology achievement
Line 14: Line 14:
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 +
:''| flag = '''identity of the flag''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
Line 34: Line 35:
 
| date = 2024-05-01
 
| date = 2024-05-01
 
| name = KerrMcF
 
| name = KerrMcF
 +
}}
 +
 +
'''Example:'''
 +
<code>&#x007B;{Vexillology
 +
| latitude = 55
 +
| longitude = -4
 +
| date = 2024-05-01
 +
| name = KerrMcF
 +
| flag = the flag of Scotland
 +
}}</code> appears as:
 +
{{Vexillology
 +
| latitude = 55
 +
| longitude = -4
 +
| date = 2024-05-01
 +
| name = KerrMcF
 +
| flag = the flag of Scotland
 
}}
 
}}
  
Line 52: Line 69:
 
| honor = true
 
| honor = true
 
}}
 
}}
 +
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:22, 23 November 2024

Vexillology.png
This user earned the Vexillology achievement
by spotting a flag while at the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{Vexillology

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| flag = identity of the flag (optional)
| name = name of achiever (optional)
| image = image name (optional)
| honor = true (optional, turns ribbon into an honorable mention)

}}

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

Example: {{Vexillology | latitude = 55 | longitude = -4 | date = 2024-05-01 | name = KerrMcF }} appears as:

Vexillology.png
KerrMcF earned the Vexillology achievement
by spotting a flag while at the (55, -4) geohash on 2024-05-01.

Example: {{Vexillology | latitude = 55 | longitude = -4 | date = 2024-05-01 | name = KerrMcF | flag = the flag of Scotland }} appears as:

Vexillology.png
KerrMcF earned the Vexillology achievement
by spotting the flag of Scotland while at the (55, -4) geohash on 2024-05-01.

Example: {{Vexillology | latitude = 55 | longitude = -4 | date = 2024-05-01 | name = KerrMcF | honor = true }} appears as:

Vexillology.png
KerrMcF earned the Vexillology honorable mention
by spotting an image of a flag while at the (55, -4) geohash on 2024-05-01.