Template:Version/doc
This template returns the current version number of a given mod, of vanilla Terraria, or of tModLoader. The data is taken from the {{current versions}}
database, which ensures that it stays up-to-date.
Use {{v}}
as a shortcut.
Usage
{{ v | <mod name>/terraria/tmodloader | 1.4/steam/workshop = y/yes }}
- First unnamed parameter
Name of the mod of which the version is to be returned. Defaults to {{modname|get}}
. Can also be
or tmodloader
(case-insensitive) for the most recent version of tModLoader, or tml
(case-insensitive) for the Terraria version used by tModLoader.
terraria
- 1.4/steam/workshop
By default, the template retrieves the version number of the mod's build for tModLoader "1.3-legacy". Use this parameter to get the 1.4 version, if available.
Examples
The first and second of the following examples assume that the current mod name is Clicker Class.
Code | Result |
---|---|
{{v}} |
1.2.7.1 |
{{v|1.4=yes}} |
1.4.1 |
{{v|SGAmod}} |
|
{{v|SGAmod|1.4=yes}} |
|
{{v|Calamity}} (1.3-legacy), {{v|Calamity|1.4=yes}} (1.4) |
1.5.1.6 (1.3-legacy), 2.0.1.1 (1.4) |
TML {{v|tmodloader}} uses Terraria {{v|terraria}} |
TML 2024.02.3.0 uses Terraria 1.4.4.9 |
TML {{v|tmodloader|1.4=yes}} uses Terraria {{v|terraria|1.4=yes}} |
TML uses Terraria |