Template:Infobox language: Difference between revisions

remove idiotic dashes that no one wants
(added "posteriori" parameter that was in doc but not in template)
(remove idiotic dashes that no one wants)
Line 19: Line 19:
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''will be added''}}}}}
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''will be added''}}}}}
| label2 = Created by
| label2 = Created by
| data2 = {{{creator|}}}
| data2 = {{{creator|}}}
| label3 = Setting
| label3 = Setting
| data3 = {{{setting|}}}
| data3 = {{{setting|}}}
| label4 = Sources
| label4 = Sources
| data4 = {{{posteriori|}}}
| data4 = {{{posteriori|}}}
| label5 = Spoken natively in
| label5 = Spoken natively in
| data5 = {{{states|{{{state|}}}}}}
| data5 = {{{states|{{{state|}}}}}}
Line 46: Line 46:
   -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
   -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
       -->
       -->
|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|}}}  
|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|}}}  
       |{{#ifeq: {{{date}}}|no date|{{{speakers|}}} &nbsp;(no date)|{{#ifeq:{{{speakers}}}|?|(unknown)
       |{{#ifeq: {{{date}}}|no date|{{{speakers|}}} &nbsp;(no date)|{{#ifeq:{{{speakers}}}|?|(unknown)
       |{{#ifeq:{{{speakers}}}|none|''None''
       |{{#ifeq:{{{speakers}}}|none|''None''
       |{{{speakers|}}} &nbsp;({{#if:{{{date}}}|{{{date}}}|<!--no date input-->no date}})
       |{{{speakers|}}} &nbsp;({{#if:{{{date}}}|{{{date}}}|<!--no date input-->no date}})
       }} }}<!--(end if:date, before the 30+ expr check)
       }} }}<!--(end if:date, before the 30+ expr check)
     -->}}<!--(end ifeq:date=no date)
     -->}}<!--(end ifeq:date=no date)
Line 162: Line 162:
| label23 = [[w:ISO 639-3|ISO 639-3]]
| label23 = [[w:ISO 639-3|ISO 639-3]]
| data23 = {{#if:{{{iso3|}}}
| data23 = {{#if:{{{iso3|}}}
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>[[w:ISO639-3:{{{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>[[w:ISO639-3:{{{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
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist