Template:Version

From The Last Starwiki
Revision as of 16:09, 24 July 2022 by Totengeist (talk | contribs) (Create template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This template links to a version of The Last Starship in the Version History.

Usage

The template supports a few formats:

use case code output
specific version {{version|1.3.28}} 1.3.28}}[[Version History#{{#arrayindex:versionNumber|0}}|{{#arrayindex:versionNumber|0}}]]
specific version with link text {{version|1.3.28|1.3}} 1.3.28}}[[Version History#{{#arrayindex:versionNumber|0}}|1.3]]

You can disable the link like {{version|1.3.28|link=0}}: {{#arraydefine:versionNumber|1.3.28}}{{#arrayindex:versionNumber|0}}.