Template:Infobox language family/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{intricate}} ''The language family template is for use in articles about la...")
 
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{lua|Module:String|Module:InfoboxImage|Module:Check for unknown parameters}}
{{intricate}}
{{intricate}}
''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.''
''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.''


Line 7: Line 9:
<pre>
<pre>
{{Infobox language family
{{Infobox language family
| name        = name of language family#REQUIRED
| name        = <!--name of language family #REQUIRED-->
| altname    = alternative name(s) of the language family
| altname    = <!--alternative name(s) of the language family-->
| ethnicity  = people(s) who speak the languages as a group
| creator    = <!--creator of the language #REQUIRED; if the value is of the form User:xxxxxx, it links automatically to that user-->
| region      = geographic region in which its languages are mainly spoken
| acceptance  = <!--acceptance status of the languages as a valid genetic group-->
| familycolor = appropriate language family #REQUIRED
| ethnicity  = <!--people(s) who speak the languages as a group-->
| fam1        = the broadest possible widely accepted [[language family]] of which this language family is a part
| region      = <!--geographic region in which its languages are mainly spoken-->
| fam2        = a more specific sub-family of which this family is a part
| 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
| fam15      = <!--most specific sub-group of which this family is a part-->
| family      = whatever you want to say
| family      = <!--whatever you want to say-->
| protoname  = proto-language, if one has been reconstructed
| ancestor    = <!--oldest attested ancestral form-->
| child1      = a language or group of languages belonging to this family
| ancestor2  = <!--(to ancestor5) more recent attested ancestors of the family-->
| child2      = another language or group of languages belonging to this 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
| child20    = <!--another language or group of languages belonging to this family-->
| children    = whatever you want to say
| children    = <!--whatever you want to say-->
| map        = a map of the region where it is spoken. Format must be "name of map.extension" (without 'file/image' or the square brackets)
| listclass  = <!--class for the list of children: plainlist (default), hlist (horizontal) or flatlist (bulleted)-->
| mapcaption  = caption underneath the map. See {{tl|legend}} as a helpful tool.
| map        = <!--a map of the region where it is spoken. Format must be "name of map.extension" (without 'file/image' or the square brackets)-->
| map2        = a second map (or any image)
| mapalt      = <!--caption for the blind-->
| mapcaption2 = caption underneath second map
| mapcaption  = <!--printed caption underneath the map. See "Template:legend" as a helpful tool.-->
| mapsize    = overrides the default map size, which is currently 350px. Format must include units ("123px" or "12em"). Affects both maps.
| map2        = <!--a second map (or any image)-->
| boxsize    = overrides default width of infobox, currently set at 22em. Format must include units ("12em" or "123px").  
| mapalt2    = <!--caption for the blind-->
                 Useful when an article has various infoboxes aligned in a column. (Box will automatically expand to fix map wider than default box width.)
| mapcaption2 = <!--caption underneath second map-->
| sil        = the code used for the family at SIL/''Ethnologue''. Provides a link.
| mapsize    = <!--overrides the default map size, which is currently 350px. Format must include units ("123px" or "12em"). Affects both maps.-->
| silname    = the name used for the family at SIL/''Ethnologue'', when this differs from WP.
| boxsize    = <!--overrides default width of infobox, currently set at 22em. Format must include units ("12em" or "123px").  
| sil2–3     = additional codes for the family at SIL; sometimes due to parsing errors, parts of a family will appear at different locations.
                 Useful when an article has various infoboxes aligned in a column. (Box will automatically expand to fix map wider than default box width.)-->
| silname2–3 = names for these scattered parts
| iso2, iso3  = <!--ISO 639-2 or -3 language code (such as for 'macrolanguages')-->
| iso2        = ISO 639-2 language code (such as for 'macrolanguages')
| iso5        = <!--ISO 639-5 language family code-->
| 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-->
}}
}}
</pre>
</pre>


==Background colors by family==
==Background colors by family==
{{Infobox language/quilt}}{{clear}}
{{Infobox language/quilt}}
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 [[w:language family|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.
{{clear}}
 
== See also ==
* [[Template:Infobox language]]
* [[Template:Infobox proto-language]]


==See also==
<includeonly>[[Category:Templates]]</includeonly>
* {{tlx|infobox language}}
* [[:Category:Languages without family color codes]]
</includeonly>

Navigation menu