Template:Language: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
| bodyclass  = vcard
| bodyclass  = vcard
| title      = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
| title      = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
| above      = {{#if:{{{NativeName|}}}|{{{NativeName}}}}}{{#if:{{{date|}}}|to {{{date}}}}}
| above      = {{#if:{{{NativeName|}}}{{{nativename|}}}|{{{NativeName}}}{{{nativename}}}}}{{#if:{{{date|}}}|to {{{date}}}}}
| aboveclass = fn org
| aboveclass = font-size:110%; color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|#114057|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|#114057|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }};
| subheaderstyle = font-size:110%; color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|#114057|1}}|white|{{{fontcolor|black}}} }}; background-color: {{#if:{{{creator|}}}{{{setting|}}}|#114057|{{#if:{{{signers|}}}|silver|{{Infobox language/family-color|{{{familycolor|Default}}} }} }} }};
| subheader1 = {{{altname|}}}
| image      = {{#if:{{{Logo|}}}|{{{Logo}}}}}
| image      = {{#if:{{{Logo|}}}|{{{Logo}}}}}
| caption    = {{#if:{{{caption|}}}|{{{caption}}}}}
| caption    = {{#if:{{{caption|}}}|{{{caption}}}}}
| headerstyle = color: {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}|white|{{{fontcolor|black}}}}}; background-color: {{#if:{{{signers|}}}|silver|{{#if:{{{creator|}}}{{{setting|}}}|#114057|{{Infobox language/family-color|{{{familycolor|Default}}}}}}}}};


| label1    = Pronunciation
| label1    = Pronunciation
Line 24: Line 28:
| data5      = {{#if:{{{Speakers|}}}{{{speakers|}}}|{{{Speakers|{{{speakers|}}}}}}}}
| data5      = {{#if:{{{Speakers|}}}{{{speakers|}}}|{{{Speakers|{{{speakers|}}}}}}}}
| label6    = Language family
| label6    = Language family
| data6      = {{{LangFamily|{{{fam1|}}}}}}
| data6      = {{#ifeq: {{lc:{{{LangFamily}}}}}|na||<div style="text-align:left;">{{{LangFamily|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
  |''Unknown''{{main other|[[Category:Languages without classification]]}}
  |{{#if:{{{creator|}}}{{{setting|}}}
    |[[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>
{{#if:{{{fam2|}}}
{{#ifeq:{{{familycolor|}}}|unclassified||{{#ifeq:{{{familycolor|}}}|Unclassified||{{#ifeq:{{{familycolor|}}}|isolate||{{#ifeq:{{{familycolor|}}}|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 55: Line 65:
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}</li></ul>
}}
</div>
}}}}}}}}</li></ul>}}}</div>}}
| label7    = Writing system
| label7    = Writing system
| data7      = {{#if:{{{WritingSystem|}}}{{{script|}}}|{{{WritingSystem|{{{script}}}}}}}}
| data7      = {{#if:{{{WritingSystem|}}}{{{script|}}}|{{{WritingSystem|{{{script}}}}}}}}
Line 87: Line 97:
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
}}}}
}}}}
| label11    = Official language in
<!--------------------------------------------------------->
| data11      = {{{NationOfficial|}}}
| header11 = {{#if:{{{nation|}}}{{{official|}}}{{{minority|}}}{{{agency|}}}{{{development_body|}}}|Official status}}
| label12   = Regulated by
| label12    = Official language in
| data12     = {{{LangRegulator|}}}
| data12    = {{{NationOfficial|}}}
| label13   = [[Micras Organisation for Standardisation|MOS-9]] codes
| label13    = {{longitem|class=nowrap|Recognised minority<br />language&nbsp;in}}
| data13     = {{{ISO639Codes|}}}
| data13    = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}
| label14   = Regulated by
| data14     = {{{LangRegulator|}}}
| label15   = [[Micras Organisation for Standardisation|MOS-9]] codes
| data15     = {{{ISO639Codes|}}}
}}<noinclude>
}}<noinclude>
<noinclude>[[Category: Language templates]] [[Category: Infobox templates]]</noinclude>
<noinclude>[[Category: Language templates]] [[Category: Infobox templates]]</noinclude>
[[Category: Languages]]
[[Category: Languages]]

Revision as of 14:04, 4 August 2023

Language family