Template:Language: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
(Undo revision 207928 by Kemal HagemaruFRP (talk))
Tag: Undo
Line 26: Line 26:
   -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
   -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
       -->|<!-- no era, check for sign/spoken -->{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|silver|1}}<!-- check for signers/silver
       -->|<!-- no era, check for sign/spoken -->{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|silver|1}}<!-- check for signers/silver
         -->|<!-- SIGN language (silver) -->{{#if:{{{signers|}}}{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{Speakers|{{{speakers|–}}}}}}
         -->|<!-- SIGN language (silver) -->{{#if:{{{signers|}}}{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{signers|{{{speakers|–}}}}}}
       |{{#ifeq:{{{speakers|{{{Speakers|{{{speakers}}}}}}}}}|?|<!--
       |{{#ifeq:{{{Speakers|{{{speakers}}}}}}|?|<!--
       -->|{{#ifeq:{{{speakers|{{{Speakers|{{{speakers}}}}}}}}}|none|''None''
       -->|{{#ifeq:{{{Speakers|{{{speakers}}}}}}|none|''None''
       |{{#if:{{{date|}}}|{{{speakers|{{{Speakers|{{{speakers|–}}}}}}}}}&nbsp;({{{dateprefix|}}}{{{date}}})
       |{{#if:{{{date|}}}|{{{Speakers|{{{speakers|–}}}}}}&nbsp;({{{dateprefix|}}}{{{date}}})
       |{{{signers|{{{Speakers|{{{speakers|–}}}}}}}}}{{main other|[[Category:Language articles with speaker number undated]]}}}} }} }} }} }}<!--(end if:date, ifeq:date=na, if:signers. end of SIGN)
       |{{{Speakers|{{{speakers|–}}}}}}{{main other|[[Category:Language articles with speaker number undated]]}}}} }} }} }} }}<!--(end if:date, ifeq:date=na, if:signers. end of SIGN)
         -->|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{Speakers|{{{speakers|–}}}}}}
         -->|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{Speakers|{{{speakers|–}}}}}}
       |{{#ifeq: {{{date}}}|no date|(undated figure of {{{Speakers|{{{speakers}}}}}})|<!--
       |{{#ifeq: {{{date}}}|no date|(undated figure of {{{Speakers|{{{speakers}}}}}})|<!--
Line 37: Line 37:
     -->|<!-- regular-->{{{Speakers|{{{speakers|–}}}}}}&nbsp;({{{dateprefix|}}}{{{date}}})<!--
     -->|<!-- regular-->{{{Speakers|{{{speakers|–}}}}}}&nbsp;({{{dateprefix|}}}{{{date}}})<!--
     -->|<!-- old (25+) -->({{{Speakers|{{{speakers}}}}}} cited {{{dateprefix|}}}{{{date}}}){{main other|{{#ifeq:{{{ref}}}|e19|[[Category:Language articles with old Ethnologue 19 speaker data]]|{{#ifeq:{{{ref}}}|e18|[[Category:Language articles with old Ethnologue 18 speaker data]]|[[Category:Language articles with old speaker data]]}}}}}}}}}}<!--(end ifexpr:25+, iferror:)
     -->|<!-- old (25+) -->({{{Speakers|{{{speakers}}}}}} cited {{{dateprefix|}}}{{{date}}}){{main other|{{#ifeq:{{{ref}}}|e19|[[Category:Language articles with old Ethnologue 19 speaker data]]|{{#ifeq:{{{ref}}}|e18|[[Category:Language articles with old Ethnologue 18 speaker data]]|[[Category:Language articles with old speaker data]]}}}}}}}}}}<!--(end ifexpr:25+, iferror:)
     -->|{{#ifeq:{{{speakers}}}|?|<!--
     -->|{{#ifeq:{{{Speakers|{{{speakers}}}}}}|?|<!--
       -->|{{#ifeq:{{{speakers}}}|none|''None''
       -->|{{#ifeq:{{{Speakers|{{{speakers}}}}}}|none|''None''
       |<!-- no date input -->{{{Speakers|{{{speakers|–}}}}}}{{main other|[[Category:Language articles with speaker number undated]]}}}} }} }}<!--(end if:date, before the 25+ expr check)
       |<!-- no date input -->{{{Speakers|{{{speakers|–}}}}}}{{main other|[[Category:Language articles with speaker number undated]]}}}} }} }}<!--(end if:date, before the 25+ expr check)
     -->}}<!--(end ifeq:date=no date)
     -->}}<!--(end ifeq:date=no date)
Line 45: Line 45:
       -->}} }}<!--(end if:era, if:extinct. No open #if:s left)
       -->}} }}<!--(end if:era, if:extinct. No open #if:s left)
If there is a ref, and there is any input for this row (data7), then we add the reference:
If there is a ref, and there is any input for this row (data7), then we add the reference:
-->{{#if:{{{ref|}}}|{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{Speakers|{{{speakers|}}}}}}{{{date|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|sign_language}}|{{Infobox language/ref|{{{ref}}}|iso3={{{iso3|}}}|refname={{{refname|}}}|name={{{name|{{PAGENAME}}}}}|lc1={{{lc1|}}}|ld1={{Delink|{{{ld1}}}}}|lc2={{{lc2|}}}|ld2={{Delink|{{{ld2}}}}}|lc3={{{lc3|}}}|ld3={{Delink|{{{ld3}}}}}|lc4={{{lc4|}}}|ld4={{Delink|{{{ld4}}}}}|lc5={{{lc5|}}}|ld5={{Delink|{{{ld5}}}}}|lc6={{{lc6|}}}|ld6={{Delink|{{{ld6}}}}}|lc7={{{lc7|}}}|ld7={{Delink|{{{ld7}}}}}}}}}}}<!--
-->{{#if:{{{ref|}}}|{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{Speakers|}}}{{{speakers|}}}{{{date|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|sign_language}}|{{Infobox language/ref|{{{ref}}}|iso3={{{iso3|}}}|refname={{{refname|}}}|name={{{name|{{PAGENAME}}}}}|lc1={{{lc1|}}}|ld1={{Delink|{{{ld1}}}}}|lc2={{{lc2|}}}|ld2={{Delink|{{{ld2}}}}}|lc3={{{lc3|}}}|ld3={{Delink|{{{ld3}}}}}|lc4={{{lc4|}}}|ld4={{Delink|{{{ld4}}}}}|lc5={{{lc5|}}}|ld5={{Delink|{{{ld5}}}}}|lc6={{{lc6|}}}|ld6={{Delink|{{{ld6}}}}}|lc7={{{lc7|}}}|ld7={{Delink|{{{ld7}}}}}}}}}}}<!--
Add speakers2 after the ref:
Add speakers2 after the ref:
-->{{#if:{{{speakers2|}}}|<br />{{{speakers2|}}} }}
-->{{#if:{{{speakers2|}}}|<br />{{{speakers2|}}} }}

Revision as of 17:31, 2 July 2021

Language family