Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Language: Difference between revisions

Template page
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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Name of the language (defaults to page name if omitted).

Stringoptional
Imageimage

Representative image (file name without File:).

Fileoptional
Image captioncaption-image

Caption describing the image.

Stringoptional
Native tonative_to

People or nation where the language originated.

Stringoptional
Regionregion

Geographic distribution.

Stringoptional
Language familylanguage_family

Language family classification.

Stringoptional
Earlier formsearlier_forms

Ancestor languages or earlier stages.

Stringoptional
Writing systemwriting_system

Script or writing system used.

Stringoptional
Official language inofficial_language_in

Countries or regions where it is official.

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