Template:Version: Difference between revisions
Jump to navigation
Jump to search
Totengeist (talk | contribs) Create template |
Totengeist (talk | contribs) mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#switch:{{{link|}}} | ||
|0 = {{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}} | |||
|#default = [[Version History#{{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}}]] | |||
} | |||
| | |||
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | }}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
Latest revision as of 17:25, 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.