Template:Infobox language family/doc

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

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.

TemplateData
{	"description": "Display data about a language in a standard format", "params": { "name": { "label": "Name", "description": "The English name of the language family", "type": "string", "required": true },		"altname": { "label": "Alternative name", "description": "An alternative or additional English name of the language family", "type": "string", "example": "Romantic" },		"states": { "label": "States", "description": "States or countries in which the language is mainly spoken", "type": "string", "aliases": [ "state" ]		},		"region": { "label": "Geographic distribution", "description": "The geographic region(s) in which the language is mainly spoken", "type": "string", "suggested": true },		"ethnicity": { "label": "Ethnicities", "description": "The ethnic groups whose native languages are members of this family", "type": "string", "example": "Romance peoples (adopted speakers)" },		"refname": { "label": "Reference name", "description": "Name used in reference generated by certain 'ref' parameter values such as e19. It defaults to the value of the 'name' parameter or PAGENAME.", "type": "string" },		"familycolor": { "label": "Language family color", "description": "The appropriate language family for the purposes of determining the background color, chosen from a fixed set given in the documentation", "example": "Niger-Congo", "type": "string", "required": true },		"fam1": { "label": "Language Family", "description": "The broadest accepted language family this language family belongs to", "type": "string", "example": "Southern Bantoid" },		"fam2": { "label": "Language Family 2", "description": "A more specific sub-language family that the language family belongs to", "type": "string", "example": "Atlantic–Congo" },		"fam3": { "label": "Language Family 3", "description": "A more specific sub-language family that the language family belongs to", "type": "string", "example": "Benue–Congo" },		"fam4": { "label": "Language Family 4", "description": "A more specific sub-language family that the language family belongs to", "type": "string", "example": "Southern Bantoid" },		"fam5": { "label": "Language family 5", "description": "A more specific sub-language family that the language family belongs to", "type": "string", "example": "Bantu (Zone M.60)" },		"fam6": { "label": "Language family 6", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam7": { "label": "Language Family 7", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam8": { "label": "Language Family 8", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam9": { "label": "Language Family 9", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam10": { "label": "Language Family 10", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam11": { "label": "Language Family 11", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam12": { "label": "Language Family 12", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam13": { "label": "Language Family 13", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam14": { "label": "Language Family 14", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"fam15": { "label": "Language Family 15", "description": "A more specific sub-language family that the language family belongs to", "type": "string" },		"family": { "label": "Family", "description": "Overrides all other family parameters; displays whatever you want", "type": "content" },		"ancestor": { "label": "Ancestor", "description": "Oldest attested ancestral or reconstructed form of the language family", "type": "string", "suggested": true, "example": "Vulgar Latin" },		"ancestor2": { "label": "Ancestor 2", "description": "An ancestral or reconstructed form of the language family", "type": "string" },		"ancestor3": { "label": "Ancestor 3", "description": "An ancestral or reconstructed form of the language family", "type": "string" },		"ancestor4": { "label": "Ancestor 4", "description": "An ancestral or reconstructed form of the language family", "type": "string" },		"ancestor5": { "label": "Ancestor 5", "description": "The most recent ancestral or reconstructed form of the language family", "type": "string" },		"script": { "label": "Scripts", "description": "The writing systems that literate speakers use for the language family", "type": "string", "example": "Latin alphabet; sometimes Cyrillic alphabet" },		"nation": { "label": "Nations", "description": "A list of countries in which members are an official language", "type": "string" },		"minority": { "label": "Minority Status", "description": "A list of countries in which members are recognized minority languages", "type": "string" },		"iso2": { "label": "ISO 639-2", "description": "The ISO 639-2 code for the language family", "type": "string" },		"iso2b": { "label": "ISO 639-2 Bibliographic", "description": "The ISO 639-2 bibliographic code for the language family", "type": "string" },		"iso2t": { "label": "ISO 639-2 Terminological", "description": "The ISO 639-2 terminological code for the language family, (such as for \"macrolanguages\")", "type": "string" },		"iso2comment": { "label": "ISO 639-2 Comment", "description": "Any comments about the ISO 639-2 code(s), so as not to interfere with the link(s)", "type": "string" },		"iso3": { "label": "ISO 639-3", "description": "The ISO 639-2 terminological code for the language family, (such as for \"macrolanguages\"). Can be 'none' or 'linglist'", "type": "string" },		"iso3comment": { "label": "ISO 639-3 Comment", "description": "Any comments about the ISO 639-3 code, so as not to interfere with the link", "type": "string" },		"isoexception": { "label": "ISO Exception", "description": "Used for cleanup categories, excludes from the general 'missing language code' category if set to 'dialect', 'historical', 'protolanguage', or 'talkpage'", "type": "string", "required": false },		"iso5": { "label": "ISO 639-5", "description": "The ISO 639-5 code for the language family", "type": "string", "example": "trk" },		"iso6": { "label": "ISO 639-6", "description": "The ISO 639-6 code for the language family, if considered as macrolanguage", "type": "string", "example": "zls" },		"glotto": { "label": "Glottolog code", "type": "string", "example": "'roma1334' (Romance); 'none' (see description)", "suggested": true, "description": "The Glottolog code for the language family. Set to \"none\" if Glottolog does not list the family because it is undemonstrated (branches can still be listed under glotto2–5). Set to \"NA\" if Glottolog does not cover more than one language or branch and so has not evaluated the family." },		"glottoname": { "description": "The name to be used in the Glottolog reference (can be cross-ref'd as name=Glottolog etc.)", "type": "string", "suggested": true, "label": "Glottolog name", "example": "Romance" },		"glottorefname": { "description": "The reference used by Glottolog", "type": "string", "suggested": true, "label": "Glottolog reference name", "example": "Indo-European" },		"glotto2": { "label": "Glottolog code 2", "type": "string", "example": "sout3147", "description": "A Glottolog code for a branch of the language family." },		"glottoname2": { "description": "The name to be used in the 2nd Glottolog reference", "type": "string", "label": "Glottolog name 2" },		"glottorefname2": { "description": "The second reference used by Glottolog", "type": "string", "label": "Glottolog reference name 2", "example": "Indo-European" },		"glotto3": { "label": "Glottolog code 3", "type": "string", "example": "bwil1246", "description": "A Glottolog code for a branch of the language family." },		"glottoname3": { "description": "The name to be used in the third Glottolog reference", "type": "string", "label": "Glottolog name 3" },		"glottorefname3": { "description": "The third reference used by Glottolog", "type": "string", "label": "Glottolog reference name 3", "example": "Indo-European" },		"glotto4": { "label": "Glottolog code 4", "type": "string", "example": "bota1239", "description": "A Glottolog code for a branch of the language family." },		"glottoname4": { "description": "The name to be used in the fourth Glottolog reference", "type": "string", "label": "Glottolog name 4" },		"glottorefname4": { "description": "The fourth reference used by Glottolog", "type": "string", "label": "Glottolog reference name 4", "example": "Indo-European" },		"glotto5": { "label": "Glottolog code 5", "type": "string", "example": "sabi1248", "description": "A Glottolog code for a branch of the language family." },		"glottoname5": { "description": "The name to be used in the fifth Glottolog reference", "type": "string", "label": "Glottolog name 5" },		"glottorefname5": { "description": "The fifth reference used by Glottolog", "type": "string", "label": "Glottolog reference name 5", "example": "Indo-European" },		"linglist": { "label": "Linguist List", "description": "The Linguist List ISO 639-3 private or local code or other substitute, range qaa-qtz or numerals only", "type": "string" },		"lingname": { "label": "Linguist List Comment", "description": "Any comments on the Linguist List code", "type": "string" },		"linglist2": { "label": "Linguist List 2", "description": "An additional Linguist List code", "type": "string" },		"lingname2": { "label": "Linguist List Comment 2", "description": "An additional comment on the Linguist List code", "type": "string" },		"linglist3": { "label": "Linguist List 3", "description": "An additional Linguist List code", "type": "string" },		"lingname3": { "label": "Linguist List Comment 3", "description": "An additional comment on the Linguist List code", "type": "string" },		"lingua": { "label": "Linguasphere code", "description": "The Linguasphere code for the language family", "type": "string" },		"guthrie": { "label": "Guthrie classification", "description": "The Guthrie code for Bantu languages", "type": "string" },		"image": { "label": "Image", "description": "The image to display at the top of the infobox, in the format 'image name.png' without 'File:' or brackets", "type": "wiki-file-name" },		"imagesize": { "label": "Image size", "description": "Overrides the default image size, using units of 'px' or 'em'", "type": "string", "example": "250px" },		"imagealt": { "label": "Image alt-text", "description": "The alt (hover) text for the image", "type": "string" },		"imagecaption": { "label": "Image caption", "description": "A caption to display under the image", "type": "string" },		"imageheader": { "label": "Image header", "description": "A brief header for the image to display in the left hand column", "type": "string" },		"map": { "label": "Map", "description": "The image to display at the bottom of the infobox, in the format 'image name.png' without 'File:' or brackets", "type": "wiki-file-name", "example": "Bantu zones.png" },		"mapsize": { "label": "Map size", "description": "Overrides the default image size for the map, using units of 'px' or 'em'", "type": "string", "example": "250px" },		"mapalt": { "label": "Map alt-text", "description": "The alt (hover) text for the map", "type": "string", "example": "World map showing countries where a Romance language is the primary or official language" },		"mapcaption": { "label": "Map caption", "description": "A caption to display under the map", "type": "string", "example": "The approximate locations of the sixteen Guthrie Bantu zones, including the addition of a zone J"		}, "map2": { "label": "Map 2", "description": "A second map to display at the bottom of the infobox, in the format 'image name.png' without 'File:' or brackets", "type": "wiki-file-name", "example": "Romance languages.png" },		"mapalt2": { "label": "Map alt-text 2", "description": "The alt (hover) text the second map", "type": "string", "example": "European Romance languages" },		"mapcaption2": { "label": "Map caption 2", "description": "A caption to display under both maps", "type": "string" },		"boxsize": { "label": "Infobox size", "description": "Overrides the default width of the infobox, using units of 'px' or 'em'. (It automatically expands to fit images wider than the default width.)", "type": "string", "example": "300px" },		"notice": { "label": "IPA Notice", "description": "Set to 'IPA' or 'ipa' to display a notice that the article contains special IPA phonetic symbols", "type": "string" },		"notes": { "label": "Notes", "description": "A space for notes, such as \"† indicates a dead language\", or any \"* [something here]\" footnote", "type": "content", "suggested": true },		"acceptance": { "label": "Acceptance", "description": "The date of the language family's acceptance or other information about acceptance", "type": "string" },		"extinct": { "label": "Extinction", "description": "The date of the language family's extinction or other information about extinction", "type": "string" },		"protoname": { "label": "Protolanguage name", "description": "Name of the proto-language of the language family", "example": "Proto-Arabic language", "type": "line" },		"child1": { "label": "Child 1", "description": "A language or branch of this language family", "type": "string", "example": "Western Romance languages" },		"child2": { "label": "Child 2", "description": "A language or branch of this language family", "type": "string", "example": "Eastern Romance languages" },		"child3": { "label": "Child 3", "description": "A language or branch of this language family", "type": "string", "example": "Sardinian language" },		"child4": { "label": "Child 4", "description": "A language or branch of this language family", "type": "string", "example": "African Romance language" },		"child5": { "label": "Child 5", "description": "A language or branch of this language family", "type": "string", "example": "Sardinian language" },		"child6": { "label": "Child 6", "description": "A language or branch of this language family", "type": "string", "example": "Hindi language" },		"child7": { "label": "Child 7", "description": "A language or branch of this language family", "type": "string", "example": "Urdu language" },		"child8": { "label": "Child 8", "description": "A language or branch of this language family", "type": "string", "example": "Marathi language" },		"child9": { "label": "Child 9", "description": "A language or branch of this language family", "type": "string", "example": "Punjabi language" },		"child10": { "label": "Child 10", "description": "A language or branch of this language family", "example": "Oghur", "type": "string" },		"child11": { "label": "Child 11", "description": "A language or branch of this language family", "example": "Common Turkic", "type": "string" },		"child12": { "label": "Child 12", "description": "A language or branch of this language family", "example": "Karluk languages", "type": "string" },		"child13": { "label": "Child 13", "description": "A language or branch of this language family", "example": "Oghur languages", "type": "string" },		"child14": { "label": "Child 14", "description": "A language or branch of this language family", "example": "Kipchak languages", "type": "string" },		"child15": { "label": "Child 15", "description": "A language or branch of this language family", "type": "string" },		"child16": { "label": "Child 16", "description": "A language or branch of this language family", "type": "string" },		"child17": { "label": "Child 17", "description": "A language or branch of this language family", "type": "string" },		"child18": { "label": "Child 18", "description": "A language or branch of this language family", "type": "string" },		"child19": { "label": "Child 19", "description": "A language or branch of this language family", "type": "string" },		"child20": { "label": "Child 20", "description": "A language or branch of this language family", "type": "string" },		"children": { "label": "Children", "description": "Overrides all other child language parameters; displays whatever you want", "type": "content" },		"listclass": { "type": "string", "example": "hlist", "description": "class for the child list: 'plainlist' (default), 'hlist' (horizontal) or 'flatlist' (bulleted)", "default": "plainlist", "label": "List CSS class" },		"iso1": { "label": "ISO 639-1", "description": "The ISO 639-1 code for the language family", "type": "string", "required": false, "example": "ar" },		"iso1comment": { "label": "ISO 639-1 Comment", "description": "Any comments about the ISO 639-1 code, so as not to interfere with the link", "type": "string", "required": false },		"glottofoot": { "label": "Show glottolog footnotes?", "description": "If \"no\", hides the glottolog footnotes.", "example": "no", "type": "string" }	},	"format": "block" }