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

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 77: Line 77:
   |{{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Language family|Language family]]}}}}
   |{{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Language family|Language family]]}}}}
   }}
   }}
| data8 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
| data8 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}}}}
  |''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>
{{#switch: {{lc: {{{familycolor|}}}}}|unclassified|isolate=|{{#if:{{{fam2|}}}
{{#switch: {{lc: {{{familycolor|}}}}}|unclassified|isolate=|{{#if:{{{fam2|}}}
Line 117: Line 111:
}}</div>}}
}}</div>}}


| label9 = {{User:Sware/Template:longitem|{{#if:{{{ancestor2|}}}|Early forms|Early form}}}}
| label9 = {{User:Sware/Template:longitem|Early form{{#if:{{{ancestor2|}}}|s}}}}
| data9 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
| data9 = {{#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}}}
Line 135: Line 129:
</div>}}
</div>}}


| label10 = {{User:Sware/Template:longitem|Standard forms}}
| label10 = {{User:Sware/Template:longitem|Standard form{{#if:{{{stand2|}}}|s}}}}
| data10 = {{#if:{{{standards|}}}|{{{standards}}}
| data10 = {{#if:{{{standards|}}}|{{{standards}}}
|{{#if:{{{stand1|}}}|
|{{#if:{{{stand1|}}}|
Line 146: Line 140:
}}}}
}}}}


| label11 = Dialects
| label11 = {{User:Sware/Template:longitem|Dialect{{#if:{{{dia2|}}}|s}}}}
| data11 = {{#if:{{{dialects|}}}|{{{dialects}}}
| data11 = {{#if:{{{dialects|}}}|{{{dialects}}}
|{{#if:{{{dia1|}}}|
|{{#if:{{{dia1|}}}|
Line 173: Line 167:


| label12 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]}}}}
| label12 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]}}}}
| data12 =  [[w:{{#if: {{#invoke:scripts/templates|exists|{{{script|}}}}}|{{#invoke:scripts/templates|getByCode|{{{script}}}|getCanonicalName}}|{{uc: {{{script}}}}}}} script]]
| data12 =  [[w:{{#if: {{#invoke:scripts/templates|exists|{{{script|}}}}}|{{#invoke:scripts/templates|getByCode|{{{script}}}|getCanonicalName}}|{{ucfirst: {{{script}}}}}}} script|{{#invoke:scripts/templates|getByCode|{{{script}}}|getCanonicalName}}]]


| label13 = Sources
| label13 = Sources
Line 220: Line 214:


| label25 = [[w:Glottolog|Glottolog]]
| label25 = [[w:Glottolog|Glottolog]]
| data25 = {{#if:{{{glotto|}}}|{{#ifeq:{{lc:{{{glotto|}}}}}|none|''None''[[Category:Languages without Glottolog code]]|{{#ifeq:{{lc:{{{glotto|}}}}}|spurious|(insufficiently attested or not a distinct language){{main other|[[Category:Languages rejected by Glottolog]]}}|<code>{{glottolink|{{{glotto}}}}}</code>{{#if:{{{glottoname|}}}|&nbsp; {{nowrap|{{{glottoname}}}}}}}}}}}}}<!--
| data25 = {{#if:{{{glotto|}}}|<code>[http://glottolog.org/resource/languoid/id/{{{glotto|}}} {{{glotto|}}}]</code>{{#if:{{{glottoname|}}}|&nbsp; {{nowrap|{{{glottoname}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}|&nbsp; {{nowrap|{{{glottoname2}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>[http://glottolog.org/resource/languoid/id/{{{glotto2|}}} {{{glotto2|}}}]</code>{{#if:{{{glottoname2|}}}|&nbsp; {{nowrap|{{{glottoname2}}}}}}}}}
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}|&nbsp; {{nowrap|{{{glottoname3}}}}}}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}|&nbsp; {{nowrap|{{{glottoname4}}}}}}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}|&nbsp; {{nowrap|{{{glottoname5}}}}}}}}}


| label26 = [[w:IETF language tag|IETF]]
| label26 = [[w:IETF language tag|IETF]]
| data26 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>{{Main other|[[Category:Language articles with IETF language tag]]}}}}
| data26 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}


| data27 = {{#if:{{{map|}}}
| data27 = {{#if:{{{map|}}}
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}|
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; text-style: italics;">{{{mapcaption}}}</div>}}|
   }}
   }}


Navigation menu