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

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