Template:Infobox language: Difference between revisions

Jump to navigation Jump to search
remove idiotic dashes that no one wants
mNo edit summary
(remove idiotic dashes that no one wants)
(One intermediate revision by the same user not shown)
Line 19: Line 19:
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''will be added''}}}}}
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''will be added''}}}}}
| label2 = Created by
| label2 = Created by
| data2 = {{{creator|}}}
| data2 = {{{creator|}}}
| label3 = Setting
| label3 = Setting
| data3 = {{{setting|}}}
| data3 = {{{setting|}}}
| label4 = Spoken natively in
| label4 = Sources
| data4 = {{{states|{{{state|}}}}}}
| data4 = {{{posteriori|}}}
| label5 = Date
| label5 = Spoken natively in
| data5 = {{{created|}}}
| data5 = {{{states|{{{state|}}}}}}
| label6 = Region
| label6 = Date
| data6 = {{{region|}}}
| data6 = {{{created|}}}
| label7 = [[w:Geographic coordinate system|Coordinates]]
| label7 = Region
| data7 = {{#if:{{{latd|}}}
| data7 = {{{region|}}}
| label8 = [[w:Geographic coordinate system|Coordinates]]
| data8 = {{#if:{{{latd|}}}
   | <small style="white-space: nowrap">{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:landmark|display=inline}}</small>
   | <small style="white-space: nowrap">{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:landmark|display=inline}}</small>
   }}
   }}
| label8 = Ethnicity
| label9 = Ethnicity
| data8 = {{{ethnicity|}}}
| data9 = {{{ethnicity|}}}
| label9 = {{#if:{{{extinct|}}}
| label10 = {{#if:{{{extinct|}}}
   |[[w:Extinct language|Extinct]]
   |[[w:Extinct language|Extinct]]
   |{{#if:{{{era|}}}
   |{{#if:{{{era|}}}
Line 40: Line 42:
   |Native speakers
   |Native speakers
   }} }}
   }} }}
| data9 =<!--
| data10 =<!--
-->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date unknown)|{{{extinct}}}}}<!-- extinct input used
-->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date unknown)|{{{extinct}}}}}<!-- extinct input used
   -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
   -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
       -->
       -->
|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|}}}  
|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|}}}  
       |{{#ifeq: {{{date}}}|no date|{{{speakers|}}} &nbsp;(no date)|{{#ifeq:{{{speakers}}}|?|(unknown)
       |{{#ifeq: {{{date}}}|no date|{{{speakers|}}} &nbsp;(no date)|{{#ifeq:{{{speakers}}}|?|(unknown)
       |{{#ifeq:{{{speakers}}}|none|''None''
       |{{#ifeq:{{{speakers}}}|none|''None''
       |{{{speakers|}}} &nbsp;({{#if:{{{date}}}|{{{date}}}|<!--no date input-->no date}})
       |{{{speakers|}}} &nbsp;({{#if:{{{date}}}|{{{date}}}|<!--no date input-->no date}})
       }} }}<!--(end if:date, before the 30+ expr check)
       }} }}<!--(end if:date, before the 30+ expr check)
     -->}}<!--(end ifeq:date=no date)
     -->}}<!--(end ifeq:date=no date)
Line 55: Line 57:
-->
-->


| label10 = [[w:Language family|Language family]]
| label11 = [[w:Language family|Language family]]
| data10 = <div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
| data11 = <div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
   |''Unknown''<includeonly>[[Category:Languages without classification]]</includeonly>
   |''Unknown''<includeonly>[[Category:Languages without classification]]</includeonly>
   |{{Infobox language/genetic|{{{familycolor|Default}}}}}
   |{{Infobox language/genetic|{{{familycolor|Default}}}}}
Line 92: Line 94:
}}</li></ul>
}}</li></ul>
}}}}}}}}}}}</div>
}}}}}}}}}}}</div>
| label11 = Early forms:
| label12 = Early forms:
| data11 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
| data12 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>{{#if:{{{ancestor2|}}}
<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>{{#if:{{{ancestor2|}}}
| {{{ancestor2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor3|}}}
| {{{ancestor2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor3|}}}
Line 105: Line 107:
}}</li></ul> </div>
}}</li></ul> </div>
}}
}}
| label12 = Standard forms
| label13 = Standard forms
| data12 = {{#if:{{{standards|}}}|{{{standards}}}
| data13 = {{#if:{{{standards|}}}|{{{standards}}}
|{{#if:{{{stand1|}}}|
|{{#if:{{{stand1|}}}|
<div>{{{stand1|}}}</div>
<div>{{{stand1|}}}</div>
Line 115: Line 117:
<div>{{{stand6|}}}</div>
<div>{{{stand6|}}}</div>
}}}}
}}}}
| label13 = Dialects
| label14 = Dialects
| data13 = {{#if:{{{dialects|}}}|{{{dialects}}}
| data14 = {{#if:{{{dialects|}}}|{{{dialects}}}
|{{#if:{{{dia1|}}}|
|{{#if:{{{dia1|}}}|
<div>{{{dia1|}}}</div>
<div>{{{dia1|}}}</div>
Line 139: Line 141:
<div>{{{dia20|}}}</div>
<div>{{{dia20|}}}</div>
}}}}
}}}}
| label14 = [[w:Writing system|Writing system]]
| label15 = [[w:Writing system|Writing system]]
| data14 =  {{#switch: {{lc:{{{script|}}}}}
| data15 =  {{#switch: {{lc:{{{script|}}}}}
             | latin
             | latin
             | [[w:latin|Latin]]
             | [[w:latin|Latin]]
Line 148: Line 150:
             | #default = {{{script|}}}
             | #default = {{{script|}}}
             }}
             }}
| header15 = {{#if:{{{nation|}}}{{{agency|}}}|Official status}}
| header16 = {{#if:{{{nation|}}}{{{agency|}}}|Official status}}
| label16 = Official language in
| label17 = Official language in
| data16 = {{{nation|}}}
| data17 = {{{nation|}}}
| label17 = Recognised minority language in
| label18 = Recognised minority language in
| data17 = {{{minority|}}}
| data18 = {{{minority|}}}
| label18 = [[w:List of language regulators|Regulated by]]
| label19 = [[w:List of language regulators|Regulated by]]
| data18 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}}
| data19 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}}
   | ''None''
   | ''None''
<!--  | {{#if:{{{nation|}}}|''No official regulation''}} [this ends up claiming that languages have no regulation just cuz no-one bothered to add the regulator -->
<!--  | {{#if:{{{nation|}}}|''No official regulation''}} [this ends up claiming that languages have no regulation just cuz no-one bothered to add the regulator -->
Line 160: Line 162:
| label23 = [[w:ISO 639-3|ISO 639-3]]
| label23 = [[w:ISO 639-3|ISO 639-3]]
| data23 = {{#if:{{{iso3|}}}
| data23 = {{#if:{{{iso3|}}}
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>[[w:ISO639-3:{{{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
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>[[w:ISO639-3:{{{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
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist

Navigation menu