Template:Infobox language family/doc

From Linguifex
< Template:Infobox language family
Revision as of 15:37, 14 April 2022 by Sware (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The language family template is for use in articles about language families and groupings. It provides a common standard for displaying data about the family, and for navigating to larger or smaller groups.

Usage

{{Infobox language family
| name        = <!--name of language family #REQUIRED-->
| altname     = <!--alternative name(s) of the language family-->
| creator     = <!--creator of the language #REQUIRED; if the value is of the form User:xxxxxx, it links automatically to that user-->
| acceptance  = <!--acceptance status of the languages as a valid genetic group-->
| ethnicity   = <!--people(s) who speak the languages as a group-->
| region      = <!--geographic region in which its languages are mainly spoken-->
| extinct     = <!--date family went extinct-->
| speakers    = <!--population, for families treated as languages in censuses etc.-->
| date        = <!--date of population estimate-->
| ref         = <!--ref for extinction date or population estimate-->
| familycolor = <!--appropriate language family #REQUIRED-->
| fam1        = <!--the broadest possible widely accepted [[language family]] of which this language family is a part-->
| fam2        = <!--a more specific sub-family of which this family is a part-->
| ...
| fam15       = <!--most specific sub-group of which this family is a part-->
| family      = <!--whatever you want to say-->
| ancestor    = <!--oldest attested ancestral form-->
| ancestor2   = <!--(to ancestor5) more recent attested ancestors of the family-->
| protoname   = <!--proto-language, if one has been reconstructed-->
| child1      = <!--a language or group of languages belonging to this family-->
| child2      = <!--another language or group of languages belonging to this family-->
| ...
| child20     = <!--another language or group of languages belonging to this family-->
| children    = <!--whatever you want to say-->
| listclass   = <!--class for the list of children: plainlist (default), hlist (horizontal) or flatlist (bulleted)-->
| map         = <!--a map of the region where it is spoken. Format must be "name of map.extension" (without 'file/image' or the square brackets)-->
| mapalt      = <!--caption for the blind-->
| mapcaption  = <!--printed caption underneath the map. See "Template:legend" as a helpful tool.-->
| map2        = <!--a second map (or any image)-->
| mapalt2     = <!--caption for the blind-->
| mapcaption2 = <!--caption underneath second map-->
| mapsize     = <!--overrides the default map size, which is currently 350px. Format must include units ("123px" or "12em"). Affects both maps.-->
| boxsize     = <!--overrides default width of infobox, currently set at 22em. Format must include units ("12em" or "123px"). 
                Useful when an article has various infoboxes aligned in a column. (Box will automatically expand to fix map wider than default box width.)-->
| iso2, iso3  = <!--ISO 639-2 or -3 language code (such as for 'macrolanguages')-->
| iso5        = <!--ISO 639-5 language family code-->
| iso6        = <!--ISO 639-6 code-->
| lingua      = <!--the Linguasphere code for the family-->
| glotto      = <!--the Glottolog code for the family.  Set glotto to "none" if Glottolog does not list the family because it is undemonstrated (branches can still be listed under glotto); set to "NA" if Glottolog does not cover more than one language or branch and so has not evaluated the family.-->
| glottoname  = <!--the name to be used in the Glottolog reference (can be cross-ref'd as name=Glottolog etc.)-->
| module      = <!--used for embedding other infoboxes into this one-->
| notes       = <!--A space for notes, e.g., "† indicates a dead language", or any "* [something here]" footnote-->
}}

Background colors by family

The familycolor parameter should always be set, and determines the color of template headings indicating the broad group of languages to which the family belongs. Some of these groups (e.g. Altaic, Caucasian) are areal groups rather than accepted language families. When these values are used, the parameter fam1 should be set to the broadest widely accepted language family containing this one, if any.

See also