Template:Ubuntu codename
This tempalate translates an Ubuntu version to its codename. Used in userboxes.
Usage
<syntaxhighlight lang="wikitext"></syntaxhighlight>
The first parameter sets whether single- or double-word codename is shown. The second parameter sets the version number of a specific Ubuntu release.
If display mode is not set, the official two-word codename is used.
Version numbers both with or without "LTS" are accepted.
Examples
<syntaxhighlight lang="wikitext">Quantal</syntaxhighlight> Quantal
<syntaxhighlight lang="wikitext">Quantal Quetzal</syntaxhighlight> Quantal Quetzal
<syntaxhighlight lang="wikitext">Precise</syntaxhighlight> Precise
<syntaxhighlight lang="wikitext">Precise Pangolin</syntaxhighlight> Precise Pangolin
TemplateData
TemplateData for Ubuntu codename
Translate an Ubuntu version to its codename.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Mode | 1 | Whether to show double-word name ("double") or single-word codename ("single").
| Line | required |
Ubuntu version | 2 | Version of the Ubuntu release you want to translate to codename | Line | required |