Template:Version: Difference between revisions
Appearance
imported>Margotbean update beta version |
imported>Pathoschild 1.3.33 released |
||
| Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:versionNumber|{{#switch:{{#if:{{{1|}}}|{{{1}}}|stable}} | <includeonly>{{#arraydefine:versionNumber|{{#switch:{{#if:{{{1|}}}|{{{1}}}|stable}} | ||
|1.2 = 1.2.33 | |1.2 = 1.2.33 | ||
|1.3 = 1.3. | |1.3 = 1.3.33 | ||
|stable = 1.3. | |stable = 1.3.33 | ||
|beta = 1.3.33 | |beta = 1.3.33 | ||
|#default = {{{1}}} | |#default = {{{1}}} | ||
Revision as of 20:46, 8 January 2019
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.3.33 |
| latest beta version (if any) | {{version|beta}}
|
1.3.33 |
| 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.3.33.