Difference between revisions of "Template:Current Version"
Jump to navigation
Jump to search
Arcangelus (talk | contribs) m (Forgot one ask.) |
|||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{link|}}}|[[Version/{{:Version/ | + | <includeonly>{{#if: {{{console|}}} |
− | {{Documentation}} | + | |{{#if: {{{link|}}} |
− | </noinclude> | + | |[[Console version/{{#vardefineecho:versionNumber|{{#replace:{{#ask: [[Category:Console version]] [[Release Date::+]]| format=plainlist | limit=1 | link=none | default=Version history | order=descending | sort=Release Date| searchlabel=}}|Console version/|}}}}|{{#var:versionNumber}}]]<!-- |
+ | -->|{{#replace:{{#ask: [[Category:Console version]] [[Release Date::+]] | format=plainlist | limit=1 | link=none | default=Version history | order=descending | sort=Release Date| searchlabel=}}|Console version/|}}}}<!-- | ||
+ | -->|{{#if: {{{link|}}} | ||
+ | |[[Version/{{#vardefineecho:versionNumber|{{#replace:{{#ask: [[Category:Version]] [[Release Date::+]] [[Stable Version::!False]]| format=plainlist | limit=1 | link=none | default=Version history | order=descending | sort=Release Date| searchlabel=}}|Version/|}}}}|{{#var:versionNumber}}]]<!-- | ||
+ | -->|{{#replace:{{#ask: [[Category:Version]] [[Release Date::+]] [[Stable Version::!False]]| format=plainlist | limit=1 | link=none | default=Version history | order=descending | sort=Release Date| searchlabel=}}|Version/|}}}}}}</includeonly><noinclude> {{Documentation}}</noinclude> |
Latest revision as of 19:37, 20 August 2024
Outputs either a plaintext or linked copy of the latest version.
Usage[edit]
{{Current Version}}
1.5.4241
This is 1.5.4241 used in text.
{{Current Version|link=1}}
This is 1.5.4241 used in text.
{{Current Version|console=1}}
1.23
This is 1.23 used in text.
{{Current Version|link=1|console=1}}
This is 1.23 used in text.
The above documentation is transcluded from Template:Current Version/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |