Module:Infobox/Config/Language
This page defines the parameters of Template:Infobox Language. The infobox may also include common parameters which are defined on the Module:Infobox/Config base page.
When editing this page, you can preview the effect of your changes using the Preview page with this functionality beneath the "Save changes" button. Put Template:Infobox Language
in the Page title field and click "Show preview" to see how the template would look if you saved your config changes. Verify that the parameter list is correct and that the usage examples look right.
Config
category
- The name of the category to be added automatically by the infobox. Should be a subcategory of Category:Content by Type.
inUniverse
- Infobox fields common to in-universe or real-world subjects are added automatically based on the value of this property. For a list of such properties, see Module:Infobox/Config. Should one or more of these fields not be desirable for this particular infobox, they can be omitted via the
omitParams
property (see below). [omitParams]
- List of parameters to omit from those added automatically according to the value of the
inUniverse
property. [addHiddenType]
If present, adds a
type
parameter which is not displayed in the infobox, but used internally to subcategorize the page it's used on.This form of categorization is an outdated practice. It has been deprecated in favor of using Template:Categories.
[addParams]
- Fields to add to the infobox.
return {
category = "Category:Languages",
inUniverse = true,
addHiddenType = {
["written"] = "Category:Written Languages",
["verbal"] = "Category:Spoken Languages",
["written and verbal"] = {"Category:Written Languages", "Category:Spoken Languages"},
["sign"] = "Category:Signed Languages",
},
addParams = {
{
param = "era",
label = "Era(s)",
descr = "The [[Era]]s in which the language is extant."
},
{
param = "user",
label = "User(s)",
descr = "The character(s) or group(s) that speak or write this language.",
},
{
param = "item",
label = "Item(s)",
descr = "Any item(s) that is significant to the language, e.g. Book of Mudora)."
},
{
param = "location",
label = "Location(s)",
descr = "Any key locations where the language is spoken/written.",
},
{
param = "related",
label = "Related",
descr = "Other language(s) closely related or linked to this one."
},
{
param = "translation",
label = "Translation",
descr = "A link to the translation page of the language, e.g. [[Sheikah Language Translations]]."
},
}
}