Template:Infobox language family: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
Line 14: | Line 14: | ||
| data3 = {{{region|—}}} | | data3 = {{{region|—}}} | ||
| label4 = {{#if:{{{extinct|}}}| | | label4 = {{#if:{{{extinct|}}}|{{wp|Extinct language|Extinct}}}} | ||
| data4 = {{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date missing)|{{{extinct}}} }} }} | | data4 = {{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date missing)|{{{extinct}}} }} }} | ||
| label5 = | | label5 = {{wp|Language family|Linguistic classification}} | ||
| data5 = {{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>{{#if:{{{fam2|}}} | | data5 = {{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>{{#if:{{{fam2|}}} | ||
| {{{fam2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam3|}}} | | {{{fam2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam3|}}} | ||
Line 91: | Line 91: | ||
| label10 = {{#if:{{{iso1|}}} | | label10 = {{#if:{{{iso1|}}} | ||
| | | {{wp|ISO 639-1}} | ||
}} | }} | ||
Line 99: | Line 99: | ||
| label11 = {{#if:{{{iso2|}}} | | label11 = {{#if:{{{iso2|}}} | ||
| | | {{wp|ISO 639-2}} / {{wp|ISO 639-5|5}} | ||
|{{#if:{{{iso5|}}} | |{{#if:{{{iso5|}}} | ||
| | |{{wp|ISO 639-5}} | ||
}} | }} | ||
}} | }} | ||
Line 113: | Line 113: | ||
| label12 = {{#if:{{{iso3|}}} | | label12 = {{#if:{{{iso3|}}} | ||
| | | {{wp|ISO 639-3}} }} | ||
| data12 = {{#if:{{{iso3|}}} | | data12 = {{#if:{{{iso3|}}} | ||
Line 119: | Line 119: | ||
| label13 = {{#if:{{{iso6|}}}<!--obsolete--> | | label13 = {{#if:{{{iso6|}}}<!--obsolete--> | ||
| | | {{wp|ISO 639-6}} }} | ||
| data13 = {{#if:{{{iso6|}}} | | data13 = {{#if:{{{iso6|}}} | ||
|<samp>{{{iso6}}}</samp> }} | |<samp>{{{iso6}}}</samp> }} | ||
| label14 = | | label14 = {{wp|Linguasphere Observatory|Linguasphere}} | ||
| data14 = {{#if:{{{lingua|}}} | | data14 = {{#if:{{{lingua|}}} | ||
|<samp>{{{lingua}}}</samp> }} | |<samp>{{{lingua}}}</samp> }} | ||
| label15 = | | label15 = {{wp|Glottolog}} | ||
| data15 = {{#if:{{{glotto|}}}|{{#ifeq:{{lc:{{{glotto|}}}}}|none|''None''{{main other|[[Category:Families rejected by Glottolog]]}}|{{#ifeq:{{lc:{{{glotto|}}}}}|na|(not evaluated){{main other|[[Category:Families not evaluated by Glottolog]]}} | | data15 = {{#if:{{{glotto|}}}|{{#ifeq:{{lc:{{{glotto|}}}}}|none|''None''{{main other|[[Category:Families rejected by Glottolog]]}}|{{#ifeq:{{lc:{{{glotto|}}}}}|na|(not evaluated){{main other|[[Category:Families not evaluated by Glottolog]]}} |
Revision as of 20:27, 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)