:Template:Infobox language family

{{Infobox

| bodystyle = width:{{#if:{{{boxsize|}}}|{{{boxsize}}}|22em}};

| abovestyle = color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|#114057|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|#114057|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }};

| headerstyle = color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|#114057|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|#114057|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }};

| above = {{{name}}}

| subheaderstyle = font-size:110%; color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|#114057|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|#114057|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }};

| subheader = {{{altname|}}}

| subheader2 = {{{nativename|}}}

| subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}}

| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{#if:{{{imagescale|}}}|{{{imagescale|}}}|0.9}}|alt={{{imagealt|}}}}}

| captionstyle = padding:0.35em 0.35em 0.25em;line-height:1.25em;

| caption = {{{imagecaption|}}}

| label2 = Ethnicity

| data2 = {{{ethnicity|}}}

| label1 = Geographic
distribution

| data1 = {{{region|—}}}

| label3 = {{#if:{{{extinct|}}} |Extinct |{{#if:{{{era|}}} |Era |{{#if:{{{creator|{{{speakers_label|}}}}}} |{{{speakers_label|Users}}} |{{longitem|Native speakers}} }} }} }}

| data3 ={{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date missing)Category:Language articles with unknown extinction date|{{{extinct}}}}}|{{#if:{{{era|}}}|{{{era}}}|{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|silver|{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|–}}}

|{{#ifeq:{{{speakers}}}|?||{{#ifeq:{{{speakers}}}|none|None

|{{#if:{{{date|}}}|{{{speakers|–}}} ({{{dateprefix|}}}{{{date}}})

|{{{speakers|–}}}{{main other|Category:Language articles with speaker number undated}}}} }} }} }} }}|{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|–}}}

|{{#ifeq: {{{date}}}|no date|(undated figure of {{{speakers}}})|{{#if:{{{date|}}}|{{#iferror:{{#expr: {{padleft:|4|{{{date}}}|}} }}||{{#ifexpr:(({{CURRENTYEAR}} - {{padleft:|4|{{{date}}}|}}) < 25)|{{{speakers|–}}} ({{{dateprefix|}}}{{{date}}})|({{{speakers}}} cited {{{dateprefix|}}}{{{date}}}){{main other|{{#ifeq:{{{ref}}}|e19|Category:Language articles with old Ethnologue 19 speaker data|{{#ifeq:{{{ref}}}|e18|Category:Language articles with old Ethnologue 18 speaker data|Category:Language articles with old speaker data}}}}}}}}}}|{{#ifeq:{{{speakers}}}|?||{{#ifeq:{{{speakers}}}|none|None

|{{{speakers|–}}}{{main other|Category:Language articles with speaker number undated}}}} }} }}}}}}|}}}}}} }}{{#if:{{{ref|}}}|{{#if:{{{extinct|}}}{{{era|}}}{{{speakers|}}}{{{date|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|sign_language}}|{{Infobox language/ref|{{{ref}}}|iso3={{{iso3|}}}|refname={{{refname|}}}|name={{{name|{{PAGENAME}}}}}|lc1={{{lc1|}}}|ld1={{Delink|{{{ld1}}}}}|lc2={{{lc2|}}}|ld2={{Delink|{{{ld2}}}}}|lc3={{{lc3|}}}|ld3={{Delink|{{{ld3}}}}}|lc4={{{lc4|}}}|ld4={{Delink|{{{ld4}}}}}|lc5={{{lc5|}}}|ld5={{Delink|{{{ld5}}}}}|lc6={{{lc6|}}}|ld6={{Delink|{{{ld6}}}}}|lc7={{{lc7|}}}|ld7={{Delink|{{{ld7}}}}}}}}}}}{{#if:{{{speakers2|}}}|
{{{speakers2|}}} }}

| label4 = Linguistic classification

