Template:Infobox language family/doc: Difference between revisions

From The Democratikan Wiki
m (Undid revision 1161610417 by Kwamikagami (talk))
 
m (1 revision imported)
 
(No difference)

Latest revision as of 02:43, 15 February 2024

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

<syntaxhighlight lang="wikitext">

ELPLua error in Module:Endangered_Languages_Project at line 21: attempt to index field 'wikibase' (a nil value).

</syntaxhighlight>

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.

Tracking categories

See also

TemplateData

TemplateData for this template used by TemplateWizard, VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox language family in articles based on its TemplateData.

TemplateData for Infobox language family

Display data about a language in a standard format

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The English name of the language family

Stringrequired
Alternative namealtname

An alternative or additional English name of the language family

Example
Romantic
Stringoptional
Statesstates state

States or countries in which the language is mainly spoken

Stringoptional
Geographic distributionregion

The geographic region(s) in which the language is mainly spoken

Stringsuggested
Ethnicitiesethnicity

The ethnic groups whose native languages are members of this family

Example
[[Italic peoples#Rise of the Romance languages|Romance peoples]] (adopted speakers)
Stringoptional
Reference namerefname

Name used in reference generated by certain 'ref' parameter values such as e19. It defaults to the value of the 'name' parameter or PAGENAME.

Stringoptional
Language family colorfamilycolor

The appropriate language family for the purposes of determining the background color, chosen from a fixed set given in the documentation

Example
Niger-Congo
Stringrequired
Language Familyfam1

The broadest accepted language family this language family belongs to

Example
[[Southern Bantoid]]
Stringoptional
Language Family 2fam2

A more specific sub-language family that the language family belongs to

Example
[[Atlantic–Congo]]
Stringoptional
Language Family 3fam3

A more specific sub-language family that the language family belongs to

Example
[[Benue–Congo]]
Stringoptional
Language Family 4fam4

A more specific sub-language family that the language family belongs to

Example
[[Southern Bantoid]]
Stringoptional
Language family 5fam5

A more specific sub-language family that the language family belongs to

Example
[[Bantu languages|Bantu]] ([[Guthrie classification of Bantu languages#Zone M|Zone M.60]])
Stringoptional
Language family 6fam6

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 7fam7

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 8fam8

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 9fam9

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 10fam10

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 11fam11

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 12fam12

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 13fam13

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 14fam14

A more specific sub-language family that the language family belongs to

Stringoptional
Language Family 15fam15

A more specific sub-language family that the language family belongs to

Stringoptional
Familyfamily

Overrides all other family parameters; displays whatever you want

Contentoptional
Ancestorancestor

Oldest attested ancestral or reconstructed form of the language family

Example
[[Vulgar Latin|Vulgar]] [[Latin language|Latin]]
Stringsuggested
Ancestor 2ancestor2

An ancestral or reconstructed form of the language family

Stringoptional
Ancestor 3ancestor3

An ancestral or reconstructed form of the language family

Stringoptional
Ancestor 4ancestor4

An ancestral or reconstructed form of the language family

Stringoptional
Ancestor 5ancestor5

The most recent ancestral or reconstructed form of the language family

Stringoptional
Scriptsscript

The writing systems that literate speakers use for the language family

Example
[[Latin alphabet]]; sometimes [[Cyrillic alphabet]]
Stringoptional
Nationsnation

A list of countries in which members are an official language

Stringoptional
Minority Statusminority

A list of countries in which members are recognized minority languages

Stringoptional
ISO 639-2iso2

The ISO 639-2 code for the language family

Stringoptional
ISO 639-2 Bibliographiciso2b

The ISO 639-2 bibliographic code for the language family

Stringoptional
ISO 639-2 Terminologicaliso2t

The ISO 639-2 terminological code for the language family, (such as for "macrolanguages")

Stringoptional
ISO 639-2 Commentiso2comment

Any comments about the ISO 639-2 code(s), so as not to interfere with the link(s)

Stringoptional
ISO 639-3iso3

The ISO 639-2 terminological code for the language family, (such as for "macrolanguages"). Can be 'none' or 'linglist'

Stringoptional
ISO 639-3 Commentiso3comment

Any comments about the ISO 639-3 code, so as not to interfere with the link

Stringoptional
ISO Exceptionisoexception

Used for cleanup categories, excludes from the general 'missing language code' category if set to 'dialect', 'historical', 'protolanguage', or 'talkpage'

Stringoptional
ISO 639-5iso5

The ISO 639-5 code for the language family

Example
trk
Stringoptional
ISO 639-6iso6

The ISO 639-6 code for the language family, if considered as macrolanguage

Example
zls
Stringoptional
Glottolog codeglotto

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.

Example
'roma1334' (Romance); 'none' (see description)
Stringsuggested
Glottolog nameglottoname

The name to be used in the Glottolog reference (can be cross-ref'd as name=Glottolog etc.)

Example
Romance
Stringsuggested
Glottolog reference nameglottorefname

The reference used by Glottolog

Example
Indo-European
Stringsuggested
Glottolog code 2glotto2

A Glottolog code for a branch of the language family.

Example
sout3147
Stringoptional
Glottolog name 2glottoname2

The name to be used in the 2nd Glottolog reference

Stringoptional
Glottolog reference name 2glottorefname2

The second reference used by Glottolog

Example
Indo-European
Stringoptional
Glottolog code 3glotto3

A Glottolog code for a branch of the language family.

Example
bwil1246
Stringoptional
Glottolog name 3glottoname3

The name to be used in the third Glottolog reference

Stringoptional
Glottolog reference name 3glottorefname3

The third reference used by Glottolog

Example
Indo-European
Stringoptional
Glottolog code 4glotto4

A Glottolog code for a branch of the language family.

Example
bota1239
Stringoptional
Glottolog name 4glottoname4

The name to be used in the fourth Glottolog reference

Stringoptional
Glottolog reference name 4glottorefname4

The fourth reference used by Glottolog

Example
Indo-European
Stringoptional
Glottolog code 5glotto5

A Glottolog code for a branch of the language family.

Example
sabi1248
Stringoptional
Glottolog name 5glottoname5

The name to be used in the fifth Glottolog reference

Stringoptional
Glottolog reference name 5glottorefname5

The fifth reference used by Glottolog

Example
Indo-European
Stringoptional
Linguist Listlinglist

The Linguist List ISO 639-3 private or local code or other substitute, range qaa-qtz or numerals only

Stringoptional
Linguist List Commentlingname

Any comments on the Linguist List code

Stringoptional
Linguist List 2linglist2

An additional Linguist List code

Stringoptional
Linguist List Comment 2lingname2

An additional comment on the Linguist List code

Stringoptional
Linguist List 3linglist3

An additional Linguist List code

Stringoptional
Linguist List Comment 3lingname3

An additional comment on the Linguist List code

Stringoptional
Linguasphere codelingua

The Linguasphere code for the language family

Stringoptional
Guthrie classificationguthrie

The Guthrie code for Bantu languages

Stringoptional
Imageimage

The image to display at the top of the infobox, in the format 'image name.png' without 'File:' or brackets

Fileoptional
Image sizeimagesize

Overrides the default image size, using units of 'px' or 'em'

Example
250px
Stringoptional
Image alt-textimagealt

The alt (hover) text for the image

Stringoptional
Image captionimagecaption

A caption to display under the image

Stringoptional
Image headerimageheader

A brief header for the image to display in the left hand column

Stringoptional
Mapmap

The image to display at the bottom of the infobox, in the format 'image name.png' without 'File:' or brackets

Example
Bantu zones.png
Fileoptional
Map sizemapsize

Overrides the default image size for the map, using units of 'px' or 'em'

Example
250px
Stringoptional
Map alt-textmapalt

The alt (hover) text for the map

Example
World map showing countries where a Romance language is the primary or official language
Stringoptional
Map captionmapcaption

A caption to display under the map

Example
The approximate locations of the sixteen Guthrie Bantu zones, including the addition of a zone J
Stringoptional
Map 2map2

A second map to display at the bottom of the infobox, in the format 'image name.png' without 'File:' or brackets

Example
Romance languages.png
Fileoptional
Map alt-text 2mapalt2

The alt (hover) text the second map

Example
European Romance languages
Stringoptional
Map caption 2mapcaption2

A caption to display under both maps

Stringoptional
Infobox sizeboxsize

Overrides the default width of the infobox, using units of 'px' or 'em'. (It automatically expands to fit images wider than the default width.)

Example
300px
Stringoptional
IPA Noticenotice

Set to 'IPA' or 'ipa' to display a notice that the article contains special IPA phonetic symbols

Stringoptional
Notesnotes

A space for notes, such as "† indicates a dead language", or any "* [something here]" footnote

Contentsuggested
Acceptanceacceptance

The date of the language family's acceptance or other information about acceptance

Stringoptional
Extinctionextinct

The date of the language family's extinction or other information about extinction

Stringoptional
Speakersspeakers

Population estimate for the language family

Stringoptional
Datedate

The date of the reference of a population estimate

Stringoptional
Referenceref

Reference for the date of the language family's extinction or population estimate

Stringoptional
Speakers2speakers2

More information about the speaker population

Stringoptional
Protolanguage nameprotoname

Name of the proto-language of the language family

Example
[[Proto-Arabic language]]
Lineoptional
Child 1child1

A language or branch of this language family

Example
[[Western Romance languages]]
Stringoptional
Child 2child2

A language or branch of this language family

Example
[[Eastern Romance languages]]
Stringoptional
Child 3child3

A language or branch of this language family

Example
[[Sardinian language]]
Stringoptional
Child 4child4

A language or branch of this language family

Example
[[African Romance|African Romance language]]
Stringoptional
Child 5child5

A language or branch of this language family

Example
[[Sardinian language]]
Stringoptional
Child 6child6

A language or branch of this language family

Example
[[Hindi language]]
Stringoptional
Child 7child7

A language or branch of this language family

Example
[[Urdu language]]
Stringoptional
Child 8child8

A language or branch of this language family

Example
[[Marathi language]]
Stringoptional
Child 9child9

A language or branch of this language family

Example
[[Punjabi language]]
Stringoptional
Child 10child10

A language or branch of this language family

Example
[[Oghur languages|Oghur]]
Stringoptional
Child 11child11

A language or branch of this language family

Example
[[Common Turkic languages|Common Turkic]]
Stringoptional
Child 12child12

A language or branch of this language family

Example
[[Karluk languages]]
Stringoptional
Child 13child13

A language or branch of this language family

Example
[[Oghur languages]]
Stringoptional
Child 14child14

A language or branch of this language family

Example
[[Kipchak languages]]
Stringoptional
Child 15child15

A language or branch of this language family

Stringoptional
Child 16child16

A language or branch of this language family

Stringoptional
Child 17child17

A language or branch of this language family

Stringoptional
Child 18child18

A language or branch of this language family

Stringoptional
Child 19child19

A language or branch of this language family

Stringoptional
Child 20child20

A language or branch of this language family

Stringoptional
Childrenchildren

Overrides all other child language parameters; displays whatever you want

Contentoptional
List CSS classlistclass

class for the child list: 'plainlist' (default), 'hlist' (horizontal) or 'flatlist' (bulleted)

Default
plainlist
Example
hlist
Stringoptional
ISO 639-1iso1

The ISO 639-1 code for the language family

Example
ar
Stringoptional
ISO 639-1 Commentiso1comment

Any comments about the ISO 639-1 code, so as not to interfere with the link

Stringoptional