Template:Infobox language: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 41: Line 41:
| data4 = {{{setting|}}}
| data4 = {{{setting|}}}


| label5 = Ethnicity
| label5 = Native to
| data5 = {{{ethnicity|}}}
| data5 = {{{states|{{{state|}}}}}}


| label6 = {{#if: {{{extinct|}}}<!--
| label6 = Ethnicity
| data6 = {{{ethnicity|}}}
 
| label7 = {{#if: {{{extinct|}}}<!--
             -->|[[w:Extinct language|Extinct]]<!--
             -->|[[w:Extinct language|Extinct]]<!--
             -->|{{#if: {{{era|}}}<!--
             -->|{{#if: {{{era|}}}<!--
Line 51: Line 54:
             -->}}<!--
             -->}}<!--
         -->}}
         -->}}
| data6 = {{#if: {{{extinct|}}}<!--
| data7 = {{#if: {{{extinct|}}}<!--
           -->|{{#ifeq: {{{extinct}}}|?<!--
           -->|{{#ifeq: {{{extinct}}}|?<!--
               -->|<small>(date missing)</small>[[Category:Language articles with unknown extinction date]]<!--
               -->|<small>(date missing)</small>[[Category:Language articles with unknown extinction date]]<!--
Line 70: Line 73:
-->{{#if: {{{speakers2|}}}|<br />{{{speakers2|}}}}}
-->{{#if: {{{speakers2|}}}|<br />{{{speakers2|}}}}}


| label7 = {{#if:{{{revived|}}}|[[w:Language revitalization|Revival]]}}
| label8 = {{#if:{{{revived|}}}|[[w:Language revitalization|Revival]]}}
| data7 = {{{revived|}}}
| data8 = {{{revived|}}}


| label8 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Language family|Language family]]}}}}
| label9 = {{longitem|{{allow wrap|[[w:Language family|Language family]]}}}}
| data8 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}}}}
| data9 = {{#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>
<ul style="line-height:100%; margin-left:1.35em;padding-left:0"><li>
{{#switch: {{lc: {{{familycolor|}}}}}|unclassified|isolate=|{{#if:{{{fam2|}}}
{{#switch: {{lc: {{{familycolor|}}}}}|unclassified|isolate=|{{#if:{{{fam2|}}}
Line 108: Line 111:
}}</div>}}
}}</div>}}


| label9 = {{User:Sware/Template:longitem|Early form{{#if:{{{ancestor2|}}}|s}}}}
| label10 = {{longitem|Early form{{#if:{{{ancestor2|}}}|s}}}}
| data9 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
| data10 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
{{#if:{{{ancestor2|}}}|<ul style="line-height:100%; margin-left:1.35em; padding-left:0"><li>{{{ancestor2}}}
{{#if:{{{ancestor2|}}}|<ul style="line-height:100%; margin-left:1.35em; padding-left:0"><li>{{{ancestor2}}}
{{#if:{{{ancestor3|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor3}}}
{{#if:{{{ancestor3|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor3}}}
Line 126: Line 129:
</div>}}
</div>}}


| label10 = {{User:Sware/Template:longitem|Standard form{{#if:{{{stand2|}}}|s}}}}
| label11 = {{longitem|Standard form{{#if:{{{stand2|}}}|s}}}}
| data10 = {{#if:{{{standards|}}}|{{{standards}}}
| data11 = {{#if:{{{standards|}}}|{{{standards}}}
|{{#if:{{{stand1|}}}|
|{{#if:{{{stand1|}}}|
<div>{{{stand1|}}}</div>
<div>{{{stand1|}}}</div>
Line 137: Line 140:
}}}}
}}}}


| label11 = {{User:Sware/Template:longitem|Dialect{{#if:{{{dia2|}}}|s}}}}
| label12 = {{longitem|Dialect{{#if:{{{dia2|}}}|s}}}}
| data11 = {{#if:{{{dialects|}}}|{{{dialects}}}
| data12 = {{#if:{{{dialects|}}}|{{{dialects}}}
|{{#if:{{{dia1|}}}|
|{{#if:{{{dia1|}}}|
{{#if:{{{dia1|}}}|*{{{dia1}}}}}
{{#if:{{{dia1|}}}|*{{{dia1}}}}}
Line 161: Line 164:
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
}}}}
}}}}
| rowclass11 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}


| label12 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]{{#if:{{{script2|}}}|s}}}}}}
| label13 = {{longitem|{{allow wrap|[[w:Writing system|Writing system]]{{#if:{{{script2|}}}|s}}}}}}
| data12 =  {{#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}}]]}}}}
| 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}}]]}}}}
{{#if:{{{script2|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script2}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}}]]}}}}
{{#if:{{{script2|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script2}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}}]]}}}}
{{#if:{{{script3|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script3}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}}]]}}}}
{{#if:{{{script3|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script3}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}}]]}}}}
Line 170: Line 173:
{{#if:{{{script5|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script5}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script5}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script5}}}|getCanonicalName}}]]}}}}}}
{{#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|}}}


<!--------------------------------------------------------->
<!--------------------------------------------------------->
| header14 = {{#if:{{{nation|}}}{{{official|}}}{{{minority|}}}{{{agency|}}}{{{development_body|}}}|Official status}}
| header15 = {{#if:{{{nation|}}}{{{official|}}}{{{minority|}}}{{{agency|}}}{{{development_body|}}}|Official status}}


| label15 = {{User:Sware/Template:longitem|Official language&nbsp;in}}
| label16 = {{longitem|Official language&nbsp;in}}
| data15 = {{{nation|{{{official|}}}}}}
| data16 = {{{nation|{{{official|}}}}}}


| label16 = {{User:Sware/Template:longitem|class=nowrap|Recognised minority<br />language&nbsp;in}}
| label17 = {{longitem|class=nowrap|Recognised minority<br />language&nbsp;in}}
| data16 = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}
| data17 = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}


| label17 = Regulated&nbsp;by
| label18 = Regulated&nbsp;by
| data17 = {{{agency|}}}
| data18 = {{{agency|}}}


| label18 = Development body
| label19 = Development body
| data18 = {{{development_body|}}}
| data19 = {{{development_body|}}}


<!--------------------------------------------------------->
<!--------------------------------------------------------->
| header19 = {{#if:{{{iso1|}}}{{{iso2|}}}{{{iso3|}}}{{{clcr|}}}{{{brcl|}}}{{{glotto|}}}{{{glotto2|}}}{{{ietf|}}}|Language codes}}
| header20 = {{#if:{{{iso1|}}}{{{iso2|}}}{{{iso3|}}}{{{clcr|}}}{{{brcl|}}}{{{glotto|}}}{{{glotto2|}}}{{{ietf|}}}|Language codes}}


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


| label21 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}}
| label22 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}}
| data21 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}}
| data22 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}}


| label22 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| label23 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| data22 = {{#if:{{{iso3|}}}|<code class="plainlinks">[https://iso639-3.sil.org/code/{{{iso3}}} {{{iso3}}}]</code> {{{iso3comment|}}}}}
| data23 = {{#if:{{{iso3|}}}|<code class="plainlinks">[https://iso639-3.sil.org/code/{{{iso3}}} {{{iso3}}}]</code> {{{iso3comment|}}}}}


| label23 = <span class="plainlinks">{{nowrap|[https://www.kreativekorp.com/clcr/ CLCR]}}</span>
| label24 = <span class="plainlinks">{{nowrap|[https://www.kreativekorp.com/clcr/ CLCR]}}</span>
| data23 = {{#if:{{{clcr|}}}|<code>{{{clcr}}}</code>}}
| data24 = {{#if:{{{clcr|}}}|<code>{{{clcr}}}</code>}}


| label24 = [[w:Glottolog|Glottolog]]
| label25 = [[w:Glottolog|Glottolog]]
| data24 = {{#if:{{{glotto|}}}|<code>[http://glottolog.org/resource/languoid/id/{{{glotto|}}} {{{glotto|}}}]</code>{{#if:{{{glottoname|}}}|&nbsp; {{nowrap|{{{glottoname}}}}}}}}}<!--
| 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}}}}}}}}}
-->{{#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}}}}}}}}}


| label25 = <span class="plainlinks">[https://conworkshop.com/ ConWorkShop]</span>
| label26 = <span class="plainlinks">[https://conworkshop.com/ ConWorkShop]</span>
| data25 = {{#if:{{{cws|}}}|<code>[https://conworkshop.com/view_language.php?l={{{cws}}} {{{cws}}}]</code>}}
| data26 = {{#if:{{{cws|}}}|<code>[https://conworkshop.com/view_language.php?l={{{cws}}} {{{cws}}}]</code>}}


| label26 = [[w:IETF language tag|IETF]]
| label27 = [[w:IETF language tag|IETF]]
| data26 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}
| data27 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}


| label27 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span>
| label28 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span>
| data27 = {{#if:{{{brcl|}}}|<code>{{{brcl}}}</code>}}
| data28 = {{#if:{{{brcl|}}}|<code>{{{brcl}}}</code>}}


| data28 = {{#if:{{{map|}}}
| data29 = {{#if:{{{map|}}}
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption}}}</div>}}|
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption}}}</div>}}|
   }}
   }}


| data29 = {{#if:{{{map2|}}}
| data30 = {{#if:{{{map2|}}}
   | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption2}}}</div>}}
   | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption2}}}</div>}}
   }}
   }}
| data30 = {{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}}{{{coords|}}} }}|
{{location map|{{{pushpin_map|}}}
|coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}}
|border = infobox
|alt = {{{pushpin_map_alt|Approximate location where {{{name|the language}}} is spoken}}}
|caption = {{{pushpin_map_caption|}}}
|float = center
|width = {{{pushpin_mapsize|}}}
|default_width = 250
|AlternativeMap = {{{pushpin_image|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{if empty|{{{pushpin_label|}}}|{{{name|}}}|{{PAGENAMEBASE}} }} }}
|marksize =6
|position = {{{pushpin_label_position|}}}
}} }}
| data31 =  {{#if:{{if empty|{{{coordinates|}}}|{{{coords|}}}}} |Coordinates: {{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|}}}}}}|type:landmark}}| }}


| data32 = {{{module|}}}
| data31 = {{{module|}}}


<!--------------------------------------------------------->
<!--------------------------------------------------------->

Navigation menu