Template:Infobox language: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
m I'm a fucktard
Tag: Undo
 
Line 213: Line 213:
| header20 = Language codes
| header20 = Language codes


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


| label22 = '''ISO 639-2'''
| label22 = {{nowrap|[[ISO 639-2]]}}
| data22 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
| data22 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
  |<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}
  |<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}
Line 230: Line 230:
  }}
  }}


| label23 = '''ISO 639-3'''
| label23 = {{nowrap|[[ISO 639-3]]}}
| data23 = {{#if:{{{iso3|}}}
| data23 = {{#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
   |{{#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

Latest revision as of 23:23, 28 September 2022

Default
  • Infobox language
Language codes
ISO 639-3