Template:Sandbox

From Alpine Linux

Template Documentation for Sandbox

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This template produces a string containing the latest version of Alpine Linux

Usage

{{AlpineLatest|short|v}}

short
The string produced will only contain the minor and major version

v
The string produced will only contain the minor and major version prefixed with a v

This template will only accept one parameter at a time, all parameters are optional.
If no parameters are supplied, or the parameters which are supplied are invalid, the full version string (minor.major.patchlevel) will be produced.

Examples

Display the full version string of the latest Alpine Linux stable:

{{AlpineLatest}}

will produce: 3.20.3

Display the short version string of the latest Alpine Linux stable:

{{AlpineLatest|short}}

will produce: 3.20.3

Display the short version string of the latest Alpine Linux stable, prefixed with v:

{{AlpineLatest|v}}

will produce: 3.20.3