User:Sware/Template:infobox language: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 173: Line 173:


| label13 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]}}}}
| label13 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]}}}}
| data13 =  {{#switch: {{lc:{{{script|}}}}}
| data13 =  [[w:{{#if: {{#invoke:scripts/templates|exists|{{{script|}}}}}|{{#invoke:scripts/templates|getByCode|{{{script}}}|getCanonicalName}}|{{uc: {{{script}}}}}}} script]]
            |latin=[[w:Latin script|Latin]]
            |cyrillic=[[w:Cyrillic script|Cyrillic]]
            | #default = {{{script|}}}
            }}


| label15 = Sources
| label15 = Sources
Line 201: Line 197:


| label22 = {{nowrap|[[w:ISO 639-1|ISO 639-1]]}}
| label22 = {{nowrap|[[w:ISO 639-1|ISO 639-1]]}}
| data22 = {{#if:{{{iso1|}}}|<code>{{#ifeq:{{str len|{{{iso1|}}}}}| 2 | {{ISO 639-1|{{{iso1}}}}} | {{{iso1}}} }}</code> {{{iso1comment|}}}}}
| data22 = {{#if: {{{iso1|}}}|<code>{{#ifeq: {{{iso1}}}</code> {{{iso1comment|}}}}}}}


| label23 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}}
| label23 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}}
| data23 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
| data23 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}<!--
|<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}
            -->|<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}<!--
  |{{#ifeq:{{str len|{{{iso2b|}}}}}| 3 | {{ISO 639-2|{{{iso2b}}}}} | {{{iso2b}}} }}&nbsp;(B)
                -->|{{#ifeq:{{str len|{{{iso2b|}}}}}| 3 | {{ISO 639-2|{{{iso2b}}}}} | {{{iso2b}}} }}&nbsp;(B)
   |{{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
   |{{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
   |{{{iso2|sgn}}}
   |{{{iso2|sgn}}}
Line 218: Line 214:


| label24 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| label24 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| data24 = {{#if:{{{iso3|}}}
| data24 = {{#if:{{{iso3|}}}|<code>{{{iso3}}}</code>}}
  |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None'' (<code>mis</code>)}}|<code>{{#ifeq:{{str len|{{{iso3}}}}}| 3 | [[ISO639-3:{{{iso3}}}|{{{iso3}}}]] | {{{iso3}}} }}</code> {{#if:{{{lc1|}}}| – 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
|{{{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|}}} }}
|{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}


| label25 = {{nowrap|[[w:ISO 639-6|ISO 639-6]]}}<!-- NOTE: ISO 639-6 was withdrawn in 2014.-->
| label25 = {{nowrap|<span class="plainlinks">[https://www.kreativekorp.com/clcr/ CLCR]</span>}}
| data25 = {{#if:{{{iso6|}}}|<code>{{{iso6}}}</code>[[Category:Languages with ISO6 code]]}}
| data25 = {{#if:{{{clcr|}}}|{{{clcr}}}}}


| label26 = {{User:Sware/Template:longitem|[[w:Linguist List|Linguist List]]}}
| label26 = [[w:Glottolog|Glottolog]]
| data26  = {{Infobox language/linguistlist|1={{{linglist|}}} |2={{{lingname|}}}}}
| data26 = {{#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}}}}}}}}}}}}}<!--
| label27 = &nbsp;
| data27  = {{Infobox language/linguistlist|1={{{linglist2|}}}|2={{{lingname2|}}}}}
| label28 = &nbsp;
| data28  = {{Infobox language/linguistlist|1={{{linglist3|}}}|2={{{lingname3|}}}}}
| label29 = &nbsp;
| data29  = {{Infobox language/linguistlist|1={{{linglist4|}}}|2={{{lingname4|}}}}}
| label30 = &nbsp;
| data30  = {{Infobox language/linguistlist|1={{{linglist5|}}}|2={{{lingname5|}}}}}
| label31 = &nbsp;
| data31  = {{Infobox language/linguistlist|1={{{linglist6|}}}|2={{{lingname6|}}}}}
 
| label32 = [[w:Glottolog|Glottolog]]
| data32 = {{#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}}}}}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}|&nbsp; {{nowrap|{{{glottoname2}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}|&nbsp; {{nowrap|{{{glottoname2}}}}}}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}|&nbsp; {{nowrap|{{{glottoname3}}}}}}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}|&nbsp; {{nowrap|{{{glottoname3}}}}}}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}|&nbsp; {{nowrap|{{{glottoname4}}}}}}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}|&nbsp; {{nowrap|{{{glottoname4}}}}}}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}|&nbsp; {{nowrap|{{{glottoname5}}}}}}}}}
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}|&nbsp; {{nowrap|{{{glottoname5}}}}}}}}
 
| label33 = [[w:Australian Institute of Aboriginal and Torres Strait Islander Studies|AIATSIS]]{{#if:{{{aiatsis|}}}|{{#tag:ref|{{AIATSIS|{{{aiatsis|}}}|{{{aiatsisname|{{{name}}}}}}|{{{aiatsis2|}}}}}|name="AIATSIS"}}}}
| data33 = {{#if:{{{aiatsis|}}}|<code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis}}} {{{aiatsis}}}]</code>{{#if:{{{aiatsisname|}}}|&nbsp;{{{aiatsisname}}}}} }}{{#if:{{{aiatsis2|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis2}}} {{{aiatsis2}}}]</code>{{#if:{{{aiatsisname2|}}}|&nbsp;{{{aiatsisname2}}}}} }}{{#if:{{{aiatsis3|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis3}}} {{{aiatsis3}}}]</code>{{#if:{{{aiatsisname3|}}}|&nbsp;{{{aiatsisname3}}}}} }}{{#if:{{{aiatsis4|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis4}}} {{{aiatsis4}}}]</code>{{#if:{{{aiatsisname4|}}}|&nbsp;{{{aiatsisname4}}}}} }}{{#if:{{{aiatsis5|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis5}}} {{{aiatsis5}}}]</code>{{#if:{{{aiatsisname5|}}}|&nbsp;{{{aiatsisname5}}}}} }}{{#if:{{{aiatsis6|}}}|, <code>[https://collection.aiatsis.gov.au/austlang/language/{{{aiatsis6}}} {{{aiatsis6}}}]</code>{{#if:{{{aiatsisname6|}}}|&nbsp;{{{aiatsisname6}}}}} }}
 
| label34 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Guthrie classification of Bantu languages|Guthrie code]]}}}}
| data34 = {{#if:{{{guthrie|}}}|<code>{{{guthrie}}}</code><ref name="Guthrie">Jouni Filip Maho, 2009. [https://web.archive.org/web/20180203191542/http://goto.glocalnet.net/mahopapers/nuglonline.pdf New Updated Guthrie List Online]</ref>}}
 
| label35 = [[w:Endangered Languages Project|ELP]]
| data35 = {{#ifeq: {{lc: {{{ELP|}}} }} | none | | {{Endangered Languages Project |ELP={{{ELP|}}} |ELPname={{{ELPname|}}} |qid={{{qid|}}} }} }}
 
| label36 = &nbsp;<!--keeps ELP entries aligned-->
| data36 = {{#if:{{{ELP2|}}}|[http://www.endangeredlanguages.com/lang/{{{ELP2}}} {{{ELPname2}}}]{{#tag:ref|[http://www.endangeredlanguages.com/lang/{{{ELP2|}}} Endangered Languages Project data for {{{ELPname2}}}].|name="ELP2"}}[[Category:Language articles with manual ELP links]]}}
 
| label37 = &nbsp;
| data37 = {{#if:{{{ELP3|}}}|[http://www.endangeredlanguages.com/lang/{{{ELP3}}} {{{ELPname3}}}]{{#tag:ref|[http://www.endangeredlanguages.com/lang/{{{ELP3|}}} Endangered Languages Project data for {{{ELPname3}}}].|name="ELP3"}}[[Category:Language articles with manual ELP links]]}}
 
| label38 = &nbsp;
| data38 = {{#if:{{{ELP4|}}}|[http://www.endangeredlanguages.com/lang/{{{ELP4}}} {{{ELPname4}}}]{{#tag:ref|[http://www.endangeredlanguages.com/lang/{{{ELP4|}}} Endangered Languages Project data for {{{ELPname4}}}].|name="ELP4"}}[[Category:Language articles with manual ELP links]]}}
 
| label39 = &nbsp;
| data39 = {{#if:{{{ELP5|}}}|[http://www.endangeredlanguages.com/lang/{{{ELP5}}} {{{ELPname5}}}]{{#tag:ref|[http://www.endangeredlanguages.com/lang/{{{ELP5|}}} Endangered Languages Project data for {{{ELPname5}}}].|name="ELP5"}}[[Category:Language articles with manual ELP links]]}}
 
| label40 = &nbsp;
| data40 = {{#if:{{{ELP6|}}}|[http://www.endangeredlanguages.com/lang/{{{ELP6}}} {{{ELPname6}}}]{{#tag:ref|[http://www.endangeredlanguages.com/lang/{{{ELP6|}}} Endangered Languages Project data for {{{ELPname6}}}].|name="ELP6"}}[[Category:Language articles with manual ELP links]]}}
 
| label41 = [[w:Glottopedia|Glottopedia]]
| data41 = {{#if:{{{glottopedia|}}}|<code>[http://www.glottopedia.org/index.php/{{{glottopedia}}} {{{glottopedia}}}]</code>{{#tag:ref|[http://www.glottopedia.org/index.php/{{{glottopedia}}} Glottopedia article on {{PAGENAMEBASE}}].|name="Glottopedia"}}}}
 
| label42 = [[w:Linguasphere Observatory|Linguasphere]]
| data42 = {{#if:{{{lingua|}}}|<code>{{{lingua}}}</code>{{{lingua_ref|}}}}}


| label43 = [[w:IETF language tag|IETF]]
| label25 = [[w:IETF language tag|IETF]]
| data43 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>{{Main other|[[Category:Language articles with IETF language tag]]}}}}
| data25 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>{{Main other|[[Category:Language articles with IETF language tag]]}}}}


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

Navigation menu