Template:Language: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(15 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: {{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}; background-color: {{Infobox language/family-color|{{{familycolor|Default}}} }};
| aboveclass = fn org
| subheaderstyle = font-size:110%; color: {{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}} background-color: {{Infobox language/family-color|{{{familycolor|Default}}} }};
| abovestyle = background-color: {{Infobox language/family-color|{{{LangFamily|{{{fam1|}}}|Default}}} }};
| subheader = {{{altname|}}}
| subheaderstyle = font-size:110%; background-color: {{Infobox language/family-color|{{{LangFamily|{{{fam1|}}}|Default}}} }};
| image      = {{#if:{{{Logo|}}}|{{{Logo}}}}}
| subheader1 = {{{altname|}}}
| caption    = {{#if:{{{caption|}}}|{{{caption}}}}}
| 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 = color: {{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}; background-color: {{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''
  |{{#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  = Official status
| header11  = {{#if:{{{NationOfficial|}}}|Official status}}
| label12    = Official language in
| label12    = Official language in
| data12    = {{#if:{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}|{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}}}
| data12    = {{#if:{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}|{{{NationOfficial|}}}{{{nation|}}}{{{official|}}}}}
Line 107: Line 103:
| label16    = [[Micras Organisation for Standardisation|MOS-9]] codes
| label16    = [[Micras Organisation for Standardisation|MOS-9]] codes
| data16    = {{{ISO639Codes|}}}
| 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