User:Sware/Template:infobox language: Difference between revisions
Jump to navigation
Jump to search
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 = {{# | | data13 = [[w:{{#if: {{#invoke:scripts/templates|exists|{{{script|}}}}}|{{#invoke:scripts/templates|getByCode|{{{script}}}|getCanonicalName}}|{{uc: {{{script}}}}}}} 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: | | 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|}}}<!-- | |||
-->|{{#ifeq:{{str len|{{{iso2b|}}}}}| 3 | {{ISO 639-2|{{{iso2b}}}}} | {{{iso2b}}} }} (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>}} | ||
| label25 = {{nowrap|[ | | label25 = {{nowrap|<span class="plainlinks">[https://www.kreativekorp.com/clcr/ CLCR]</span>}} | ||
| data25 = {{#if:{{{ | | data25 = {{#if:{{{clcr|}}}|{{{clcr}}}}} | ||
| label26 | | label26 = [[w:Glottolog|Glottolog]] | ||
| 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|}}}| {{nowrap|{{{glottoname}}}}}}}}}}}}}<!-- | |||
| | |||
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}| {{nowrap|{{{glottoname2}}}}}}}}}<!-- | -->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}| {{nowrap|{{{glottoname2}}}}}}}}}<!-- | ||
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}| {{nowrap|{{{glottoname3}}}}}}}}}<!-- | -->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}| {{nowrap|{{{glottoname3}}}}}}}}}<!-- | ||
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}| {{nowrap|{{{glottoname4}}}}}}}}}<!-- | -->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}| {{nowrap|{{{glottoname4}}}}}}}}}<!-- | ||
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}| {{nowrap|{{{glottoname5}}} | -->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}| {{nowrap|{{{glottoname5}}}}}}}} | ||
| | | label25 = [[w:IETF language tag|IETF]] | ||
| | | data25 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>{{Main other|[[Category:Language articles with IETF language tag]]}}}} | ||
| data44 = {{#if:{{{map|}}} | | data44 = {{#if:{{{map|}}} |