Difference between revisions of "Template:Version"
Jump to navigation
Jump to search
Pathoschild (talk | contribs) (+ temporary tracking category) |
Pathoschild (talk | contribs) (temporarily track unrecognized versions) |
||
Line 11: | Line 11: | ||
|0 = {{#if:{{{2|}}}|{{{2}}}|{{#arrayindex:versionNumber|0}}}} | |0 = {{#if:{{{2|}}}|{{{2}}}|{{#arrayindex:versionNumber|0}}}} | ||
|#default = [[Version History#{{#arrayindex:versionNumber|0}}|{{#if:{{{2|}}}|{{{2}}}|{{#arrayindex:versionNumber|0}}}}]] | |#default = [[Version History#{{#arrayindex:versionNumber|0}}|{{#if:{{{2|}}}|{{{2}}}|{{#arrayindex:versionNumber|0}}}}]] | ||
− | }}{{#switch:{{{1|}}}|1.2|1.3=[[Category:Pages using | + | }}{{#switch:{{{1|stable}}}|stable|beta|1.5.4|1.5.3|1.5.2|1.5.1|1.5|1.4.5|1.4.4|1.4.3|1.4.2|1.4.1|1.4|1.3.36|1.3.33|1.3.32|1.3.28|1.3.27|1.2.33|1.2.32|1.2.31|1.2.30|1.2.29|1.2.26|1.11|1.1|1.07a|1.07|1.06|1.051b|1.051|1.05|1.04|1.03|1.02|1.01|1.0=|#default=[[Category:Pages using invalid versions]]}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 02:54, 22 August 2021
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.5.4 |
latest beta version (if any) | {{version|beta}}
|
1.5.5 |
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.5.4.