Template:Infobox language: Difference between revisions

From Sapphire Wiki
No edit summary
m Reverted edits by Bryan (talk) to last revision by Kwamikagami
Line 83: Line 83:
| label8 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
| label8 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
   |Purpose
   |Purpose
   |Language family
   |[[Language family]]
   }}
   }}
| data8 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
| data8 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
Line 171: Line 171:
<div>{{{dia20|}}}</div>
<div>{{{dia20|}}}</div>
}}}}
}}}}
| label12 = Writing system
| label12 = [[Writing system]]
| data12 =  {{#switch: {{lc:{{{script|}}}}}
| data12 =  {{#switch: {{lc:{{{script|}}}}}
             | latin
             | latin
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:24, 21 November 2013

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

}}