Template:Language: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(45 intermediate revisions by 3 users not shown)
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 = fn org
| image      = {{#if:{{{Logo|}}}|{{{Logo}}}}}
| abovestyle = background-color: {{Infobox language/family-color|{{{LangFamily|{{{fam1|}}}|Default}}} }};
| caption    = {{#if:{{{caption|}}}|{{{caption}}}}}
| subheaderstyle = font-size:110%; background-color: {{Infobox language/family-color|{{{LangFamily|{{{fam1|}}}|Default}}} }};
| subheader1 = {{{altname|}}}
| subheader2 = {{{altname2|}}}
| 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 = 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 24: Line 30:
| data5      = {{#if:{{{Speakers|}}}{{{speakers|}}}|{{{Speakers|{{{speakers|}}}}}}}}
| data5      = {{#if:{{{Speakers|}}}{{{speakers|}}}|{{{Speakers|{{{speakers|}}}}}}}}
| label6    = Language family
| label6    = Language family
| data6      = {{#ifeq: {{lc:{{{LangFamily|}}}{{{family}}}}}|na|{{{LangFamily|}}}|<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]]
    |{{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|}}}
{{#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 62: Line 62:
}}</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|}}}|{{{WritingSystem|}}}{{{script|}}}}}
| data7      = {{#if:{{{WritingSystem|}}}{{{script|}}}|{{{WritingSystem|{{{script}}}}}}}}
| label8    = Source
| label8    = Source
| data8      = {{{Source|}}}
| data8      = {{{Source|}}}
Line 93: Line 93:
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
}}}}
}}}}
| label11    = Official language in
| header11  = {{#if:{{{NationOfficial|}}}|Official status}}
| data11      = {{{NationOfficial|}}}
| label12    = Official language in
| label12   = Regulated by
| data12    = {{#if:{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}|{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}}}
| data12     = {{{LangRegulator|}}}
| label13    = {{longitem|class=nowrap|Recognised minority<br />language&nbsp;in}}
| label13   = [[wikipedia:ISO 639|ISO 639]] codes
| data13    = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}
| data13     = {{{ISO639Codes|}}}
| label14   = Regulated by
| data14     = {{#if:{{{LangRegulator|}}}{{{agency|}}}{{{development_body|}}}|{{{LangRegulator|}}}{{{agency|}}}{{{development_body|}}}}}
| header15  = {{#if:{{{ISO639Codes|}}}|Language codes}}
| 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