Difference between revisions of "Template:Inarow"
From Geohashing
(Creating ribbon template) |
m (Adding range option) |
||
Line 1: | Line 1: | ||
{{Ribbon | {{Ribbon | ||
− | |color = | + | |color = darkslategrey |
|icon = inarow.png | |icon = inarow.png | ||
|user = {{{name|}}} | |user = {{{name|}}} | ||
|achievement = [[N-in-a-row achievement|{{{level}}}-in-a-row achievement]] | |achievement = [[N-in-a-row achievement|{{{level}}}-in-a-row achievement]] | ||
− | |action = achieving a connection of '''{{{level}}}''' graticules in a row after reaching the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] | + | |action = achieving a connection of '''{{{level}}}''' graticules in a row {{#if:{{{graticule1|}}}|{{#if:{{{graticule2|}}}|'''({{{graticule1}}} to {{{graticule2}}})'''|}}|}} after reaching the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] |
|image = {{{image|}}} | |image = {{{image|}}} | ||
|category = N-in-a-row achievement | |category = N-in-a-row achievement | ||
Line 16: | Line 16: | ||
:| date = '''date (YYYY-MM-DD format)''' (required) | :| date = '''date (YYYY-MM-DD format)''' (required) | ||
:| level = '''number of graticules in a row''' (required) | :| level = '''number of graticules in a row''' (required) | ||
+ | :''| graticule1 = '''start of the line of graticules''' (optional, requires graticule2 to show)'' | ||
+ | :''| graticule2 = '''end of the line of graticules''' (optional, requires graticule1 to show)'' | ||
:''| name = '''name of achiever''' (optional)'' | :''| name = '''name of achiever''' (optional)'' | ||
:''| image = '''image name''' (optional)'' | :''| image = '''image name''' (optional)'' | ||
Line 23: | Line 25: | ||
− | '''Example:''' | + | '''Example with range:''' |
<code>{{inarow | <code>{{inarow | ||
| latitude = 55 | | latitude = 55 | ||
Line 29: | Line 31: | ||
| date = 2023-09-27 | | date = 2023-09-27 | ||
| level = 2 | | level = 2 | ||
+ | | graticule1 = 55,-3 | ||
+ | | graticule2 = 55,-4 | ||
| name = [[User:KerrMcF|KerrMcF]] | | name = [[User:KerrMcF|KerrMcF]] | ||
}}</code> appears as: | }}</code> appears as: | ||
Line 37: | Line 41: | ||
| date = 2023-09-27 | | date = 2023-09-27 | ||
| level = 2 | | level = 2 | ||
+ | | graticule1 = 55,-3 | ||
+ | | graticule2 = 55,-4 | ||
+ | | name = [[User:KerrMcF|KerrMcF]] | ||
+ | }} | ||
+ | |||
+ | |||
+ | '''Example with only graticule2:''' | ||
+ | <code>{{inarow | ||
+ | | latitude = 55 | ||
+ | | longitude = -4 | ||
+ | | date = 2023-09-27 | ||
+ | | level = 2 | ||
+ | | graticule2 = 55,-4 | ||
+ | | name = [[User:KerrMcF|KerrMcF]] | ||
+ | }}</code> appears as: | ||
+ | |||
+ | {{inarow | ||
+ | | latitude = 55 | ||
+ | | longitude = -4 | ||
+ | | date = 2023-09-27 | ||
+ | | level = 2 | ||
+ | | graticule2 = 55,-4 | ||
| name = [[User:KerrMcF|KerrMcF]] | | name = [[User:KerrMcF|KerrMcF]] | ||
}} | }} |
Latest revision as of 01:33, 5 April 2024
This user earned the {{{level}}}-in-a-row achievement
|
How to use this template:
{{inarow
- | latitude = latitude (required)
- | longitude = longitude (required)
- | date = date (YYYY-MM-DD format) (required)
- | level = number of graticules in a row (required)
- | graticule1 = start of the line of graticules (optional, requires graticule2 to show)
- | graticule2 = end of the line of graticules (optional, requires graticule1 to show)
- | name = name of achiever (optional)
- | image = image name (optional)
}}
The image name should not include 'Image:' or surrounding braces.
Example with range:
{{inarow
| latitude = 55
| longitude = -4
| date = 2023-09-27
| level = 2
| graticule1 = 55,-3
| graticule2 = 55,-4
| name = KerrMcF
}}
appears as:
KerrMcF earned the 2-in-a-row achievement
|
Example with only graticule2:
{{inarow
| latitude = 55
| longitude = -4
| date = 2023-09-27
| level = 2
| graticule2 = 55,-4
| name = KerrMcF
}}
appears as:
KerrMcF earned the 2-in-a-row achievement
|
Example:
{{inarow
| latitude = 51
| longitude = 15
| date = 2023-10-31
| level = 11
| name = Fippe
| image = 2023-10-31 51 15 01 Train.jpg
}}
appears as:
Fippe earned the 11-in-a-row achievement
|
Example:
{{inarow
| latitude = -37
| longitude = 143
| date = 2023-11-04
| level = 7
}}
appears as:
This user earned the 7-in-a-row achievement
|