Template:V: Difference between revisions
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{doc}}[[Category:Templates]] | {{doc}}[[Category:Templates]] | ||
<includeonly><onlyinclude>[[Version History/Alpha#{{#if:{{{1|}}}|{{{1|}}} {{Version Name|{{{1|}}}}}{{!}}{{#ifeq:{{{2|}}}|nameonly||{{{1|}}}}}{{#ifeq:{{{2|}}}|numonly||{{#ifeq:{{{2|}}}|nameonly|| | <includeonly><onlyinclude>[[Version History/Alpha#{{#if:{{{1|}}}|{{{1|}}} {{Version Name|{{{1|}}}}}{{!}}{{#ifeq:{{{2|}}}|nameonly||{{{1|}}}}}{{#ifeq:{{{2|}}}|numonly||{{#ifeq:{{{2|}}}|nameonly|| }}{{Version Name|{{{1|}}}}}|{{!}}unknown version}}]]</onlyinclude></includeonly> |
Revision as of 14:37, 17 June 2022
This template is a shorthand to display a version number/name linking to the appropriate changelog on Version history/Alpha, for use in Changelog sections of pages for example.
Syntax
{{v|<version>|numonly/nameonly}}
Examples
{{v}}
produces: [[Version History/Alpha#{{#if:| | ]]
{{v|0.10.0.0}}
produces: [[Version History/Alpha#{{#if:0.10.0.0|0.10.0.0 |0.10.0.0 ]]
{{v|0.10.5.0}}
produces: [[Version History/Alpha#{{#if:0.10.5.0|0.10.5.0 Downtime Update|0.10.5.0 Downtime Update]]
{{v|0.10.5.0|numonly}}
produces: [[Version History/Alpha#{{#if:0.10.5.0|0.10.5.0 Downtime Update|0.10.5.0]]
{{v|0.10.5.0|nameonly}}
produces: [[Version History/Alpha#{{#if:0.10.5.0|0.10.5.0 Downtime Update|Downtime Update]]
The above documentation is transcluded from Template:V/doc. (edit | history)