Difference between revisions of "Template:KerrMcF Nav"
From Geohashing
(Creating template to make my reports easier) |
m |
||
Line 2: | Line 2: | ||
! colspan=3 | Expedition Navigation | ! colspan=3 | Expedition Navigation | ||
|- | |- | ||
− | | width="100px" bgcolor={{{ | + | | width="100px" bgcolor={{{colour|lavenderblush}}} | {{#if:{{{previous|}}}|[[File:Arrow7.png|12px]] [[{{{previous}}}|Previous]]|No Previous}} |
− | | width="150px" bgcolor={{{ | + | | width="150px" bgcolor={{{colour|lavenderblush}}} | {{{user|[[User:KerrMcF|KerrMcF]]}}}'s expeditions |
− | | width="100px" bgcolor={{{ | + | | width="100px" bgcolor={{{colour|lavenderblush}}} | {{#if:{{{next|}}}|[[{{{next}}}|Next]] [[File:Arrow1.png|12px]]|No Next Yet}} |
{{#if:{{{user2|}}}| | {{#if:{{{user2|}}}| | ||
{{!}}- | {{!}}- | ||
Line 27: | Line 27: | ||
{{KerrMcF Nav | {{KerrMcF Nav | ||
− | :| | + | :| user = '''username''' (defaults to [[User:KerrMcF|KerrMcF]]) |
− | :| | + | :| colour = '''bgcolor''' (defaults to lavenderblush) |
− | :| | + | :| previous = '''previous expedition''' (defaults to No Previous) |
− | :| | + | :| next = '''next expedition''' (defaults to No Next Yet) |
:| user2 = '''username''' (required for second line) | :| user2 = '''username''' (required for second line) | ||
:| colour2 = '''bgcolor''' (defaults to oldlace) | :| colour2 = '''bgcolor''' (defaults to oldlace) | ||
Line 54: | Line 54: | ||
'''Example:''' | '''Example:''' | ||
<pre>{{KerrMcF Nav | <pre>{{KerrMcF Nav | ||
− | | | + | | user = Username One |
| user2 = Username Two | | user2 = Username Two | ||
| user3 = Username Three | | user3 = Username Three | ||
Line 61: | Line 61: | ||
{{KerrMcF Nav | {{KerrMcF Nav | ||
− | | | + | | user = Username One |
| user2 = Username Two | | user2 = Username Two | ||
| user3 = Username Three | | user3 = Username Three | ||
Line 69: | Line 69: | ||
'''Example:''' | '''Example:''' | ||
<pre>{{KerrMcF Nav | <pre>{{KerrMcF Nav | ||
− | | | + | | colour = white |
− | | | + | | previous = 2024-02-20 56 -3 |
− | | | + | | next = 2024-03-10 55 -4 |
}}</pre> appears as: | }}</pre> appears as: | ||
{{KerrMcF Nav | {{KerrMcF Nav | ||
− | | | + | | colour = white |
− | | | + | | previous = 2024-02-20 56 -3 |
− | | | + | | next = 2024-03-10 55 -4 |
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 17:48, 3 August 2024
This template creates a navigation table containing links to the previous and next expeditions. It allows for customisation of background colours for each participant, as well as the ability to add up to three additional lines if required.
How to use this template:
{{KerrMcF Nav
- | user = username (defaults to KerrMcF)
- | colour = bgcolor (defaults to lavenderblush)
- | previous = previous expedition (defaults to No Previous)
- | next = next expedition (defaults to No Next Yet)
- | user2 = username (required for second line)
- | colour2 = bgcolor (defaults to oldlace)
- | previous2 = previous expedition (defaults to No Previous)
- | next2 = next expedition (defaults to No Next Yet)
- | user3 = username (required for third line)
- | colour3 = bgcolor (defaults to honeydew)
- | previous3 = previous expedition (defaults to No Previous)
- | next3 = next expedition (defaults to No Next Yet)
- | user4 = username (required for fourth line)
- | colour4 = bgcolor (defaults to lavender)
- | previous4 = previous expedition (defaults to No Previous)
- | next4 = next expedition (defaults to No Next Yet)
}}
Example:
{{KerrMcF Nav }}
appears as:
Expedition Navigation | ||
---|---|---|
No Previous | KerrMcF's expeditions | No Next Yet |
Example:
{{KerrMcF Nav | user = Username One | user2 = Username Two | user3 = Username Three | user4 = Username Four }}
appears as:
Expedition Navigation | ||
---|---|---|
No Previous | Username One's expeditions | No Next Yet |
No Previous | Username Two's expeditions | No Next Yet |
No Previous | Username Three's expeditions | No Next Yet |
No Previous | Username Four's expeditions | No Next Yet |
Example:
{{KerrMcF Nav | colour = white | previous = 2024-02-20 56 -3 | next = 2024-03-10 55 -4 }}
appears as:
Expedition Navigation | ||
---|---|---|
Previous | KerrMcF's expeditions | Next |