Template:Language: Difference between revisions
Template page
More actions
Created page with "<includeonly> <infobox type="Language" theme-source="nation"> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image"> <caption source="caption-image"/> </image> <group> <header source="general_information">General information</header> <data source="native_to"> <label>Native to</label> </data> <data source="region"> <label>Region</label> </data> <data source="language_family"> <label>Language fami..." |
No edit summary |
||
| Line 2: | Line 2: | ||
<infobox type="Language" theme-source="nation"> | <infobox type="Language" theme-source="nation"> | ||
<title source="name"><default>{{PAGENAME}}</default></title> | <title source="name"><default>{{PAGENAME}}</default></title> | ||
<image source="image"> <caption source="caption-image"/> </image> | |||
<image source="image"> | |||
<caption source="caption-image"/> | |||
</image> | |||
<group> | <group> | ||
<header source="general_information">General information</header> | <header source="general_information">General information</header> | ||
<data source="native_to"> | <data source="native_to"> | ||
<label>Native to</label> | <label>Native to</label> | ||
</data> | </data> | ||
<data source="region"> | <data source="region"> | ||
<label>Region</label> | <label>Region</label> | ||
</data> | </data> | ||
<data source="language_family"> | <data source="language_family"> | ||
<label>Language family</label> | <label>Language family</label> | ||
</data> | </data> | ||
<data source="earlier_forms"> | <data source="earlier_forms"> | ||
<label>Earlier forms</label> | <label>Earlier forms</label> | ||
</data> | </data> | ||
<data source="writing_system"> | <data source="writing_system"> | ||
<label>Writing system</label> | <label>Writing system</label> | ||
</data> | </data> | ||
<data source="official_language_in"> | <data source="official_language_in"> | ||
<label>Official language in</label> | <label>Official language in</label> | ||
| Line 26: | Line 36: | ||
</infobox> | </infobox> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | |||
{ | |||
"description": "Infobox for languages.", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the language (defaults to page name if omitted).", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Representative image (file name without File:).", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption-image": { | |||
"label": "Image caption", | |||
"description": "Caption describing the image.", | |||
"type": "string" | |||
}, | |||
"native_to": { | |||
"label": "Native to", | |||
"description": "People or nation where the language originated.", | |||
"type": "string" | |||
}, | |||
"region": { | |||
"label": "Region", | |||
"description": "Geographic distribution.", | |||
"type": "string" | |||
}, | |||
"language_family": { | |||
"label": "Language family", | |||
"description": "Language family classification.", | |||
"type": "string" | |||
}, | |||
"earlier_forms": { | |||
"label": "Earlier forms", | |||
"description": "Ancestor languages or earlier stages.", | |||
"type": "string" | |||
}, | |||
"writing_system": { | |||
"label": "Writing system", | |||
"description": "Script or writing system used.", | |||
"type": "string" | |||
}, | |||
"official_language_in": { | |||
"label": "Official language in", | |||
"description": "Countries or regions where it is official.", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"caption-image", | |||
"native_to", | |||
"region", | |||
"language_family", | |||
"earlier_forms", | |||
"writing_system", | |||
"official_language_in" | |||
] | |||
} | |||
</templatedata> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:47, 2 May 2026
Infobox for languages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the language (defaults to page name if omitted). | String | optional |
| Image | image | Representative image (file name without File:). | File | optional |
| Image caption | caption-image | Caption describing the image. | String | optional |
| Native to | native_to | People or nation where the language originated. | String | optional |
| Region | region | Geographic distribution. | String | optional |
| Language family | language_family | Language family classification. | String | optional |
| Earlier forms | earlier_forms | Ancestor languages or earlier stages. | String | optional |
| Writing system | writing_system | Script or writing system used. | String | optional |
| Official language in | official_language_in | Countries or regions where it is official. | String | optional |
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |