User:Sware/Template:infobox language: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 73: Line 73:
| data8 = {{{revived|}}}
| data8 = {{{revived|}}}


| label9 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
| label9 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Language family|Language family]]}}}}
  |Purpose
| data9 = {{#ifeq: {{lc:{{{family}}}}}|na<!--
  |{{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Language family|Language family]]}}}}
            -->|<!--
  }}
            -->|<div style="text-align:left;">{{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}}}}<!--
| data9 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
            -->}}
  |''Unknown''{{main other|[[Category:Languages without classification]]}}
  |{{#if:{{{creator|}}}{{{setting|}}}
    |[[w:constructed language|constructed language]]
    |{{Infobox language/genetic|{{{familycolor|Default}}}}}
    }}
  }}}}}
<ul style="line-height:100%; margin-left:1.35em;padding-left:0"><li>
<ul style="line-height:100%; margin-left:1.35em;padding-left:0"><li>
{{#ifeq:{{{familycolor|}}}|unclassified||{{#ifeq:{{{familycolor|}}}|Unclassified||{{#ifeq:{{{familycolor|}}}|isolate||{{#ifeq:{{{familycolor|}}}|Isolate||{{#if:{{{fam2|}}}
{{#switch: {{lc: {{{familycolor|}}}}}|unclassified|isolate=||{{#if:{{{fam2|}}}
| {{{fam2}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam3|}}}
| {{{fam2}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam3|}}}
| {{{fam3}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam4|}}}
| {{{fam3}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam4|}}}
Line 115: Line 109:
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>
}}</li></ul>
}}}}}}}}}}}</div>}}
</div>}}


| label10 = {{User:Sware/Template:longitem|{{#if:{{{ancestor2|}}}|Early forms|Early form}}}}
| label10 = {{User:Sware/Template:longitem|Early form{{#if:{{{ancestor2|}}}|s|}}}}
| data10 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
| data10 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
{{#if:{{{ancestor2|}}}|<ul style="line-height:100%; margin-left:1.35em; padding-left:0"><li>{{{ancestor2}}}
{{#if:{{{ancestor2|}}}|<ul style="line-height:100%; margin-left:1.35em; padding-left:0"><li>{{{ancestor2}}}