Template:KerrMcF Nav

From Geohashing
Revision as of 19:01, 3 August 2024 by KerrMcF (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

| width = width of middle cells (defaults to 150px)
| 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
| width = 200px
| 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
Arrow7.png Previous KerrMcF's expeditions Next Arrow1.png