Template:Infobox language: Difference between revisions

m
1 revision imported
(+ partial support for e20)
 
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
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>
Line 51:
| 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 79:
-->{{#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 175:
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{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:
| 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:
| header20 = Language codes
 
| label21 = {{nowrap|[[{{w|ISO 639-1]]}}}}
| data21 = {{#if:{{{iso1|}}}|<code>{{{iso1}}}</code>}}
 
| label22 = {{nowrap|[[{{w|ISO 639-2]]}}}}
| data22 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
|<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}
|[[{{w|ISO639-3:{{{iso2b|{{{iso2|–}}}}}}|{{{iso2b}}}]]}}&nbsp;(B)
|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
|{{{iso2|sgn}}}
Line 221:
#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
|{{{iso2|art}}}
|[[{{w|ISO639-3:{{{iso2}}}|{{{iso2}}}]]}}}}}}}}</code> {{{iso2comment|}}}{{
#if:{{{iso2b|}}}{{{iso2t|}}}
|<br /><code>[[{{w|ISO639-3:{{{iso2t|{{{iso2|–}}}}}}|{{{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>[[{{w|ISO639-3:{{{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:
|{{#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>}}
 
Line 277:
| 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"}}}}}}<!--
Line 284:
-->{{#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 310:
| 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 [[{{w|International Phonetic Alphabet#Fonts|rendering support]]}}, you may see [[{{w|Replacement character|question marks, boxes, or other symbols]]}} instead of [[{{w|Unicode]]}} characters.
}}