Difference between revisions of "Template:Version/doc"
Jump to navigation
Jump to search
Pathoschild (talk | contribs) m (→Usage: fix) |
Margotbean (talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
This template creates a link to a Stardew Valley version in the [[Version History]]. | This template creates a link to a Stardew Valley version in the [[Version History]]. | ||
− | == | + | ==Use== |
The template supports a few formats: | The template supports a few formats: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 27: | ||
|} | |} | ||
− | + | You can disable the link like <code><nowiki>{{version|link=0}}</nowiki></code>: {{version|link=0}}. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <includeonly> | + | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
− | [[Category: | ||
− | </includeonly> | ||
− | <noinclude> | ||
− | [[Category:Template documentation]] | ||
− | </noinclude> |
Latest revision as of 21:51, 8 January 2023
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 |
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 |
You can disable the link like {{version|link=0}}
: 1.6.