Template:Ubuntu codename/doc

This tempalate translate an Ubuntu version to its codename.

Usage
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.

TemplateData
{   "description": "Translate an Ubuntu version to its codename.", "params": { "1": {           "label": "Mode", "description": "Whether to show double-word name (\"double\") or single-word codename (\"single\").", "type": "string/line", "required": true, "default": "double" },       "2": {            "label": "Ubuntu version", "description": "Version of the Ubuntu release you want to translate to codename", "type": "string/line", "required": true }   } }