Template:Infobox language: Difference between revisions

no edit summary
m (1 revision imported)
Template>Centrist16
No edit summary
Line 11:
| subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=200px|alt={{{imagealt|}}}}}
| caption = {{{imagecaption|}}}
 
Line 43:
}}
 
| label5 = [[{{W|Geographic coordinate system|Coordinates]]}}
| data5 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}| {{#if:{{{latd|}}}
| [[Category:Pages using deprecated coordinates format|language]]<small style="white-space: nowrap">{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:landmark|display=inline}}</small>
}} }}
 
| label6 = Ethnicity
| data6 = {{{ethnicity|}}}
 
| label7 = {{#if:{{{extinct|}}} |[[{{W|Extinct language|Extinct]]}} |{{#if:{{{era|}}} |Era |{{#if:{{{creator|}}} |Users |{{longitem|Native {{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}|speakers|speakers}}}} }} }} }}
| data7 =<!--
-->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date missing)[[Category:Language articles with unknown extinction date]]|{{{extinct}}}}}<!-- extinct input used
Line 60 ⟶ 58:
-->|{{#ifeq:{{{signers|{{{speakers}}}}}}|none|''None''
|{{#if:{{{date|}}}|{{{signers|{{{speakers|–}}}}}}&nbsp;({{{dateprefix|}}}{{{date}}})
|{{{signers|{{{speakers|–}}}}}}&nbsp;(''date missing''){{main other|[[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|(undated figure of {{{speakers}}})|<!--
Line 69 ⟶ 67:
-->|{{#ifeq:{{{speakers}}}|?|<!--
-->|{{#ifeq:{{{speakers}}}|none|''None''
|<!-- no date input -->{{{speakers|–}}}&nbsp;(''date missing''){{main other|[[Category:Language articles with speaker number undated]]}}}} }} }}<!--(end if:date, before the 25+ expr check)
-->}}<!--(end ifeq:date=no date)
-->}}<!--(end ifeq:date=na)
Line 75 ⟶ 73:
-->}} }}<!--(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|}}}|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}}}}}}}}}}}<!--
Add speakers2 after the ref:
-->{{#if:{{{speakers2|}}}|<br />{{{speakers2|}}} }}
 
| label8 = {{#if:{{{revived|}}} |[[{{W|Language revitalization|Revival]]}}{{#if:{{{revived-category|{{{revived-cat|}}}}}}|{{#ifeq:{{{revived-category|{{{revived-cat}}}}}}|nocat|<!--suppress-->|[[Category:{{{revived-category|{{{revived-cat}}}}}}]]|[[Category:Language revival]]}} }} }}
| data8 = {{{revived|}}}
 
| label9 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
|Purpose
|{{allow wrap|{{longitem|[[{{W|Language family]]}}}}}}
}}
| data9 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
|''Unknown''{{main other|[[Category:Languages without classification]]}}
|{{#if:{{{creator|}}}{{{setting|}}}
|[[{{W|constructed language]]}}
|{{Infobox language/genetic|{{{familycolor|Default}}}}}
}}
Line 173 ⟶ 171:
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
}}}}
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}
 
| label13 = {{allow wrap|{{longitem|[[{{W|Writing system]]}}}}}}
| data13 = {{#switch: {{lc:{{{script|}}}}}
| latin
| [[{{W|latin]]}}
| latin alphabet
| [[{{W|latin alphabet]]}}
| [[{{W|latin alphabet|latin]]}} = [[{{W|Latin script|Latin]]}}
| #default = {{{script|}}}
}}
 
| label14 = {{allow wrap|{{longitem|[[{{W|Manually coded language|Signed forms]]}}}}}}
| data14 = {{#if:{{{sign|}}}|{{{sign}}}}}
 
Line 200 ⟶ 198:
| data18 = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}
 
| label19 = [[{{W|List of language regulators|Regulated&nbsp;by]]}}
| data19 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}} and {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|Default}}}}}|black|1}}|1|0}}
| ''None''
Line 209 ⟶ 207:
| header20 = Language codes
 
