Template:Infobox language: Difference between revisions

From Thetacola Wiki
Jump to navigationJump to search
(fixed a different way)
Tag: Undo
No edit summary
Line 231: Line 231:
     |<br /><code>{{#ifeq:{{str len|{{{iso2t|}}}}}| 3 | {{ISO 639-2|{{{iso2t}}}}} | {{{iso2t}}} }}&nbsp;(T)</code>}}
     |<br /><code>{{#ifeq:{{str len|{{{iso2t|}}}}}| 3 | {{ISO 639-2|{{{iso2t}}}}} | {{{iso2t}}} }}&nbsp;(T)</code>}}
  }}
  }}
| label24 = {{nowrap|[[ISO 639-3]]}}
| data24 = {{#if:{{{iso3|}}}
  |{{#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|[[ISO 639-6]]}}<!-- NOTE: ISO 639-6 was withdrawn in 2014.-->
| label25 = {{nowrap|[[ISO 639-6]]}}<!-- NOTE: ISO 639-6 was withdrawn in 2014.-->
| data25 = {{#if:{{{iso6|}}}|<code>{{{iso6}}}</code>[[Category:Languages with ISO6 code]]}}
| data25 = {{#if:{{{iso6|}}}|<code>{{{iso6}}}</code>[[Category:Languages with ISO6 code]]}}
Line 363: Line 327:
-->{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{speakers|}}}{{{creator|}}}{{{setting|}}}||<!-- no main input for data7 -->[[Category:Language articles without speaker estimate]]}}<!--  
-->{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{speakers|}}}{{{creator|}}}{{{setting|}}}||<!-- no main input for data7 -->[[Category:Language articles without speaker estimate]]}}<!--  
-->{{#ifeq:{{{speakers|}}}|?|{{#if:{{{iso3|}}}{{{lc1|}}}|{{#ifeq:{{{iso3|}}}|none|<!-- ok -->|{{#ifeq:{{{ref|}}}|e18|<!-- ok -->|[[Category:Language articles with unknown population not citing Ethnologue 18]]}}}}}}}}<!--
-->{{#ifeq:{{{speakers|}}}|?|{{#if:{{{iso3|}}}{{{lc1|}}}|{{#ifeq:{{{iso3|}}}|none|<!-- ok -->|{{#ifeq:{{{ref|}}}|e18|<!-- ok -->|[[Category:Language articles with unknown population not citing Ethnologue 18]]}}}}}}}}<!--
-->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}|[[Category:Conlangs without ISO 639-3 code]]}}}}<!--
-->{{#if:{{{date|}}}|{{#iferror: {{#expr: {{padleft:|4|{{{date}}}|}} }} |<!--  
-->{{#if:{{{date|}}}|{{#iferror: {{#expr: {{padleft:|4|{{{date}}}|}} }} |<!--  
   -->{{#switch: {{lc:{{{date}}}}}
   -->{{#switch: {{lc:{{{date}}}}}
Line 370: Line 333:
   | #default = [[Category:Language articles with invalid population dates]]<!--
   | #default = [[Category:Language articles with invalid population dates]]<!--
   -->}}|<!-- no error -->}}|<!-- no date -->}}<!--
   -->}}|<!-- no error -->}}|<!-- no date -->}}<!--
