Jump to content

Template:Version/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Pathoschild
remove legacy alias versions
Line 27: Line 27:
|}
|}


It recognises a few version aliases for convenience:
You can disable the link like <code><nowiki>{{version|link=0}}</nowiki></code>: {{version|link=0}}.
{| class="wikitable"
|-
! alias
! mapped to
! current value
|-
| stable
| latest stable version
| {{version|stable}}
|-
| beta
| latest beta version
| {{version|beta}}
|-
| 1.2
| latest version in the 1.2 branch
| {{version|1.2}}
|-
| 1.3
| latest version in the 1.3 branch
| {{version|1.3}}
|}
 
Finally, you can disable the link like <code><nowiki>{{version|link=0}}</nowiki></code>: {{version|link=0}}.


<includeonly>
<includeonly>

Revision as of 02:52, 22 August 2021

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.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.