| label21 = {{nowrap|[[{{W|ISO 639-1]]}}}}
| data21 = {{#if:{{{iso1|}}}|<code>{{#ifeq:{{str len|{{{iso1|}}}}}| 2 | {{ISO639-1|{{{iso1}}}}} | {{{iso1}}} }}</code> {{{iso1comment|}}}}}
 
| label22 = {{nowrap|[[{{W|ISO 639-2]]}}}}
| data22 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
|<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}
|[[ISO639-3:{{#ifeq:{iso2b{str len|{{{iso2iso2b|}}}}}| 3 | {{ISO639-2|{{{iso2b}}}}} | {{{iso2b}}}]] }}&nbsp;(B)
|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
|{{{iso2|sgn}}}
Line 221 ⟶ 219:
#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
|{{{iso2|art}}}
|[[{{#ifeq:{{str len|{{{iso2|}}}}}| 3 | {{ISO639-3:2|{{{iso2}}}}} | {{{iso2}}}]] }}}}}}}}</code> {{{iso2comment|}}}{{
#if:{{{iso2b|}}}{{{iso2t|}}}
|<br /><code>[[ISO639-3:{{#ifeq:{iso2t{str len|{{{iso2iso2t|}}}}}| 3 | {{ISO639-2|{{{iso2t}}}}} | {{{iso2t}}}]] }}&nbsp;(T)</code>}}
}}
 
| label23 = {{nowrap|[[{{W|ISO 639-3]]}}}}
| data23 = {{#if:{{{iso3|}}}
|{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None'' (<code>mis</code>)}}|<code>[[{{#ifeq:{{str len|{{{iso3}}}}}| 3 | {{W|ISO639-3:{{{iso3}}}|{{{iso3}}}]]}} | {{{iso3}}} }}</code> {{#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
Line 261 ⟶ 259:
|{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}
 
| label24 = {{nowrap|[[{{W|ISO 639-6]]}}}}<!-- NOTE: ISO 639-6 was withdrawn in 2014.-->
| data24 = {{#if:{{{iso6|}}}|<code>{{{iso6}}}</code>}}
 
| label25 = {{longitem|{{W|Linguist listList}}}}
| data25 = {{Infobox language/linguistlist|1={{{linglist|}}} |2={{{lingname|}}}}}
| label26 = &nbsp;
Line 277 ⟶ 275:
| data30 = {{Infobox language/linguistlist|1={{{linglist6|}}}|2={{{lingname6|}}}}}
 
| label31 = [[{{W|Glottolog]]}}
| data31 = {{#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; {{nowrap|({{{glottoname}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto}}}|{{{glottorefname|{{{glottoname|{{{name}}}}}}}}}}}|name="Glottolog"}}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}|&nbsp; {{nowrap|({{{glottoname2}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto2}}}|{{{glottorefname2|{{{glottoname2|{{{name}}}}}}}}}}}|name="Glottolog2"}}}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}|&nbsp; {{nowrap|({{{glottoname3}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto3}}}|{{{glottorefname3|{{{glottoname3|{{{name}}}}}}}}}}}|name="Glottolog3"}}}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}|&nbsp; {{nowrap|({{{glottoname4}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto4}}}|{{{glottorefname4|{{{glottoname4|{{{name}}}}}}}}}}}|name="Glottolog4"}}}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}|&nbsp; {{nowrap|({{{glottoname5}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto5}}}|{{{glottorefname5|{{{glottoname5|{{{name}}}}}}}}}}}|name="Glottolog5"}}}}}}
 
| label32 = [[{{W|Australian Institute of Aboriginal and Torres Strait Islander Studies|AIATSIS]]}}{{#if:{{{aiatsis|}}}|{{#tag:ref|{{AIATSIS|{{{aiatsis|}}}|{{{aiatsisname|{{{name}}}}}}|{{{aiatsis2|}}}}}|name="AIATSIS"}}}}
| data32 = {{#if:{{{aiatsis|}}}|<code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis}}} {{{aiatsis}}}]</code>{{#if:{{{aiatsisname|}}}|&nbsp;{{{aiatsisname}}}}} }}{{#if:{{{aiatsis2|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis2}}} {{{aiatsis2}}}]</code>{{#if:{{{aiatsisname2|}}}|&nbsp;{{{aiatsisname2}}}}} }}{{#if:{{{aiatsis3|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis3}}} {{{aiatsis3}}}]</code>{{#if:{{{aiatsisname3|}}}|&nbsp;{{{aiatsisname3}}}}} }}{{#if:{{{aiatsis4|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis4}}} {{{aiatsis4}}}]</code>{{#if:{{{aiatsisname4|}}}|&nbsp;{{{aiatsisname4}}}}} }}{{#if:{{{aiatsis5|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis5}}} {{{aiatsis5}}}]</code>{{#if:{{{aiatsisname5|}}}|&nbsp;{{{aiatsisname5}}}}} }}{{#if:{{{aiatsis6|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis6}}} {{{aiatsis6}}}]</code>{{#if:{{{aiatsisname6|}}}|&nbsp;{{{aiatsisname6}}}}} }}
 
| label33 = {{allow wrap|{{longitem|[[{{W|Guthrie classification of Bantu languages|Guthrie code]]}}}}}}
| data33 = {{#if:{{{guthrie|}}}|<code>{{{guthrie}}}</code><ref name="Guthrie">Jouni Filip Maho, 2009. [http://goto.glocalnet.net/mahopapers/nuglonline.pdf New Updated Guthrie List Online]</ref>}}
 
| label34 = [[{{W|Linguasphere Observatory|Linguasphere]]}}
| data34 = {{#if:{{{lingua|}}}|<code>{{{lingua}}}</code>{{{lingua_ref|}}}}}
 
| label35 = [[{{W|IETF language tag|IETF]]}}
| data35 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>{{Main other|[[Category:Language articles with IETF language tag]]}}}}
 
Line 303 ⟶ 301:
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
}}
 
| label38 = Wikibook
| data38 = {{#if:{{{wikibook|}}}|[[Wikibooks: {{{wikibook|}}}]] }}
 
| data40 = {{{module|}}}
Line 310 ⟶ 311:
| belowstyle = background-color:#ddddff;padding:0.3em 0.5em;text-align:left;line-height:1.3;
| below = {{#ifeq:{{lc:{{{notice|{{{notice2|}}}}}}}}|ipa
|'''This article contains [[{{W|International Phonetic Alphabet|IPA]]}} phonetic symbols.''' Without proper [[International Phonetic AlphabetW:Help:IPA#FontsRendering issues|rendering support]], you may see [[{{W|Replacement character|question marks, boxes, or other symbols]]}} instead of {{W|Unicode}} characters. For an introductory guide on IPA symbols, see [[UnicodeW:Help:IPA|Help:IPA]] characters.
}}
 
Line 366 ⟶ 367:
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{glotto|}}}|none|[[Category:Languages with neither ISO nor Glottolog code]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none||{{#if:{{{iso3|}}}{{{lc1|}}}|{{#if:{{{ref|}}}|{{#switch: {{{ref}}} | 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]]}}}}}}}}}}<!--
-->{{#invoke:Check for unknown parameters | check |unknown=[[Category:Language articles with unsupported infobox fields|_VALUE_]]|previewignoreblank = Page using [[Template:Infobox language]] with unknown parameter "_VALUE_"|ignoreblank=y
| unknown = [[Category:Language articles with unsupported infobox fields|_VALUE_]]
|name|altname|nativename|acceptance|pronunciation
| preview = Page using [[Template:Infobox language]] with unknown parameter "_VALUE_"
|states|state|region
| acceptance | agency | aiatsis | aiatsis2 | aiatsis3 | aiatsis4 | aiatsis5 | aiatsis6 | aiatsisname | aiatsisname2 | aiatsisname3 | aiatsisname4 | aiatsisname5 | aiatsisname6 | altname | ancestor | ancestor2 | ancestor3 | ancestor4 | ancestor5 | boxsize | coordinates | created | creator | date | dateprefix | dia1 | dia2 | dia3 | dia4 | dia5 | dia6 | dia7 | dia8 | dia9 | dia10 | dia11 | dia12 | dia13 | dia14 | dia15 | dia16 | dia17 | dia18 | dia19 | dia20 | dialects | era | ethnicity | extinct | fam1 | fam2 | fam3 | fam4 | fam5 | fam6 | fam7 | fam8 | fam9 | fam10 | fam11 | fam12 | fam13 | fam14 | fam15 | family | familycolor | fontcolor | glotto | glotto2 | glotto3 | glotto4 | glotto5 | glottofoot | glottoname | glottoname2 | glottoname3 | glottoname4 | glottoname5 | glottorefname | glottorefname2 | glottorefname3 | glottorefname4 | glottorefname5 | guthrie | ietf | image | image_size | imagealt | imagecaption | imagesize | iso1 | iso1comment | iso2 | iso2b | iso2comment | iso2t | iso3 | iso3comment | iso6 | isoexception | lc1 | lc2 | lc3 | lc4 | lc5 | lc6 | lc7 | lc8 | lc9 | lc10 | lc11 | lc12 | lc13 | lc14 | lc15 | lc16 | lc17 | lc18 | lc19 | lc20 | lc21 | lc22 | lc23 | lc24 | lc25 | lc26 | lc27 | lc28 | lc29 | lc30 | ld1 | ld2 | ld3 | ld4 | ld5 | ld6 | ld7 | ld8 | ld9 | ld10 | ld11 | ld12 | ld13 | ld14 | ld15 | ld16 | ld17 | ld18 | ld19 | ld20 | ld21 | ld22 | ld23 | ld24 | ld25 | ld26 | ld27 | ld28 | ld29 | ld30 | linglist | linglist2 | linglist3 | linglist4 | linglist5 | linglist6 | lingname | lingname2 | lingname3 | lingname4 | lingname5 | lingname6 | lingua | lingua_ref | listclass | map | map2 | mapalt | mapalt2 | mapcaption | mapcaption2 | mapsize | minority | module | name | nation | nativename | notice | notice2 | posteriori | pronunciation | protoname | ref | refname | region | revived | revived-cat | revived-category | script | setting | sign | signers | speakers | speakers2 | stand1 | stand2 | stand3 | stand4 | stand5 | stand6 | standards | state | states
|latd|latm|latNS|longd|longm|longEW|coordinates
|ethnicity|speakers|speakers2|extinct|era|revived|revived-cat
|date|dateprefix|ref
|familycolor|fam1|fam2|fam3|fam4|fam5|fam6|fam7|fam8|fam9
|fam10|fam11|fam12|fam13|fam14|fam15|family
|ancestor|ancestor2|ancestor3|ancestor4|ancestor5|protoname
|creator|created|setting|posteriori
|dialects|dia1|dia2|dia3|dia4|dia5|dia6|dia7|dia8|dia9|dia10
|dia11|dia12|dia13|dia14|dia15|dia16|dia17|dia18|dia19|dia20
|liststyle|module
|stand1|stand2|stand3|stand4|stand5|stand6|standards
|script|sign
|nation|minority|agency
|iso1|iso2|iso2b|iso2t|iso3|iso2comment|iso3comment|isoexception|iso6|ietf
|lc1|ld1|lc2|ld2|lc3|ld3|lc4|ld4|lc5|ld5|lc6|ld6|lc7|ld7|lc8|ld8|lc9|ld9|lc10|ld10
|lc11|ld11|lc12|ld12|lc13|ld13|lc14|ld14|lc15|ld15|lc16|ld16|lc17|ld17|lc18|ld18|lc19|ld19|lc20|ld20
|lc21|ld21|lc22|ld22|lc23|ld23|lc24|ld24|lc25|ld25|lc26|ld26|lc27|ld27|lc28|ld28|lc29|ld29|lc30|ld30
|linglist|lingname|linglist2|lingname2|linglist3|lingname3|linglist4|lingname4|linglist5|lingname5
|lingua|guthrie
|aiatsis|aiatsis2|aiatsis3|aiatsis4|aiatsis5|aiatsis6
|aiatsisname|aiatsisname2|aiatsisname3|aiatsisname4|aiatsisname5|aiatsisname6
|glotto|glotto2|glotto3|glotto4|glotto5
|glottoname|glottoname2|glottoname3|glottoname4|glottoname5
|glottorefname|glottorefname2|glottorefname3|glottorefname4|glottorefname5
|glottofoot
|image|imagesize|imagealt|imagecaption|imageheader
|map|mapsize|mapalt|mapcaption|map2|mapalt2|mapcaption2|boxsize
|notice|notice2
}}<!--
Close wrapping {{main other}} for the categories:
Anonymous user