Template:Infobox language: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Tag: Manual revert
 
(61 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Infobox
<!--
| bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize}}};}}
Turning on syntax highlighting is highly recommended for clarity
-->{{Infobox
| bodyclass = vevent
| bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize|22em}}};}}


| abovestyle = color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|black|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|black|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }};
| abovestyle = font-size:130%;<!--
| above = {{{name|{{PAGENAME}}}}}
            -->color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!--
            -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};
| above = <includeonly>{{{name|Undetermined}}}</includeonly>
| aboveclass = above
| aboveclass = above


| headerstyle = color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}|white|{{{fontcolor|black}}}}}; background-color: {{#if:{{{signers|}}}|silver|{{#if:{{{creator|}}}{{{setting|}}}|black|{{Infobox language/family-color|{{{familycolor|Default}}}}}}}}};
| subheaderstyle = font-size:110%;<!--
            -->color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!--
            -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};
| subheader1 = {{{altname|}}}
| subheader2 = {{#tag: i|{{{nativename|}}}}}
| subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}}


| subheaderstyle = font-weight: bold; color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|black|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|black|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }};
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=200px|alt={{{imagealt|}}}}}
| subheader = {{{altname|}}}{{#if:{{{altname|}}}|{{#if:{{{nativename|}}}|<br/>}}}}{{{nativename|}}}
| captionstyle = padding:0.35em 0.35em 0.25em; font-weight:normal; font-size: 14px;  
| caption = {{{imagecaption|}}}


| image = {{#if:{{{image|}}}
| headerstyle = color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!--
  |[[File:{{{image}}}|border|{{px|{{{imagesize|}}}|200px}}{{#if: {{{imagealt|}}} | {{!}}alt={{{imagealt}}}}}]]
            -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};
  }}
 
| caption = {{{imagecaption|}}}
<!--------------------------------------------------------->
| labelstyle    = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->;
| datastyle      = line-height:1.3em;


| label1 = Pronunciation
| label1 = Pronunciation
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''will be added''}}}}}
| data1 = {{#if: {{{pronunciation|}}}|{{#if: {{{pronunciation_key|}}}|{{IPA-all|{{{pronunciation|''to be added''}}}|||{{{pronunciation_key}}}}}|{{IPA-all|{{{pronunciation|''to be added''}}}|}}}}}}
| label2 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
 
  | Created&nbsp;by
| label2 = Created&nbsp;by
  | {{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
| data2 = {{#ifeq: {{str left|{{{creator|}}}|4}}|User|[[{{{creator}}}|{{str right|{{{creator}}}|5}}]]|{{{creator|–}}}}}
    |Spoken
 
    |Spoken
    }} natively in
  }}
| data2 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
  |{{{creator|–}}}
  |{{{states|{{{state|}}}}}}
  }}
| label3 = Date
| label3 = Date
| data3 = {{{created|}}}
| data3 = {{{created|}}}
| label4 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
 
  |Setting and usage
| label4 = Setting
  |{{#if:{{{region|}}}|Region}}
| data4 = {{{setting|}}}
  }}
 
| data4 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
| label5 = Native to
    |{{{setting|}}}
| data5 = {{{states|{{{state|}}}}}}
    |{{{region|}}}
 
    }}
| label5 = [[Geographic coordinate system|Coordinates]]
| data5 = {{#if:{{{latd|}}}
  | <small style="white-space: nowrap">{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:landmark|display=inline}}</small>
  }}
| label6 = Ethnicity
| label6 = Ethnicity
| data6 = {{{ethnicity|}}}
| data6 = {{{ethnicity|}}}
| label7 = {{#if:{{{extinct|}}}
  |[[Extinct language|Extinct]]
  |{{#if:{{{era|}}}
  |Era
  |{{#if:{{{creator|}}}
  |Users
  |Native {{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
    |speakers
    |speakers
    }} }}
  }} }}
