Template:Infobox language: Difference between revisions

From The Pinched Universe
Jump to navigation Jump to search
Copied from https://en.wikipedia.org/wiki/Template:Infobox_language
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 82: Line 82:
| label9 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}
| label9 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}
   |Purpose
   |Purpose
   |{{longitem|{{Wrap|[[Language family]]}}}}
   |{{longitem|{{Wrap|[[wikipedia:Language family|Language family]]}}}}
   }}
   }}
| data9 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
| data9 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
Line 192: Line 192:
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}


| label13 = {{longitem|{{Wrap|[[Writing system]]}}}}
| label13 = {{longitem|{{Wrap|[[wikipedia:Writing system|Writing system]]}}}}
| data13 =  {{#switch: {{lc:{{{script|}}}}}
| data13 =  {{#switch: {{lc:{{{script|}}}}}
             | latin
             | latin
Line 225: Line 225:
| label20 = Development body
| label20 = Development body
| data20 = {{{development_body|}}}
| data20 = {{{development_body|}}}
<!--------------------------------------------------------->
| header21 = Language codes
| label22 = {{nowrap|[[ISO 639-1]]}}
| data22 = {{#if:{{{iso1|}}}|<code>{{#ifeq:{{str len|{{{iso1|}}}}}| 2 | {{ISO 639-1|{{{iso1}}}}} | {{{iso1}}} }}</code> {{{iso1comment|}}}}}
| label23 = {{nowrap|[[ISO 639-2]]}}
| data23 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
|<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}
  |{{#ifeq:{{str len|{{{iso2b|}}}}}| 3 | {{ISO 639-2|{{{iso2b}}}}} | {{{iso2b}}} }}&nbsp;(B)
  |{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
  |{{{iso2|sgn}}}
  |{{
    #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}
    |{{{iso2|art}}}
    |{{#ifeq:{{str len|{{{iso2|}}}}}| 3 | {{ISO 639-2|{{{iso2}}}}} | {{{iso2}}} }}}}}}}}</code> {{{iso2comment|}}}{{
    #if:{{{iso2b|}}}{{{iso2t|}}}
    |<br /><code>{{#ifeq:{{str len|{{{iso2t|}}}}}| 3 | {{ISO 639-2|{{{iso2t}}}}} | {{{iso2t}}} }}&nbsp;(T)</code>}}
}}
| label24 = {{nowrap|[[ISO 639-3]]}}
| data24 = {{#if:{{{iso3|}}}
  |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None'' (<code>mis</code>)}}|<code>{{#ifeq:{{str len|{{{iso3}}}}}| 3 | [[ISO639-3:{{{iso3}}}|{{{iso3}}}]] | {{{iso3}}} }}</code> {{#if:{{{lc1|}}}| – inclusive code<!--not all are 'macrolanguages': Hittite, for example-->}} {{{iso3comment|}}}}}|{{#if:{{{lc1|}}}| |–}}}}{{#ifexpr:{{#if:{{{lc1|}}}|1|0}} and {{#if:{{{lc2|}}}|1|0}}|{{#if:{{{iso3|}}}|<br />Individual codes|{{#if:{{{lc3|}}}|Variously|Either}}}}:{{Infobox language/codelist
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
|{{{lc3|}}}|{{{ld3|}}}}}{{Infobox language/codelist
|{{{lc4|}}}|{{{ld4|}}}}}{{Infobox language/codelist
|{{{lc5|}}}|{{{ld5|}}}}}{{Infobox language/codelist
|{{{lc6|}}}|{{{ld6|}}}}}{{Infobox language/codelist
|{{{lc7|}}}|{{{ld7|}}}}}{{Infobox language/codelist
|{{{lc8|}}}|{{{ld8|}}}}}{{Infobox language/codelist
|{{{lc9|}}}|{{{ld9|}}}}}{{Infobox language/codelist
|{{{lc10|}}}|{{{ld10|}}}}}{{Infobox language/codelist
|{{{lc11|}}}|{{{ld11|}}}}}{{Infobox language/codelist
|{{{lc12|}}}|{{{ld12|}}}}}{{Infobox language/codelist
|{{{lc13|}}}|{{{ld13|}}}}}{{Infobox language/codelist
|{{{lc14|}}}|{{{ld14|}}}}}{{Infobox language/codelist
|{{{lc15|}}}|{{{ld15|}}}}}{{Infobox language/codelist
|{{{lc16|}}}|{{{ld16|}}}}}{{Infobox language/codelist
|{{{lc17|}}}|{{{ld17|}}}}}{{Infobox language/codelist
|{{{lc18|}}}|{{{ld18|}}}}}{{Infobox language/codelist
|{{{lc19|}}}|{{{ld19|}}}}}{{Infobox language/codelist
|{{{lc20|}}}|{{{ld20|}}}}}{{Infobox language/codelist
|{{{lc21|}}}|{{{ld21|}}}}}{{Infobox language/codelist
|{{{lc22|}}}|{{{ld22|}}}}}{{Infobox language/codelist
|{{{lc23|}}}|{{{ld23|}}}}}{{Infobox language/codelist
|{{{lc24|}}}|{{{ld24|}}}}}{{Infobox language/codelist
|{{{lc25|}}}|{{{ld25|}}}}}{{Infobox language/codelist
|{{{lc26|}}}|{{{ld26|}}}}}{{Infobox language/codelist
|{{{lc27|}}}|{{{ld27|}}}}}{{Infobox language/codelist
|{{{lc28|}}}|{{{ld28|}}}}}{{Infobox language/codelist
|{{{lc29|}}}|{{{ld29|}}}}}{{Infobox language/codelist
|{{{lc30|}}}|{{{ld30|}}} }}
|{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}
| label25 = {{nowrap|[[ISO 639-6]]}}<!-- NOTE: ISO 639-6 was withdrawn in 2014.-->
| data25 = {{#if:{{{iso6|}}}|<code>{{{iso6}}}</code>[[Category:Languages with ISO6 code]]}}
| label26 = {{longitem|[[Linguist List]]}}
| data26  = {{Infobox language/linguistlist|1={{{linglist|}}} |2={{{lingname|}}}}}
| label27 = &nbsp;
| data27  = {{Infobox language/linguistlist|1={{{linglist2|}}}|2={{{lingname2|}}}}}
| label28 = &nbsp;
| data28  = {{Infobox language/linguistlist|1={{{linglist3|}}}|2={{{lingname3|}}}}}
| label29 = &nbsp;
| data29  = {{Infobox language/linguistlist|1={{{linglist4|}}}|2={{{lingname4|}}}}}
| label30 = &nbsp;
| data30  = {{Infobox language/linguistlist|1={{{linglist5|}}}|2={{{lingname5|}}}}}
| label31 = &nbsp;
| data31  = {{Infobox language/linguistlist|1={{{linglist6|}}}|2={{{lingname6|}}}}}
| label32 = ''[[Glottolog]]''
| data32 = {{#if:{{{glotto|}}}|{{#ifeq:{{lc:{{{glotto|}}}}}|none|''None''[[Category:Languages without Glottolog code]]|{{#ifeq:{{lc:{{{glotto|}}}}}|spurious|(insufficiently attested or not a distinct language){{main other|[[Category:Languages rejected by Glottolog]]}}|<code>{{glottolink|{{{glotto}}}}}</code>{{#if:{{{glottoname|}}}|&nbsp; {{{glottoname}}}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}|&nbsp; {{{glottoname2}}}}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}|&nbsp; {{{glottoname3}}}}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}|&nbsp; {{{glottoname4}}}}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}|&nbsp; {{{glottoname5}}}}}}}
| label33 = [[Australian Institute of Aboriginal and Torres Strait Islander Studies|AIATSIS]]{{#if:{{{aiatsis|}}}|{{#tag:ref|{{AIATSIS|{{{aiatsis|}}}|{{{aiatsisname|{{{name}}}}}}|{{{aiatsis2|}}}}}|name="AIATSIS"}}}}
| data33 = {{#if:{{{aiatsis|}}}|<code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis}}} {{{aiatsis}}}]</code>{{#if:{{{aiatsisname|}}}|&nbsp;{{{aiatsisname}}}}} }}{{#if:{{{aiatsis2|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis2}}} {{{aiatsis2}}}]</code>{{#if:{{{aiatsisname2|}}}|&nbsp;{{{aiatsisname2}}}}} }}{{#if:{{{aiatsis3|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis3}}} {{{aiatsis3}}}]</code>{{#if:{{{aiatsisname3|}}}|&nbsp;{{{aiatsisname3}}}}} }}{{#if:{{{aiatsis4|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis4}}} {{{aiatsis4}}}]</code>{{#if:{{{aiatsisname4|}}}|&nbsp;{{{aiatsisname4}}}}} }}{{#if:{{{aiatsis5|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis5}}} {{{aiatsis5}}}]</code>{{#if:{{{aiatsisname5|}}}|&nbsp;{{{aiatsisname5}}}}} }}{{#if:{{{aiatsis6|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis6}}} {{{aiatsis6}}}]</code>{{#if:{{{aiatsisname6|}}}|&nbsp;{{{aiatsisname6}}}}} }}
| label34 = {{longitem|{{Wrap|[[Guthrie classification of Bantu languages|Guthrie code]]}}}}
| data34 = {{#if:{{{guthrie|}}}|<code>{{{guthrie}}}</code><ref name="Guthrie">Jouni Filip Maho, 2009. [https://web.archive.org/web/20180203191542/http://goto.glocalnet.net/mahopapers/nuglonline.pdf New Updated Guthrie List Online]</ref>}}
| label35 = [[Endangered Languages Project|ELP]]
| data35 = {{#ifeq: {{lc: {{{ELP|}}} }} | none | | {{Endangered Languages Project |ELP={{{ELP|}}} |ELPname={{{ELPname|}}} |qid={{{qid|}}} }} }}


| label36 = &nbsp;<!--keeps ELP entries aligned-->
| label36 = &nbsp;<!--keeps ELP entries aligned-->
Line 375: Line 288:
-->{{main other|<!--
-->{{main other|<!--
-->{{#if:{{Infobox language/family-color|{{{familycolor|}}}}}{{{signers|}}}{{{creator|}}}||[[Category:Languages without family color codes]]}}<!--
-->{{#if:{{Infobox language/family-color|{{{familycolor|}}}}}{{{signers|}}}{{{creator|}}}||[[Category:Languages without family color codes]]}}<!--
-->{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{speakers|}}}{{{creator|}}}{{{setting|}}}||<!-- no main input for data7 -->[[Category:Language articles without speaker estimate]]}}<!--
--><!--
-->{{#ifeq:{{{speakers|}}}|?|{{#if:{{{iso3|}}}{{{lc1|}}}|{{#ifeq:{{{iso3|}}}|none|<!-- ok -->|{{#ifeq:{{{ref|}}}|e18|<!-- ok -->|[[Category:Language articles with unknown population not citing Ethnologue 18]]}}}}}}}}<!--
-->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}|[[Category:Conlangs without ISO 639-3 code]]}}}}<!--
-->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}|[[Category:Conlangs without ISO 639-3 code]]}}}}<!--
-->{{#if:{{{date|}}}|{{#iferror: {{#expr: {{padleft:|4|{{{date}}}|}} }} |<!--  
-->{{#if:{{{date|}}}|{{#iferror: {{#expr: {{padleft:|4|{{{date}}}|}} }} |<!--  
Line 392: Line 304:
     |}}}}}}<!--
     |}}}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#if:{{{glotto|}}}|<!--ok-->|{{#if:{{{linglist|}}}|<!--ok-->|{{#if:{{{lingua|}}}|<!--ok-->|{{#if:{{{aiatsis|}}}|<!--ok-->|{{#if:{{{guthrie|}}}|<!--ok-->|{{#if:{{{creator|}}}|<!--ok-->|{{#if:{{{created|}}}|<!--ok-->|[[Category:Languages without ISO 639-3 code]]}}}}}}}}}}}}}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#if:{{{glotto|}}}|<!--ok-->|{{#if:{{{linglist|}}}|<!--ok-->|{{#if:{{{lingua|}}}|<!--ok-->|{{#if:{{{aiatsis|}}}|<!--ok-->|{{#if:{{{guthrie|}}}|<!--ok-->|{{#if:{{{creator|}}}|<!--ok-->|{{#if:{{{created|}}}|<!--ok-->|[[Category:Languages without ISO 639-3 code]]}}}}}}}}}}}}}}}}<!--
-->{{#if:{{{iso3|}}}{{{lc1|}}}{{{glotto|}}}{{{glotto2|}}}{{{glotto3|}}}{{{glotto4|}}}{{{glotto5|}}}{{{linglist|}}}{{{lingua|}}}{{{aiatsis|}}}{{{guthrie|}}}{{{isoexception|}}}|<!--ok-->|[[Category:Language articles without language codes]]}}<!--
-->{{#if:{{{lc1|}}}|{{#if:{{{lc2|}}}|<!--ok-->|[[Category:Languages which need ISO 639-3 comment]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{ref|}}}|e18|[[Category:Nonexistent E18 links]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#if:{{{linglist|}}}|{{#ifeq:{{{isoexception|}}}|dialect|[[Category:Dialects with Linguist List code]]|[[Category:Languages without ISO 639-3 code but with Linguist List code]]}}}}<!--
-->{{#ifeq:{{{glotto|}}}|none|<!--ok-->||{{#if:{{{glotto|}}}|[[Category:Languages without ISO 639-3 code but with Glottolog code]]}}}}<!--
-->{{#if:{{{lingua|}}}|[[Category:Languages without ISO 639-3 code but with Linguasphere code]]}}<!--
-->{{#if:{{{aiatsis|}}}|[[Category:Languages without ISO 639-3 code but with AIATSIS code]]}}<!--
-->{{#if:{{{guthrie|}}}|[[Category:Languages without ISO 639-3 code but with Guthrie code]]}}}}<!--
-->{{#if:{{{iso3|}}}|<!--okay-->|{{#if:{{{lc1|}}}|<!--ok-->|{{#if:{{{linglist|}}}|{{#ifeq:{{{isoexception|}}}|dialect|[[Category:Dialects with Linguist List code]]|[[Category:Languages without ISO 639-3 code but with Linguist List code]]}}}}<!--
-->{{#ifeq:{{{glotto|}}}|none|<!--ok-->|{{#if:{{{glotto|}}}|[[Category:Languages without ISO 639-3 code but with Glottolog code]]}}}}<!--
-->{{#if:{{{lingua|}}}|[[Category:Languages without ISO 639-3 code but with Linguasphere code]]}}<!--
-->{{#if:{{{aiatsis|}}}|[[Category:Languages without ISO 639-3 code but with AIATSIS code]]}}<!--
-->{{#if:{{{guthrie|}}}|[[Category:Languages without ISO 639-3 code but with Guthrie code]]}}}}}}<!--
-->{{#if:{{{glotto|}}}|{{#if:{{{glottorefname|}}}{{{glottoname|}}}|<!--ok-->
  |{{#switch: {{lc:{{{glotto}}}}} |none = |spurious =
  |#default = [[Category:Articles with unnamed Glottolog code]]}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glottoname2|}}}{{{glottorefname2|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glottoname3|}}}{{{glottorefname3|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glottoname4|}}}{{{glottorefname4|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glottoname5|}}}{{{glottorefname5|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->{{#ifeq:{{Chr|{{{map|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Chr|{{{map|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Chr|{{{map2|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Chr|{{{map2|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
Line 420: Line 312:
-->{{#if:{{{extinct|}}}{{{era|}}}|{{#if:{{{ref|}}}|<!--ok-->|{{#ifeq:{{{extinct}}}|?|<!--ok-->|[[Category:Language articles with unreferenced extinction date]]}}}}}}<!--
-->{{#if:{{{extinct|}}}{{{era|}}}|{{#if:{{{ref|}}}|<!--ok-->|{{#ifeq:{{{extinct}}}|?|<!--ok-->|[[Category:Language articles with unreferenced extinction date]]}}}}}}<!--
-->{{#if:{{{boxsize|}}}|}}<!--
-->{{#if:{{{boxsize|}}}|}}<!--
-->{{#if:{{{glotto|}}}{{{glotto2|}}}{{{glotto3|}}}{{{glotto4|}}}{{{glotto5|}}}|<!--ok-->|[[Category:Language articles missing Glottolog code]]}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{glotto|}}}|none|[[Category:Languages with neither ISO nor Glottolog code]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{glotto|}}}|none|[[Category:Languages with neither ISO nor Glottolog code]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none||{{#if:{{{iso3|}}}{{{lc1|}}}|{{#if:{{{ref|}}}|{{#switch: {{{ref}}} | e26 = | e25 = | e24 = | e23 = | e22 = | e21 = | e20 = | e19 = | e18 = | e17 = | e16 = | e15 = | e14 = | e13 = | e12 = | e11 = | e10 = | e09 = | e08 = | ne2007 = [[Category:Articles citing Nationalencyklopedin]] | ne2010 = [[Category:Articles citing Nationalencyklopedin]] | inali = [[Category:Articles citing INALI]] | linglist = [[Category:Articles citing Linguist List]] | aiatsis= [[Category:Articles citing AIATSIS]] | guthrie = [[Category:Articles citing Maho/Guthrie]] | &nbsp; = [[Category:Articles opting out of population reference]] | {{#if:{{{extinct|}}}{{{era|}}}|[[Category:Extinct ISO language articles citing sources other than Ethnologue]]|[[Category:ISO language articles citing sources other than Ethnologue]]}}}}}}}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none||{{#if:{{{iso3|}}}{{{lc1|}}}|{{#if:{{{ref|}}}|{{#switch: {{{ref}}} | e26 = | e25 = | e24 = | e23 = | e22 = | e21 = | e20 = | e19 = | e18 = | e17 = | e16 = | e15 = | e14 = | e13 = | e12 = | e11 = | e10 = | e09 = | e08 = | ne2007 = [[Category:Articles citing Nationalencyklopedin]] | ne2010 = [[Category:Articles citing Nationalencyklopedin]] | inali = [[Category:Articles citing INALI]] | linglist = [[Category:Articles citing Linguist List]] | aiatsis= [[Category:Articles citing AIATSIS]] | guthrie = [[Category:Articles citing Maho/Guthrie]] | &nbsp; = [[Category:Articles opting out of population reference]] | {{#if:{{{extinct|}}}{{{era|}}}|[[Category:Extinct ISO language articles citing sources other than Ethnologue]]|[[Category:ISO language articles citing sources other than Ethnologue]]}}}}}}}}}}<!--

Latest revision as of 13:53, 26 June 2024

Default
  • Infobox language

The documentation for this template is not intended to be hosted on this wiki.

However, you might be able to find it at one of the following locations: