This tempalate translates an Ubuntu version to its codename. Used in userboxes.

Usage

edit
{{Ubuntu codename|mode|version}}

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

edit
{{Ubuntu codename|single|12.10}}

Quantal

{{Ubuntu codename|double|12.10}}

Quantal Quetzal

{{Ubuntu codename|single|12.04 LTS}}

Precise

{{Ubuntu codename|2=12.04}}

Precise Pangolin

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Ubuntu codename in articles based on its TemplateData.

TemplateData for Ubuntu codename

Translate an Ubuntu version to its codename.

Template parameters

ParameterDescriptionTypeStatus
Mode1

Whether to show double-word name ("double") or single-word codename ("single").

Default
double
Linerequired
Ubuntu version2

Version of the Ubuntu release you want to translate to codename

Linerequired

See also

edit