Template:Infobox language: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 196: Line 196:
   }}}}}
   }}}}}
| header18 = Language codes
| header18 = Language codes
| label19 = [[wikipedia:ISO 639-1|ISO 639-1]]
| label19 = [[ISO 639-1]]
| data19 = {{#if:{{{iso1|}}}|<tt>{{{iso1}}}</tt>}}
| data19 = {{#if:{{{iso1|}}}|<tt>{{{iso1}}}</tt>}}
| label20 = [[w:ISO 639-2|ISO 639-2]]
| label20 = [[ISO 639-2]]
| data20 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
| data20 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
  |<tt>{{#if:{{{iso2b|}}}{{{iso2t|}}}
  |<tt>{{#if:{{{iso2b|}}}{{{iso2t|}}}
Line 207: Line 207:
     #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
     #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
     |{{{iso2|art}}}
     |{{{iso2|art}}}
     |[[w:ISO639-3:{{{iso2}}}|{{{iso2}}}]]}}}}}}</tt>{{
     |[[ISO639-3:{{{iso2}}}|{{{iso2}}}]]}}}}}}</tt>{{
     #if:{{{iso2b|}}}{{{iso2t|}}}
     #if:{{{iso2b|}}}{{{iso2t|}}}
     |<br /><tt>[[w:ISO639-3:{{{iso2t|{{{iso2|–}}}}}}|{{{iso2t}}}]]&nbsp;(T)</tt>}}
     |<br /><tt>[[ISO639-3:{{{iso2t|{{{iso2|–}}}}}}|{{{iso2t}}}]]&nbsp;(T)</tt>}}
  }}
  }}
| label21 = [[w:ISO 639-3|ISO 639-3]]
| label21 = [[ISO 639-3]]
| data21 = {{#if:{{{iso3|}}}
| data21 = {{#if:{{{iso3|}}}
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>{{{iso3}}}|{{{iso3}}}</tt> {{#if:{{{lc1|}}}| – [[w: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
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{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 = [[w:ISO 639-6|ISO 639-6]]
| label22 = [[ISO 639-6]]
| data22 = {{#if:{{{iso6|}}}|<tt>{{{iso6}}}</tt>}}
| data22 = {{#if:{{{iso6|}}}|<tt>{{{iso6}}}</tt>}}