| data4 = {{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}

  • {{#if:{{{fam2|}}}

    | {{{fam2}}}

    • {{#if:{{{fam3|}}}

      | {{{fam3}}}

      • {{#if:{{{fam4|}}}

        | {{{fam4}}}

        • {{#if:{{{fam5|}}}

          | {{{fam5}}}

          • {{#if:{{{fam6|}}}

            | {{{fam6}}}

            • {{#if:{{{fam7|}}}

              | {{{fam7}}}

              • {{#if:{{{fam8|}}}

                | {{{fam8}}}

                • {{#if:{{{fam9|}}}

                  | {{{fam9}}}

                  • {{#if:{{{fam10|}}}

                    | {{{fam10}}}

                    • {{#if:{{{fam11|}}}

                      | {{{fam11}}}

                      • {{#if:{{{fam12|}}}

                        | {{{fam12}}}

                        • {{#if:{{{fam13|}}}

                          | {{{fam13}}}

                          • {{#if:{{{fam14|}}}

                            | {{{fam14}}}

                            • {{#if:{{{fam15|}}}

                              | {{{fam15}}}

                              • {{{name}}}

                              | {{{name}}}

                              }}

                            | {{{name}}}

                            }}

                          | {{{name}}}

                          }}

                        | {{{name}}}

                        }}

                      | {{{name}}}

                      }}

                    | {{{name}}}

                    }}

                  | {{{name}}}

                  }}

                | {{{name}}}

                }}

              | {{{name}}}

              }}

            | {{{name}}}

            }}

          | {{{name}}}

          }}

        | {{{name}}}

        }}

      | {{{name}}}

      }}

    | {{{name}}}

    }}

}}}