-->{{#if:{{{iso3|}}}|<!--ok-->|{{#if:{{{lc1|}}}|<!--ok-->|<!--
    -->{{#switch: {{lc:{{{isoexception}}}}}
    | dialect      = [[Category:Dialects of languages with ISO 639-3 code]]
    | historical    = [[Category:Historical forms of languages with ISO codes]]
    | protolanguage = [[Category:Protolanguages without ISO codes]]
    | talkpage =
    |}}}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#if:{{{glotto|}}}|<!--ok-->|{{#if:{{{linglist|}}}|<!--ok-->|{{#if:{{{lingua|}}}|<!--ok-->|{{#if:{{{aiatsis|}}}|<!--ok-->|{{#if:{{{guthrie|}}}|<!--ok-->|{{#if:{{{creator|}}}|<!--ok-->|{{#if:{{{created|}}}|<!--ok-->|[[Category:Languages without ISO 639-3 code]]}}}}}}}}}}}}}}}}<!--
-->{{#if:{{{iso3|}}}{{{lc1|}}}{{{glotto|}}}{{{glotto2|}}}{{{glotto3|}}}{{{glotto4|}}}{{{glotto5|}}}{{{linglist|}}}{{{lingua|}}}{{{aiatsis|}}}{{{guthrie|}}}{{{isoexception|}}}|<!--ok-->|[[Category:Language articles without language codes]]}}<!--
-->{{#if:{{{iso3|}}}{{{lc1|}}}{{{glotto|}}}{{{glotto2|}}}{{{glotto3|}}}{{{glotto4|}}}{{{glotto5|}}}{{{linglist|}}}{{{lingua|}}}{{{aiatsis|}}}{{{guthrie|}}}{{{isoexception|}}}|<!--ok-->|[[Category:Language articles without language codes]]}}<!--
-->{{#if:{{{lc1|}}}|{{#if:{{{lc2|}}}|<!--ok-->|[[Category:Languages which need ISO 639-3 comment]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{ref|}}}|e18|[[Category:Nonexistent E18 links]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{ref|}}}|e18|[[Category:Nonexistent E18 links]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none|{{#if:{{{linglist|}}}|{{#ifeq:{{{isoexception|}}}|dialect|[[Category:Dialects with Linguist List code]]|[[Category:Languages without ISO 639-3 code but with Linguist List code]]}}}}<!--
-->{{#ifeq:{{{glotto|}}}|none|<!--ok-->||{{#if:{{{glotto|}}}|[[Category:Languages without ISO 639-3 code but with Glottolog code]]}}}}<!--
-->{{#if:{{{lingua|}}}|[[Category:Languages without ISO 639-3 code but with Linguasphere code]]}}<!--
-->{{#if:{{{aiatsis|}}}|[[Category:Languages without ISO 639-3 code but with AIATSIS code]]}}<!--
-->{{#if:{{{guthrie|}}}|[[Category:Languages without ISO 639-3 code but with Guthrie code]]}}}}<!--
-->{{#if:{{{iso3|}}}|<!--okay-->|{{#if:{{{lc1|}}}|<!--ok-->|{{#if:{{{linglist|}}}|{{#ifeq:{{{isoexception|}}}|dialect|[[Category:Dialects with Linguist List code]]|[[Category:Languages without ISO 639-3 code but with Linguist List code]]}}}}<!--
-->{{#ifeq:{{{glotto|}}}|none|<!--ok-->|{{#if:{{{glotto|}}}|[[Category:Languages without ISO 639-3 code but with Glottolog code]]}}}}<!--
-->{{#if:{{{lingua|}}}|[[Category:Languages without ISO 639-3 code but with Linguasphere code]]}}<!--
-->{{#if:{{{aiatsis|}}}|[[Category:Languages without ISO 639-3 code but with AIATSIS code]]}}<!--
-->{{#if:{{{guthrie|}}}|[[Category:Languages without ISO 639-3 code but with Guthrie code]]}}}}}}<!--
-->{{#if:{{{glotto|}}}|{{#if:{{{glottorefname|}}}{{{glottoname|}}}|<!--ok-->
-->{{#if:{{{glotto|}}}|{{#if:{{{glottorefname|}}}{{{glottoname|}}}|<!--ok-->
   |{{#switch: {{lc:{{{glotto}}}}} |none = |spurious =  
   |{{#switch: {{lc:{{{glotto}}}}} |none = |spurious =  

Revision as of 21:52, 30 November 2022

Default
  • Infobox language
Language codes