Template:Infobox language: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 196: Line 196:
   }}}}}
   }}}}}
| header18 = Language codes
| header18 = Language codes
| label19 = [[wikipedia:ISO 639-1]]
| label19 = [[wikipedia:ISO 639-1|ISO 639-1]]
| data19 = {{#if:{{{iso1|}}}|<tt>{{{iso1}}}</tt>}}
| data19 = {{#if:{{{iso1|}}}|<tt>{{{iso1}}}</tt>}}
| label20 = [[wikipedia:ISO 639-2]]
| label20 = [[wikipedia:ISO 639-2|ISO 639-2]]
| data20 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
| data20 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
  |<tt>{{#if:{{{iso2b|}}}{{{iso2t|}}}
  |<tt>{{#if:{{{iso2b|}}}{{{iso2t|}}}
Line 211: Line 211:
     |<br /><tt>[[ISO639-3:{{{iso2t|{{{iso2|–}}}}}}|{{{iso2t}}}]]&nbsp;(T)</tt>}}
     |<br /><tt>[[ISO639-3:{{{iso2t|{{{iso2|–}}}}}}|{{{iso2t}}}]]&nbsp;(T)</tt>}}
  }}
  }}
| label21 = [[ISO 639-3]]
| label21 = [[w:ISO 639-3|ISO 639-3]]
| data21 = {{#if:{{{iso3|}}}
| data21 = {{#if:{{{iso3|}}}
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>[[ISO639-3:{{{iso3}}}|{{{iso3}}}]]</tt> {{#if:{{{lc1|}}}| – [[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
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>[[ISO639-3:{{{iso3}}}|{{{iso3}}}]]</tt> {{#if:{{{lc1|}}}| – [[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
Line 261: Line 261:
  |{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}
  |{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}


| label22 = [[ISO 639-6]]
| label22 = [[w:ISO 639-6|ISO 639-6]]
| data22 = {{#if:{{{iso6|}}}|<tt>{{{iso6}}}</tt>}}
| data22 = {{#if:{{{iso6|}}}|<tt>{{{iso6}}}</tt>}}