| data7 =<!--
-->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date unknown)|{{{extinct}}}}}<!-- extinct input used
  -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
      -->|<!-- no era, check for sign/spoken -->{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|silver|1}}<!-- check for signers/silver
        -->|<!-- SIGN language (silver) -->{{#if:{{{signers|}}}{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{signers|{{{speakers|–}}}}}}
      |{{#ifeq:{{{signers|{{{speakers}}}}}}|?|(unknown)
      |{{#ifeq:{{{signers|{{{speakers}}}}}}|none|''None''
      |{{#if:{{{date|}}}|{{{signers|{{{speakers|–}}}}}} &nbsp;({{{date}}})
      |{{{signers|{{{speakers|–}}}}}} &nbsp;(''date missing'')[[Category:Language articles with speaker number undated]]}} }} }} }} }}<!--(end if:date, ifeq:date=na, if:signers. end of SIGN)
        -->|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|–}}}
      |{{#ifeq: {{{date}}}|no date|{{{speakers|–}}} &nbsp;(no date)|<!--
The following changes the display depending on the age of the data. Limit set initially to 30 years, as a population can double in that time.
-->{{#if:{{{date|}}}|{{#iferror:{{#expr: {{padleft:|4|{{{date}}}|}} }}||{{#ifexpr:(({{CURRENTYEAR}} - {{padleft:|4|{{{date}}}|}}) < 30)<!--
    -->|<!-- regular-->{{{speakers|–}}} &nbsp;({{{date}}})<!--
    -->|<!-- old (30+) --> ({{{speakers}}} cited {{{date}}})[[category:Language articles with old speaker data]]}}}}<!--(end ifexpr:30+, iferror:)
    -->|{{#ifeq:{{{speakers}}}|?|(unknown)
      |{{#ifeq:{{{speakers}}}|none|''None''
      |<!-- no date input -->{{{speakers|–}}} &nbsp;(''date missing'')[[Category:Language articles with speaker number undated]]}} }} }}<!--(end if:date, before the 30+ expr check)
    -->}}<!--(end ifeq:date=no date)
    -->}}<!--(end ifeq:date=na)
    -->|<!--(no speakers number to be shown)-->}}}}<!--(end if:speakers (in 2nd param of silver-check), if:silver. end of SPOKEN)
      -->}} }}<!--(end if:era, if:extinct. No open #if:s left)
If there is a ref, and there is any input for this row (data7), then we add the reference:
-->{{#if:{{{ref|}}}|{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{speakers|}}}{{{date|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|sign_language}}|{{Infobox language/ref|{{{ref}}}|iso3={{{iso3|}}}|name={{{name|{{PAGENAME}}}}}|lc1={{{lc1|}}}|ld1={{{ld1}}}|lc2={{{lc2|}}}|ld2={{{ld2}}}|lc3={{{lc3|}}}|ld3={{{ld3}}}}}}}}}<!--
Add speakers2 after the ref:
-->{{#if:{{{speakers2|}}}|<br/>{{{speakers2|}}} }}


| label8 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
| label7 = {{#if: {{{extinct|}}}<!--
  |Purpose
            -->|[[w:Extinct language|Extinct]]<!--
  |[[wikipedia:Language family|Language family]]
            -->|{{#if: {{{era|}}}<!--
  }}
                -->|Era<!--
| data8 = <div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
                -->|{{{speakers_label|Native speakers}}}<!--
  |''Unknown''<includeonly>[[Category:Languages without classification]]</includeonly>
            -->}}<!--
  |{{#if:{{{creator|}}}{{{setting|}}}
        -->}}
    |[[wikipedia:constructed language]]
| data7 = {{#if: {{{extinct|}}}<!--
    |{{Infobox language/genetic|{{{familycolor|Default}}}}}
          -->|{{#ifeq: {{{extinct}}}|?<!--
    }}
              -->|<small>(date missing)</small>[[Category:Language articles with unknown extinction date]]<!--
  }}}}}
              -->|{{{extinct}}}<!--
<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>
              -->}}<!-- extinct input used
{{#ifeq:{{{familycolor|}}}|unclassified||{{#ifeq:{{{familycolor|}}}|Unclassified||{{#ifeq:{{{familycolor|}}}|isolate||{{#ifeq:{{{familycolor|}}}|Isolate||{{#if:{{{fam2|}}}
          -->|{{#if: {{{era|}}}<!--
| {{{fam2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam3|}}}
              -->|{{{era}}}<!-- era input used
| {{{fam3}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam4|}}}
              -->|{{#if: {{{speakers|}}}<!--
| {{{fam4}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam5|}}}
                  -->|{{#switch: {{lc: {{{date}}}}}<!--
| {{{fam5}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam6|}}}
                      -->|na={{{speakers|–}}}<!--
| {{{fam6}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam7|}}}
                      -->|no date=<small>(undated figure of {{{speakers}}})</small><!--
| {{{fam7}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam8|}}}
                      -->|{{{speakers}}} ({{{date}}})<!--
| {{{fam8}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam9|}}}
                      -->}}<!--
