Template:Version/doc: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
(Create documentation)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
! code
! code
! output
! output
|-
| latest stable version
| <code><nowiki>{{version}}</nowiki></code>
| {{version}}
|-
| latest beta version (if any)
| <code><nowiki>{{version|beta}}</nowiki></code>
| {{version|beta}}
|-
|-
| specific version
| specific version
Line 27: Line 19:
|}
|}


You can disable the link like <code><nowiki>{{version|link=0}}</nowiki></code>: {{version|link=0}}.
You can disable the link like <code><nowiki>{{version|1.3.28|link=0}}</nowiki></code>: {{version|1.3.28|link=0}}.


<noinclude>
<noinclude>
[[Category:Template documentation]]
[[Category:Template documentation]]
</noinclude>
</noinclude>

Latest revision as of 16:24, 24 July 2022

Description[edit source]

This template links to a version of The Last Starship in the Version History.

Usage[edit source]

The template supports a few formats:

use case code output
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|1.3.28|link=0}}: 1.3.28.