Difference between revisions of "Template:Version/doc"
Jump to navigation
Jump to search
Pathoschild (talk | contribs) m (→Usage: fix) |
Pathoschild (talk | contribs) (+ interlanguage links) |
||
Line 55: | Line 55: | ||
<includeonly> | <includeonly> | ||
[[Category:General wiki templates]] | [[Category:General wiki templates]] | ||
+ | |||
+ | [[de:Template:{{PAGENAME}}]] | ||
+ | [[es:Template:{{PAGENAME}}]] | ||
+ | [[ja:Template:{{PAGENAME}}]] | ||
+ | [[pt:Template:{{PAGENAME}}]] | ||
+ | [[ru:Template:{{PAGENAME}}]] | ||
+ | [[zh:Template:{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Template documentation]] | [[Category:Template documentation]] | ||
</noinclude> | </noinclude> |
Revision as of 17:59, 30 September 2018
Description
This template creates a link to a Stardew Valley version in the Version History.
Usage
The template supports a few formats:
use case | code | output |
---|---|---|
latest stable version | {{version}}
|
1.6 |
latest beta version (if any) | {{version|beta}}
|
1.6 |
specific version | {{version|1.3.28}}
|
1.3.28 |
specific version with link text | {{version|1.3.28|1.3}}
|
1.3 |
It recognises a few version aliases for convenience:
alias | mapped to | current value |
---|---|---|
stable | latest stable version | 1.6 |
beta | latest beta version | 1.6 |
1.2 | latest version in the 1.2 branch | 1.2 |
1.3 | latest version in the 1.3 branch | 1.3 |
Finally, you can disable the link like {{version|link=0}}
: 1.6.