| {{{fam9}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam10|}}}
                  -->|<!-- (no speakers number to be shown)
| {{{fam10}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam11|}}}
                  -->}}<!--
| {{{fam11}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam12|}}}
              -->}}<!--
| {{{fam12}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam13|}}}
          -->}}<!--
| {{{fam13}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam14|}}}
-->{{#if: {{{speakers2|}}}|<br />{{{speakers2|}}}}}
| {{{fam14}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam15|}}}
 
| {{{fam15}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>'''{{{name|{{PAGENAME}}}}}'''</li></ul>
| label8 = {{#if:{{{revived|}}}|[[w:Language revitalization|Revival]]}}
| data8 = {{{revived|}}}
 
| label9 = {{#if:{{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}||{{longitem|{{allow wrap|[[w:Language family|Language family]]}}}}}}
| data9 = {{#if:{{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}||{{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}}}}
<ul style="line-height:100%; margin-left:1.35em;padding-left:0"><li>
{{#switch: {{lc: {{{familycolor|}}}}}|unclassified|isolate=|{{#if:{{{fam2|}}}
| {{{fam2}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam3|}}}
| {{{fam3}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam4|}}}
| {{{fam4}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam5|}}}
| {{{fam5}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam6|}}}
| {{{fam6}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam7|}}}
| {{{fam7}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam8|}}}
| {{{fam8}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam9|}}}
| {{{fam9}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam10|}}}
| {{{fam10}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam11|}}}
| {{{fam11}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam12|}}}
| {{{fam12}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam13|}}}
| {{{fam13}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam14|}}}
| {{{fam14}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam15|}}}
| {{{fam15}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>'''{{{name|{{PAGENAME}}}}}'''</li></ul>
| '''{{{name|{{PAGENAME}}}}}'''
| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
Line 125: Line 109:
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>
}}</li></ul>
}}}}}}}}}}}</div>
}}</div>}}}}
| label9 = Early forms:
 
