Template:Language: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 3: Line 3:
| title      = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
| title      = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
| above      = {{#if:{{{NativeName}}}{{{nativename}}}|{{{NativeName|}}}{{{nativename|}}}}}{{#if:{{{date|}}}|to {{{date}}}}}
| above      = {{#if:{{{NativeName}}}{{{nativename}}}|{{{NativeName|}}}{{{nativename|}}}}}{{#if:{{{date|}}}|to {{{date}}}}}
| 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}}} }} }} }};
| aboveclass = fn org
| 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}}} }} }} }};
| abovestyle = background-color: {{Infobox language/family-color|{{{LangFamily|{{{fam1|}}}|Default}}} }};
| subheaderstyle = font-size:110%; background-color: {{Infobox language/family-color|{{{LangFamily|{{{fam1|}}}|Default}}} }};
| subheader1 = {{{altname|}}}
| subheader1 = {{{altname|}}}
| image      = {{#if:{{{Logo|}}}|{{{Logo}}}}}
| subheader2 = {{{altname2|}}}
| caption    = {{#if:{{{caption|}}}|{{{caption}}}}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{Logo|}}}{{{logo|}}}{{{image|}}}|{{{Logo|{{{logo|}}}{{{image}}}}}}}}|upright={{#if:{{{imagescale|}}}|{{{imagescale|}}}|0.9}}|alt={{{imagealt|}}}}}
| caption    = {{#if:{{{caption|}}}{{{imagecaption|}}}|{{{caption|{{{imagecaption}}}}}}}}


| 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}}}}}}}}};
| headerstyle = background-color: {{Infobox language/family-color|{{{LangFamily|{{{fam1|}}}|Default}}}}};


| label1    = Pronunciation
| label1    = Pronunciation
| data1      = {{{Pronunciation|}}}
| data1      = {{{Pronunciation|{{{pronunciation|}}}}}}
| label2    = Spoken natively in
| label2    = Spoken natively in
| data2      = {{#if:{{{NationSpoken|}}}{{{states|}}}{{{state|}}}|{{{NationSpoken|}}}{{{states|}}}{{{state|}}}}}
| data2      = {{#if:{{{NationSpoken|}}}{{{states|}}}{{{state|}}}|{{{NationSpoken|}}}{{{states|}}}{{{state|}}}}}
Line 28: Line 30:
| data5      = {{#if:{{{Speakers|}}}{{{speakers|}}}|{{{Speakers|{{{speakers|}}}}}}}}
| data5      = {{#if:{{{Speakers|}}}{{{speakers|}}}|{{{Speakers|{{{speakers|}}}}}}}}
| label6    = Language family
| label6    = Language family
| data6      = {{#ifeq: {{lc:{{{LangFamily}}}}}|na||<div style="text-align:left;">{{{LangFamily|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
| data6      = {{{LangFamily|{{{fam1|}}}}}}
  |''Unknown''{{main other|[[Category:Languages without classification]]}}
  |{{#if:{{{creator|}}}{{{setting|}}}
    |[[Constructed language]]
    |{{{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|}}}
{{#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 65: Line 61:
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}</li></ul>| '''{{{Name|{{{name|{{PAGENAME}}}}}}}}'''
}}
}}</li></ul>
}}}}}}}}</li></ul>}}}</div>}}
</div>
| label7    = Writing system
| label7    = Writing system
| data7      = {{#if:{{{WritingSystem|}}}{{{script|}}}|{{{WritingSystem|{{{script}}}}}}}}
| data7      = {{#if:{{{WritingSystem|}}}{{{script|}}}|{{{WritingSystem|{{{script}}}}}}}}
Line 97: Line 93:
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
}}}}
}}}}
<!--------------------------------------------------------->
| header11   = {{#if:{{{NationOfficial|}}}|Official status}}
| header11 = {{#if:{{{nation|}}}{{{official|}}}{{{minority|}}}{{{agency|}}}{{{development_body|}}}|Official status}}
| label12    = Official language in
| label12    = Official language in
| data12    = {{{NationOfficial|}}}
| data12    = {{#if:{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}|{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}}}
| label13    = {{longitem|class=nowrap|Recognised minority<br />language&nbsp;in}}
| label13    = {{longitem|class=nowrap|Recognised minority<br />language&nbsp;in}}
| data13    = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}
| data13    = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}
| label14    = Regulated by
| label14    = Regulated by
| data14    = {{{LangRegulator|}}}
| data14    = {{#if:{{{LangRegulator|}}}{{{agency|}}}{{{development_body|}}}|{{{LangRegulator|}}}{{{agency|}}}{{{development_body|}}}}}
| label15   = [[Micras Organisation for Standardisation|MOS-9]] codes
| header15  = {{#if:{{{ISO639Codes|}}}|Language codes}}
| data15     = {{{ISO639Codes|}}}
| label16   = [[Micras Organisation for Standardisation|MOS-9]] codes
| data16     = {{{ISO639Codes|}}}
 
| data17 = {{#if:{{{map|}}}
  |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|upright={{#if:{{{mapscale|}}}|{{{mapscale|}}}|1.45}}|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}|
  }}
 
| data18 = {{#if:{{{map2|}}}
  | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|upright={{#if:{{{mapscale|}}}|{{{mapscale|}}}|1.45}}|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
  }}
 
| data19 = {{{module|}}}
 
<!--
| belowclass = noprint selfref
| belowstyle = background-color:#E7E7FF;color:inherit;padding:0.3em 0.5em;text-align:left;line-height:1.3;
| below = {{#ifeq:{{lc:{{{notice|{{{notice2|}}}}}}}}|ipa
  |'''This article contains [[wikipedia:International Phonetic Alphabet|IPA]] phonetic symbols.''' Without proper [[wikipedia:Help:IPA#Rendering issues|rendering support]], you may see [[wikipedia:Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]] instead of [[wikipedia:Unicode|Unicode]] characters. For an introductory guide on IPA symbols, see [[wikipedia:Help:IPA|Help:IPA]].
  }}
-->
}}<noinclude>
}}<noinclude>
<noinclude>[[Category: Language templates]] [[Category: Infobox templates]]</noinclude>
<noinclude>[[Category: Language templates]] [[Category: Infobox templates]]</noinclude>
[[Category: Languages]]
[[Category: Languages]]

Latest revision as of 01:49, 29 October 2024

Language family
  • Language