Template:Infobox language: Difference between revisions

From Sapphire Wiki
No edit summary
No edit summary
Line 194: Line 194:
   }}}}}
   }}}}}
| header18 = Language codes
| header18 = Language codes
| label19 = [[ISO 639-1]]
| label19 = ISO 639-1
| data19 = {{#if:{{{iso1|}}}|<tt>{{{iso1}}}</tt>}}
| data19 = {{#if:{{{iso1|}}}|<tt>{{{iso1}}}</tt>}}
| label20 = [[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 301: Line 301:
-->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{main other|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}|[[Category:Conlangs without ISO 639-3 code]]|}}}}}}<!--
-->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{main other|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|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}}}}}
  | na      = [[Category:Language articles with NA population dates]]
  | no date  = [[Category:Language articles with 'no date' set]]
  | #default = [[Category:Language articles with invalid population dates]]<!--
   -->}}|<!-- no error -->}}|<!-- no date -->}}<!--
   -->}}|<!-- no error -->}}|<!-- no date -->}}<!--
-->{{#if:{{{iso3|}}}|<!--ok-->|{{#if:{{{lc1|}}}|<!--ok-->|<!--
-->{{#if:{{{iso3|}}}|<!--ok-->|{{#if:{{{lc1|}}}|<!--ok-->|<!--

Revision as of 06:23, 21 November 2013

Infobox language
Language family
Default
  • Infobox language
Language codes
ISO 639-3

}}|}}