| label5 = {{longitem|{{#if:{{{ancestor2|}}}|Early forms|Early form}}}}

| data5 = {{#if:{{{ancestor|}}}|

{{{ancestor|}}}

{{#if:{{{ancestor2|}}}|

  • {{{ancestor2}}}

    {{#if:{{{ancestor3|}}}|

    • {{{ancestor3}}}

      {{#if:{{{ancestor4|}}}|

      • {{{ancestor4}}}

        {{#if:{{{ancestor5|}}}|

        • {{{ancestor5}}}

          {{#if:{{{ancestor6|}}}|

          • {{{ancestor6}}}

            {{#if:{{{ancestor7|}}}|

            • {{{ancestor7}}}

            }}

          }}

        }}

      }}

    }}

}}

}}

| label6 = Proto-language

| data6 = {{{protoname|}}}

| label7 = Subdivisions

| data7 =

{{#if:{{{children|}}}|{{{children}}}}}

{{#if:{{{child1|}}}|*{{{child1}}}}}

{{#if:{{{child2|}}}|*{{{child2}}}}}

{{#if:{{{child3|}}}|*{{{child3}}}}}

{{#if:{{{child4|}}}|*{{{child4}}}}}

{{#if:{{{child5|}}}|*{{{child5}}}}}

{{#if:{{{child6|}}}|*{{{child6}}}}}

{{#if:{{{child7|}}}|*{{{child7}}}}}

{{#if:{{{child8|}}}|*{{{child8}}}}}

{{#if:{{{child9|}}}|*{{{child9}}}}}

{{#if:{{{child10|}}}|*{{{child10}}}}}

{{#if:{{{child11|}}}|*{{{child11}}}}}

{{#if:{{{child12|}}}|*{{{child12}}}}}

{{#if:{{{child13|}}}|*{{{child13}}}}}

{{#if:{{{child14|}}}|*{{{child14}}}}}

{{#if:{{{child15|}}}|*{{{child15}}}}}

{{#if:{{{child16|}}}|*{{{child16}}}}}

{{#if:{{{child17|}}}|*{{{child17}}}}}

{{#if:{{{child18|}}}|*{{{child18}}}}}

{{#if:{{{child19|}}}|*{{{child19}}}}}

{{#if:{{{child20|}}}|*{{{child20}}}}}

| rowclass7 = {{{listclass|plainlist}}}

| header9 = Language codes

| label10 = {{#if:{{{iso1|}}}

| ISO 639-1

}}

| data10 = {{#if:{{{iso1|}}}

|{{{iso1}}}

}}

| label11 = {{#if:{{{iso2|}}}

| ISO 639-2 / 5

|{{#if:{{{iso5|}}}

|ISO 639-5

}}

}}

| data11 = {{#if:{{{iso2|}}}

|{{{iso2}}}

|{{#if:{{{iso5|}}}

|{{{iso5}}}

}}

}}

| label12 = {{#if:{{{iso3|}}} | {{nowrap|ISO 639-3}}}}

| data12 = {{#if:{{{iso3|}}}

|{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|None (mis)}}|{{#ifeq:{{str len|{{{iso3}}}}}| 3 | {{{iso3}}} | {{{iso3}}} }} {{#if:{{{lc1|}}}| – inclusive code}} {{{iso3comment|}}}}}|{{#if:{{{lc1|}}}| | }}}}{{#ifexpr:{{#if:{{{lc1|}}}|1|0}} and {{#if:{{{lc2|}}}|1|0}}|{{#if:{{{iso3|}}}|
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|}}} }}

|{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|
Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}

| label13 = {{#if:{{{iso6|}}}

| ISO 639-6 }}

| data13 = {{#if:{{{iso6|}}}

|{{{iso6}}} }}

| label14 = Linguasphere

| data14 = {{#if:{{{lingua|}}}

|{{{lingua}}} }}

| label15 = 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}}

|{{glottolink|{{{glotto}}}}}{{#if:{{{glottoname|}}}|  {{nowrap|({{{glottoname}}})}}}}}}}}}}{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|
|}}{{glottolink|{{{glotto2}}}}}{{#if:{{{glottoname2|}}}|  {{nowrap|({{{glottoname2}}})}}}}}}{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|
|}}{{glottolink|{{{glotto3}}}}}{{#if:{{{glottoname3|}}}|  {{nowrap|({{{glottoname3}}})}}}}}}{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|
|}}{{glottolink|{{{glotto4}}}}}{{#if:{{{glottoname4|}}}|  {{nowrap|({{{glottoname4}}})}}}}}}{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|
|}}{{glottolink|{{{glotto5}}}}}{{#if:{{{glottoname5|}}}|  {{nowrap|({{{glottoname5}}})}}}}}}

| label16 = ELP

| data16 = {{Endangered Languages Project |ELP={{{ELP|}}} |ELPname={{{ELPname|}}} |qid={{{qid|}}} }}

| data20 = {{#if:{{{map|}}}

| {{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=300px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}

|

{{{mapcaption}}}

}}

}}

| data21 = {{#if:{{{map2|}}}

| File:{{{map2}}}{{#if:{{{mapcaption2|}}}

|

{{{mapcaption2}}}

}}

}}

| data22 = {{{module|}}}

| label23 = Notes

| data23 = {{{notes|}}}

}}{{main other|{{{{

safesubst:}}}#invoke:Check for unknown parameters|check|unknown=_VALUE_

|preview=Page using Template:Infobox language family with unknown parameter "_VALUE_"

|name|altname|fontcolor

|region|ethnicity|acceptance

|speakers|date|ref

|familycolor|fam1|fam2|fam3|fam4|fam5|fam6|fam7|fam8|fam9

|fam10|fam11|fam12|fam13|fam14|fam15|family

|ancestor|ancestor2|ancestor3|ancestor4|ancestor5|ancestor6|ancestor7|protoname|extinct

|children|child1|child2|child3|child4|child5|child6|child7|child8|child9|child10

|child11|child12|child13|child14|child15|child16|child17|child18|child19|child20

|listclass|module|notes

|iso1|iso2|iso3|iso5|iso6

|lingua|glotto|glottoname|glotto2|glottoname2|glotto3|glottoname3|glotto4|glottoname4|glotto5|glottoname5|glottorefname|glottorefname2|glottorefname3|glottorefname4|glottorefname5

|ELP|ELPname

|map|mapsize|mapalt|mapcaption|map2|mapalt2|mapcaption2|boxsize

}}{{#ifeq:{{Infobox language/family-color|{{{familycolor

}}}}||Category:Languages without family color codes}}{{#if:{{{glotto|}}}{{{glotto2|}}}{{{glotto3|}}}{{{glotto4|}}}{{{glotto5|}}}||Category:Families missing Glottolog code}}{{#if:{{{glotto|}}}|{{#if:{{{glottorefname|}}}{{{glottoname|}}}||{{#ifeq:{{lc:{{{glotto|}}}}}|none||{{#ifeq:{{lc:{{{glotto|}}}}}|na||Category:Articles with unnamed Glottolog code}}}}}}}}{{#if:{{{glotto2|}}}|{{#if:{{{glottoname2|}}}{{{glottorefname2|}}}||Category:Articles with unnamed Glottolog code}}}}{{#if:{{{glotto3|}}}|{{#if:{{{glottoname3|}}}{{{glottorefname3|}}}||Category:Articles with unnamed Glottolog code}}}}{{#if:{{{glotto4|}}}|{{#if:{{{glottoname4|}}}{{{glottorefname4|}}}||Category:Articles with unnamed Glottolog code}}}}{{#if:{{{glotto5|}}}|{{#if:{{{glottoname5|}}}{{{glottorefname5|}}}||Category:Articles with unnamed Glottolog code}}}}}}

{{documentation}}