Template:Infobox language family: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Ruthlessly tearing Glottolog out of this thing) |
||
Line 128: | Line 128: | ||
| data14 = {{#if:{{{lingua|}}} | | data14 = {{#if:{{{lingua|}}} | ||
|<samp>{{{lingua}}}</samp> }} | |<samp>{{{lingua}}}</samp> }} | ||
| data20 = {{#if:{{{map|}}} | | data20 = {{#if:{{{map|}}} | ||
Line 165: | Line 156: | ||
|listclass|module|notes | |listclass|module|notes | ||
|iso1|iso2|iso3|iso5|iso6 | |iso1|iso2|iso3|iso5|iso6 | ||
|lingua | |lingua | ||
|map|mapsize|mapalt|mapcaption|map2|mapalt2|mapcaption2|boxsize | |map|mapsize|mapalt|mapcaption|map2|mapalt2|mapcaption2|boxsize | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|<!--blank-->|[[Category:Languages without family color codes]]}}<!-- | -->{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|<!--blank-->|[[Category:Languages without family color codes]]}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:00, 6 April 2019
{{{name}}} | |
---|---|
Geographic distribution | — |
Linguistic classification | Default
|
This template uses Lua: |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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 | 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 | 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(2–5) = the Glottolog code(s) for the family. Set glotto 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(2–5) = the names to be used in the Glottolog reference (can be cross-ref'd as name=Glottolog etc.) | glottofoot = set to "no" to hide the Glottolog footnotes | 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
See also | Wikipedia:WikiProject Languages |
---|
Tracking categories
- Category:Language articles with unsupported infobox fields (29)
- Category:Articles with unnamed Glottolog code (2)
- Category:Families missing Glottolog code (0)
- Category:Families not evaluated by Glottolog (0)
- Category:Families rejected by Glottolog (0)
- Category:Languages without family color codes (72)