Template:Version: Difference between revisions
Appearance
imported>Odin Updated for 1.5.4 |
imported>Pathoschild update for Stardew Valley 1.6.15 |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:versionNumber|{{#switch:{{#if:{{{1|}}}|{{{1}}}|stable}} | <includeonly>{{#arraydefine:versionNumber|{{#switch:{{#if:{{{1|}}}|{{{1}}}|stable}} | ||
|stable = 1.6.15 | |||
|beta = 1.6.15 | |||
|stable = 1. | |||
|beta = 1. | |||
|#default = {{{1}}} | |#default = {{{1}}} | ||
}}}}<!-- | }}}}<!-- | ||
Latest revision as of 17:55, 31 December 2024
Description
This template creates a link to a Stardew Valley version in the Version History.
Use
The template supports a few formats:
| use case | code | output |
|---|---|---|
| latest stable version | {{version}}
|
1.6.15 |
| latest beta version (if any) | {{version|beta}}
|
1.6.15 |
| specific version | {{version|1.3.28}}
|
1.3.28 |
| specific version with link text | {{version|1.3.28|1.3}}
|
1.3 |
You can disable the link like {{version|link=0}}: 1.6.15.