| data9 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
| label10 = {{longitem|Early form{{#if:{{{ancestor2|}}}|s}}}}
<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>{{#if:{{{ancestor2|}}}
| data10 = {{#if:{{{protoname|}}}{{{ancestor|{{{ancestor1|}}}}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|{{{ancestor1}}}}}}}}}
| {{{ancestor2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor3|}}}
{{#if:{{{ancestor2|}}}|<ul style="line-height:100%; margin-left:1.35em; padding-left:0"><li>{{{ancestor2}}}
| {{{ancestor3}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor4|}}}
{{#if:{{{ancestor3|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor3}}}
| {{{ancestor4}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor5|}}}
{{#if:{{{ancestor4|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor4}}}
| {{{ancestor5}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>'''{{{name|{{PAGENAME}}}}}'''</li></ul>
{{#if:{{{ancestor5|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor5}}}
| '''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{ancestor6|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor6}}}
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{ancestor7|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor7}}}
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{ancestor8|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor8}}}
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
</li></ul>}}
}}</li></ul> </div>
</li></ul>}}
}}
</li></ul>}}
| label10 = Standard forms
</li></ul>}}
| data10 = {{#if:{{{standards|}}}|{{{standards}}}
</li></ul>}}
</li></ul>}}
</li></ul>}}
</div>}}
 
| label11 = {{longitem|Standard form{{#if:{{{stand2|}}}|s}}}}
| data11 = {{#if:{{{standards|}}}|{{{standards}}}
|{{#if:{{{stand1|}}}|
|{{#if:{{{stand1|}}}|
<div>{{{stand1|}}}</div>
<div>{{{stand1|}}}</div>
Line 149: Line 139:
<div>{{{stand6|}}}</div>
<div>{{{stand6|}}}</div>
}}}}
}}}}
| label11 = Dialects
 
| data11 = {{#if:{{{dialects|}}}|{{{dialects}}}
| label12 = {{longitem|Dialect{{#if:{{{dia2|}}}|s}}}}
| data12 = {{#if:{{{dialects|}}}|{{{dialects}}}
|{{#if:{{{dia1|}}}|
|{{#if:{{{dia1|}}}|
<div>{{{dia1|}}}</div>
{{#if:{{{dia1|}}}|*{{{dia1}}}}}
<div>{{{dia2|}}}</div>
{{#if:{{{dia2|}}}|*{{{dia2}}}}}
<div>{{{dia3|}}}</div>
{{#if:{{{dia3|}}}|*{{{dia3}}}}}
<div>{{{dia4|}}}</div>
{{#if:{{{dia4|}}}|*{{{dia4}}}}}
<div>{{{dia5|}}}</div>
{{#if:{{{dia5|}}}|*{{{dia5}}}}}
<div>{{{dia6|}}}</div>
{{#if:{{{dia6|}}}|*{{{dia6}}}}}
<div>{{{dia7|}}}</div>
{{#if:{{{dia7|}}}|*{{{dia7}}}}}
<div>{{{dia8|}}}</div>
{{#if:{{{dia8|}}}|*{{{dia8}}}}}
<div>{{{dia9|}}}</div>
{{#if:{{{dia9|}}}|*{{{dia9}}}}}
<div>{{{dia10|}}}</div>
{{#if:{{{dia10|}}}|*{{{dia10}}}}}
<div>{{{dia11|}}}</div>
{{#if:{{{dia11|}}}|*{{{dia11}}}}}
<div>{{{dia12|}}}</div>
{{#if:{{{dia12|}}}|*{{{dia12}}}}}
<div>{{{dia13|}}}</div>
{{#if:{{{dia13|}}}|*{{{dia13}}}}}
<div>{{{dia14|}}}</div>
{{#if:{{{dia14|}}}|*{{{dia14}}}}}
<div>{{{dia15|}}}</div>
{{#if:{{{dia15|}}}|*{{{dia15}}}}}
<div>{{{dia16|}}}</div>
{{#if:{{{dia16|}}}|*{{{dia16}}}}}
<div>{{{dia17|}}}</div>
{{#if:{{{dia17|}}}|*{{{dia17}}}}}
<div>{{{dia18|}}}</div>
{{#if:{{{dia18|}}}|*{{{dia18}}}}}
<div>{{{dia19|}}}</div>
{{#if:{{{dia19|}}}|*{{{dia19}}}}}
<div>{{{dia20|}}}</div>
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
}}}}
}}}}
| label12 = [[w:Writing system|Writing system]]
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}
| data12 =  {{#switch: {{lc:{{{script|}}}}}
 
            | latin
| label13 = {{longitem|{{allow wrap|[[w:Writing system|Writing system]]{{#if:{{{script2|}}}|s}}}}}}
            | [[w:latin|Latin]]
| data13 =  {{#if: {{{scripts|}}}|{{{scripts}}}|{{#if: {{{script1|}}}|{{#if: {{#invoke:scripts/templates|exists|{{{script1}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script1}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script1}}}|getCanonicalName}}]]}}}}
            | latin alphabet
{{#if:{{{script2|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script2}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}}]]}}}}
            | [[w:latin alphabet|latin alphabet]]  
{{#if:{{{script3|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script3}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}}]]}}}}
            | [[w:latin alphabet|latin]] = [[w:Latin script|Latin]]
{{#if:{{{script4|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script4}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script4}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script4}}}|getCanonicalName}}]]}}}}
            | #default = {{{script|}}}
{{#if:{{{script5|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script5}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script5}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script5}}}|getCanonicalName}}]]}}}}}}
            }}
 
| label13 = Sources
| label14 = Sources
| data13 = {{{posteriori|}}}
| data14 = {{{posteriori|}}}
 
<!--------------------------------------------------------->
| header15 = {{#if:{{{nation|}}}{{{official|}}}{{{minority|}}}{{{agency|}}}{{{development_body|}}}|Official status}}
 
| label16 = {{longitem|Official language&nbsp;in}}
| data16 = {{{nation|{{{official|}}}}}}
 
| label17 = {{longitem|class=nowrap|Recognised minority<br />language&nbsp;in}}
| data17 = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}


| header14 = {{#if:{{{nation|}}}{{{agency|}}}|Official status}}
| label18 = Regulated&nbsp;by
| label15 = Official language in
| data18 = {{{agency|}}}
| data15 = {{{nation|}}}
| label16 = Recognised minority language in
| data16 = {{{minority|}}}
| label17 = [[w:List of language regulators|Regulated by]]
| data17 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}} and {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|Default}}}}}|black|1}}|1|0}}
  | ''None''
<!--  | {{#if:{{{nation|}}}|''No official regulation''}} [this ends up claiming that languages have no regulation just cuz no-one bothered to add the regulator -->
  }}}}}
| header18 = Language codes
| label19 = [[wikipedia:ISO 639-1|ISO 639-1]]
| data19 = {{#if:{{{iso1|}}}|<tt>{{{iso1}}}</tt>}}
| label20 = [[wikipedia:ISO 639-2|ISO 639-2]]
| data20 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
|<tt>{{#if:{{{iso2b|}}}{{{iso2t|}}}
  |{{{iso2b|{{{iso2|–}}}}}}|{{{iso2b}}}&nbsp;(B)
  |{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
  |{{{iso2|sgn}}}
  |{{
    #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
    |{{{iso2|art}}}
    |{{{iso2}}}|{{{iso2}}}}}}}}}</tt>{{
    #if:{{{iso2b|}}}{{{iso2t|}}}
    |<br /><tt>{{{iso2t|{{{iso2|–}}}}}}|{{{iso2t}}}]]&nbsp;(T)</tt>}}
}}
| label21 = [[w:ISO 639-3|ISO 639-3]]
| data21 = {{#if:{{{iso3|}}}
  |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>{{{iso3}}}|{{{iso3}}}</tt> {{#if:{{{lc1|}}}| – [[w:ISO 639 macrolanguage|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|}}}}}{{Infobox language/codelist
|{{{lc31|}}}|{{{ld31|}}}}}{{Infobox language/codelist
|{{{lc32|}}}|{{{ld32|}}}}}{{Infobox language/codelist
|{{{lc33|}}}|{{{ld33|}}}}}{{Infobox language/codelist
|{{{lc34|}}}|{{{ld34|}}}}}{{Infobox language/codelist
|{{{lc35|}}}|{{{ld35|}}}}}{{Infobox language/codelist
|{{{lc36|}}}|{{{ld36|}}}}}{{Infobox language/codelist
|{{{lc37|}}}|{{{ld37|}}}}}{{Infobox language/codelist
|{{{lc38|}}}|{{{ld38|}}}}}{{Infobox language/codelist
|{{{lc39|}}}|{{{ld39|}}}}}{{Infobox language/codelist
|{{{lc40|}}}|{{{ld40|}}}}}{{Infobox language/codelist
|{{{lc41|}}}|{{{ld41|}}}}}{{Infobox language/codelist
|{{{lc42|}}}|{{{ld42|}}}}}{{Infobox language/codelist
|{{{lc43|}}}|{{{ld43|}}}}}{{Infobox language/codelist
|{{{lc44|}}}|{{{ld44|}}}}}{{Infobox language/codelist
|{{{lc45|}}}|{{{ld45|}}} }}
|{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}


| label22 = [[w:ISO 639-6|ISO 639-6]]
| label19 = Development body
| data22 = {{#if:{{{iso6|}}}|<tt>{{{iso6}}}</tt>}}
| data19 = {{{development_body|}}}


| label23 = Linguist List
<!--------------------------------------------------------->
| data23  = {{Infobox language/linguistlist|1={{{linglist|}}} |2={{{lingname|}}}}}
| header20 = {{#if:{{{iso1|}}}{{{iso2|}}}{{{iso3|}}}{{{clcr|}}}{{{brcl|}}}{{{glotto|}}}{{{glotto2|}}}{{{ietf|}}}|Language codes}}
| label24 = &nbsp;
| data24  = {{Infobox language/linguistlist|1={{{linglist2|}}}|2={{{lingname2|}}}}}
| label25 = &nbsp;
| data25  = {{Infobox language/linguistlist|1={{{linglist3|}}}|2={{{lingname3|}}}}}
| label26 = &nbsp;
| data26  = {{Infobox language/linguistlist|1={{{linglist4|}}}|2={{{lingname4|}}}}}
| label27 = &nbsp;
| data27  = {{Infobox language/linguistlist|1={{{linglist5|}}}|2={{{lingname5|}}}}}
| label28 = &nbsp;
| data28  = {{Infobox language/linguistlist|1={{{linglist6|}}}|2={{{lingname6|}}}}}


| label29 = [[wikipedia:Linguasphere Observatory|Linguasphere]]
| label21 = {{nowrap|[[w:ISO 639-1|ISO 639-1]]}}
| data29 = {{#if:{{{lingua|}}}|<tt>{{{lingua}}}</tt>}}
| data21 = {{#if: {{{iso1|}}}|<code class="plainlinks">[https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1={{{iso1}}} {{{iso1}}}]</code> {{{iso1comment|}}}}}


| label30 = [[wikipedia:Guthrie classification of Bantu languages|Guthrie code]]
| label22 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}}
| data30 = {{#if:{{{guthrie|}}}|<tt>{{{guthrie}}}</tt><ref name="Guthrie">Jouni Filip Maho, 2009. [http://goto.glocalnet.net/mahopapers/nuglonline.pdf New Updated Guthrie List Online]</ref>}}
| data22 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}}


| label31 = [[wikipedia:Australian Institute of Aboriginal and Torres Strait Islander Studies|AIATSIS]]{{#tag:ref|{{AIATSIS|{{{aiatsis|}}}|{{{aiatsisname|{{{name}}}}}}|{{{aiatsis2|}}}}}|name="AIATSIS"}}
| label23 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| data31 = {{#if:{{{aiatsis|}}}|<tt>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis}}} {{{aiatsis}}}]</tt>{{#if:{{{aiatsisname|}}}|&nbsp;{{{aiatsisname}}}}} }}{{#if:{{{aiatsis2|}}}|, <tt>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis2}}} {{{aiatsis2}}}]</tt>{{#if:{{{aiatsis2name|}}}|&nbsp;{{{aiatsis2name}}}}} }}{{#if:{{{aiatsis3|}}}|, <tt>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis3}}} {{{aiatsis3}}}]</tt>{{#if:{{{aiatsis3name|}}}|&nbsp;{{{aiatsis3name}}}}} }}
| data23 = {{#if:{{{iso3|}}}|<code class="plainlinks">[https://iso639-3.sil.org/code/{{{iso3}}} {{{iso3}}}]</code> {{{iso3comment|}}}}}


| data32 = {{#if:{{{map|}}}
| label24 = <span class="plainlinks">{{nowrap|[https://www.kreativekorp.com/clcr/ CLCR]}}</span>
  | [[File:{{{map}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt|}}} | {{!}}alt={{{mapalt}}}}}]]{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}
| data24 = {{#if:{{{clcr|}}}|<code>{{{clcr}}}</code>}}
 
| label25 = [[w:Glottolog|Glottolog]]
| data25 = {{#if:{{{glotto|}}}|<code>[http://glottolog.org/resource/languoid/id/{{{glotto|}}} {{{glotto|}}}]</code>{{#if:{{{glottoname|}}}|&nbsp; {{nowrap|{{{glottoname}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>[http://glottolog.org/resource/languoid/id/{{{glotto2|}}} {{{glotto2|}}}]</code>{{#if:{{{glottoname2|}}}|&nbsp; {{nowrap|{{{glottoname2}}}}}}}}}
 
| label26 = <span class="plainlinks">[https://conworkshop.com/ ConWorkShop]</span>
| data26 = {{#if:{{{cws|}}}|<code>[https://conworkshop.com/view_language.php?l={{{cws}}} {{{cws}}}]</code>}}
 
| label27 = [[w:IETF language tag|IETF]]
| data27 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}
 
| label28 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span>
| data28 = {{#if:{{{brcl|}}}|<code>{{{brcl}}}</code>}}
 
| data29 = {{#if:{{{map|}}}
  |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}|center=yes}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption}}}</div>}}|
   }}
   }}
| data33 = {{#if:{{{map2|}}}
 
   | [[File:{{{map2}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt2|}}} | {{!}}alt={{{mapalt2}}}}}]]{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
| data30 = {{#if:{{{map2|}}}
   | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}|center=yes}}{{#if:{{{mapcaption2|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption2}}}</div>}}
   }}
   }}
| data34 = {{#if:{{{notice|}}}|
{{{!}} style="text-align:left;"
{{Infobox language/{{{notice|}}}}}
{{!}}}
}}<!-- provide notice if IPA or Indic fonts are used; optional links for sign languages -->
| data35 = {{#if:{{{notice2|}}}|
{{{!}} style="text-align:left;"
{{Infobox language/{{{notice2|}}}}}
{{!}}}
}}
}}<!-- Adding tracking categories:
-->{{#if:{{Infobox language/family-color|{{{familycolor|}}}}}{{{signers|}}}{{{creator|}}}||<includeonly>[[Category:Languages without family color codes]]</includeonly>}}<!--
-->{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{speakers|}}}{{{creator|}}}{{{setting|}}}||<!-- no main input for data7 -->{{main other|[[Category:Language articles without speaker estimate]]}}}}<!--


| data31 = {{{module|}}}


<!--------------------------------------------------------->
| belowclass = noprint selfref
| belowstyle = background-color:#E7E7FF;padding:0.3em 0.5em;text-align:left;line-height:1.3;
| below = {{#ifeq:{{lc:{{{notice|{{{notice2|}}}}}}}}|ipa
  |<small>'''This article contains [[w:International Phonetic Alphabet|IPA]] phonetic symbols.''' Without proper [[w:Help:IPA#Rendering issues|rendering support]], you may see [[w:Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]] instead of [[w:Unicode|Unicode]] characters. For an introductory guide on IPA symbols, see [[w:Help:IPA|Help:IPA]].</small>
  }}


-->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{main other|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}|[[Category:Conlangs without ISO 639-3 code]]|[[Category:Languages without ISO 639-3 code]]}}}}}}<!--
}}<noinclude>
-->{{#if:{{{date|}}}|{{#iferror: {{#expr: {{padleft:|4|{{{date}}}|}} }} |<!--
{{documentation}}
  -->{{#switch: {{lc:{{{date}}}}}
</noinclude>
  | na      = [[Category:Language articles with NA population dates]]
  | no date  = [[Category:Language articles with 'no date' set]]
  | #default = [[Category:Language articles with invalid population dates]]<!--
  -->}}|<!-- no error -->}}|<!-- no date -->}}<!--
-->{{#if:{{{iso3|}}}|<!--ok-->|{{#if:{{{lc1|}}}|<!--ok-->|{{#if:{{{linglist|}}}|[[Category:Languages without ISO 639-3 code but with Linguist List 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]]|[[Category:Languages without language codes]]}}}}}}}}}}}}<!--
-->{{#if:{{{lc1|}}}|{{#if:{{{lc2|}}}|<!--ok-->|[[Category:Languages which need ISO 639-3 comment]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{ref|}}}|e16|[[Category:Nonexistent E16 links]]}}}}<!--
-->{{#ifeq:{{Chr|{{{map|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{lc:{{{map|}}}|5}}}}|file:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{map|}}}|6}}|Image:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{map|}}}|6}}|image:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Chr|{{{map2|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{map2|}}}|5}}|File:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{map2|}}}|5}}|file:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{map2|}}}|6}}|Image:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{map2|}}}|6}}|image:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Chr|{{{image|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{image|}}}|5}}|File:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{image|}}}|5}}|file:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{image|}}}|6}}|Image:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#ifeq:{{Trunc|{{{image|}}}|6}}|image:|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!--
-->{{#if:{{{caption|}}}{{{map_caption|}}}{{{rank|}}}{{{country|}}}{{{regions|}}}{{{status|}}}{{{SIL|}}}{{{sil|}}}{{{silname|}}}{{{child1|}}}{{{child2|}}}{{{children|}}}{{{iso5|}}}|[[Category:Language articles with unsupported infobox fields]]|<!--ok-->}}<!--
--><noinclude>
 
{{documentation}}</noinclude>