Template:Infobox language: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(51 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | <!-- | ||
| bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize}}};}} | Turning on syntax highlighting is highly recommended for clarity | ||
-->{{Infobox | |||
| bodyclass = vevent | |||
| bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize|22em}}};}} | |||
| abovestyle = color: {{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|black| | | abovestyle = font-size:130%;<!-- | ||
| above = {{{name| | -->color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!-- | ||
-->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}}; | |||
| above = <includeonly>{{{name|Undetermined}}}</includeonly> | |||
| aboveclass = above | | aboveclass = above | ||
| | | subheaderstyle = font-size:110%;<!-- | ||
-->color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!-- | |||
-->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}}; | |||
| subheader1 = {{{altname|}}} | |||
| subheader2 = {{#tag: i|{{{nativename|}}}}} | |||
| subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}} | |||
| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=200px|alt={{{imagealt|}}}}} | ||
| | | captionstyle = padding:0.35em 0.35em 0.25em; font-weight:normal; font-size: 14px; | ||
| caption = {{{imagecaption|}}} | |||
| | | headerstyle = color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!-- | ||
-->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}}; | |||
| | <!---------------------------------------------------------> | ||
| labelstyle = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->; | |||
| datastyle = line-height:1.3em; | |||
| label1 = Pronunciation | | label1 = Pronunciation | ||
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation| | | data1 = {{#if: {{{pronunciation|}}}|{{#if: {{{pronunciation_key|}}}|[[{{{pronunciation_key}}}|{{IPA|[{{{pronunciation|to be added}}}]}}]]|[[w:Help:IPA|{{IPA|[{{{pronunciation|to be added}}}]}}]]}}}} | ||
| label2 = Created by | | label2 = Created by | ||
| data2 = {{{creator|–}}} | | data2 = {{#ifeq: {{str left|{{{creator|–}}}|4}}|User|[[{{{creator}}}|{{str right|{{{creator}}}|5}}]]|{{{creator|–}}}}} | ||
| | |||
| | | label3 = Date | ||
| | | data3 = {{{created|}}} | ||
| | |||
| | | label4 = Setting | ||
| | | data4 = {{{setting|}}} | ||
| | |||
| | | label5 = Native to | ||
| data5 = {{{states|{{{state|}}}}}} | |||
| | |||
| label6 = Ethnicity | |||
| data6 = {{{ethnicity|}}} | |||
| | |||
| | | label7 = {{#if: {{{extinct|}}}<!-- | ||
| | -->|[[w:Extinct language|Extinct]]<!-- | ||
-->|{{#if: {{{era|}}}<!-- | |||
-->|Era<!-- | |||
-->|{{{speakers_label|Native speakers}}}<!-- | |||
-->}}<!-- | |||
-->}} | |||
| data7 = {{#if: {{{extinct|}}}<!-- | |||
--> | -->|{{#ifeq: {{{extinct}}}|?<!-- | ||
-->|<small>(date missing)</small>[[Category:Language articles with unknown extinction date]]<!-- | |||
-->|{{{extinct}}}<!-- | |||
-->}}<!-- extinct input used | |||
-->|{{#if: {{{era|}}}<!-- | |||
-->|{{{era}}}<!-- era input used | |||
-->|{{#if: {{{speakers|}}}<!-- | |||
-->|{{#switch: {{lc: {{{date}}}}}<!-- | |||
-->|na={{{speakers|–}}}<!-- | |||
-->|no date=<small>(undated figure of {{{speakers}}})</small><!-- | |||
-->|{{{speakers}}} ({{{date}}})<!-- | |||
--> | -->}}<!-- | ||
-->|<!-- (no speakers number to be shown) | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#if: {{{speakers2|}}}|<br />{{{speakers2|}}}}} | |||
| label8 = {{#if:{{{revived|}}}|[[w:Language revitalization|Revival]]}} | |||
| data8 = {{{revived|}}} | |||
-->{{#if:{{{ | |||
| | | label9 = {{#if:{{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}||{{longitem|{{allow wrap|[[w:Language family|Language family]]}}}}}} | ||
| | | data9 = {{#if:{{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}||{{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{Infobox language/genetic|{{{familycolor|Default}}}}}}}}}}} | ||
<ul style="line-height:100%; margin-left:1.35em;padding-left:0"><li> | |||
{{#switch: {{lc: {{{familycolor|}}}}}|unclassified|isolate=|{{#if:{{{fam2|}}} | |||
| {{{fam2}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam3|}}} | |||
<ul style="line-height:100%; margin-left: | | {{{fam3}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam4|}}} | ||
{{# | | {{{fam4}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam5|}}} | ||
| {{{fam2}}}<ul style="line-height:100%; margin-left: | | {{{fam5}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam6|}}} | ||
| {{{fam3}}}<ul style="line-height:100%; margin-left: | | {{{fam6}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam7|}}} | ||
| {{{fam4}}}<ul style="line-height:100%; margin-left: | | {{{fam7}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam8|}}} | ||
| {{{fam5}}}<ul style="line-height:100%; margin-left: | | {{{fam8}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam9|}}} | ||
| {{{fam6}}}<ul style="line-height:100%; margin-left: | | {{{fam9}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam10|}}} | ||
| {{{fam7}}}<ul style="line-height:100%; margin-left: | | {{{fam10}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam11|}}} | ||
| {{{fam8}}}<ul style="line-height:100%; margin-left: | | {{{fam11}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam12|}}} | ||
| {{{fam9}}}<ul style="line-height:100%; margin-left: | | {{{fam12}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam13|}}} | ||
| {{{fam10}}}<ul style="line-height:100%; margin-left: | | {{{fam13}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam14|}}} | ||
| {{{fam11}}}<ul style="line-height:100%; margin-left: | | {{{fam14}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>{{#if:{{{fam15|}}} | ||
| {{{fam12}}}<ul style="line-height:100%; margin-left: | | {{{fam15}}}<ul style="line-height:100%;margin-left:0.45em;padding-left:0;"><li>'''{{{name|{{PAGENAME}}}}}'''</li></ul> | ||
| {{{fam13}}}<ul style="line-height:100%; margin-left: | |||
| {{{fam14}}}<ul style="line-height:100%; margin-left: | |||
| {{{fam15}}}<ul style="line-height:100%; margin-left: | |||
| '''{{{name|{{PAGENAME}}}}}''' | | '''{{{name|{{PAGENAME}}}}}''' | ||
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | }}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | ||
Line 103: | Line 109: | ||
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | }}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | ||
}}</li></ul> | }}</li></ul> | ||
}}}}}}}}}}} | }}</div>}}}} | ||
| | |||
| label10 = {{longitem|Early form{{#if:{{{ancestor2|}}}|s}}}} | |||
<ul style="line-height:100%; margin-left: | | data10 = {{#if:{{{protoname|}}}{{{ancestor|{{{ancestor1|}}}}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|{{{ancestor1}}}}}}}}} | ||
{{#if:{{{ancestor2|}}}|<ul style="line-height:100%; margin-left:1.35em; padding-left:0"><li>{{{ancestor2}}} | |||
{{#if:{{{ancestor3|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor3}}} | |||
{{#if:{{{ancestor4|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor4}}} | |||
{{#if:{{{ancestor5|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor5}}} | |||
{{#if:{{{ancestor6|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor6}}} | |||
{{#if:{{{ancestor7|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor7}}} | |||
{{#if:{{{ancestor8|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor8}}} | |||
</li></ul>}} | |||
</li></ul>}} | |||
}} | </li></ul>}} | ||
| | </li></ul>}} | ||
| | </li></ul>}} | ||
</li></ul>}} | |||
</li></ul>}} | |||
</div>}} | |||
| label11 = {{longitem|Standard form{{#if:{{{stand2|}}}|s}}}} | |||
| data11 = {{#if:{{{standards|}}}|{{{standards}}} | |||
|{{#if:{{{stand1|}}}| | |{{#if:{{{stand1|}}}| | ||
<div>{{{stand1|}}}</div> | <div>{{{stand1|}}}</div> | ||
Line 127: | Line 139: | ||
<div>{{{stand6|}}}</div> | <div>{{{stand6|}}}</div> | ||
}}}} | }}}} | ||
| | |||
| | | label12 = {{longitem|Dialect{{#if:{{{dia2|}}}|s}}}} | ||
| data12 = {{#if:{{{dialects|}}}|{{{dialects}}} | |||
|{{#if:{{{dia1|}}}| | |{{#if:{{{dia1|}}}| | ||
{{#if:{{{dia1|}}}|*{{{dia1}}}}} | |||
{{#if:{{{dia2|}}}|*{{{dia2}}}}} | |||
{{#if:{{{dia3|}}}|*{{{dia3}}}}} | |||
{{#if:{{{dia4|}}}|*{{{dia4}}}}} | |||
{{#if:{{{dia5|}}}|*{{{dia5}}}}} | |||
{{#if:{{{dia6|}}}|*{{{dia6}}}}} | |||
{{#if:{{{dia7|}}}|*{{{dia7}}}}} | |||
{{#if:{{{dia8|}}}|*{{{dia8}}}}} | |||
{{#if:{{{dia9|}}}|*{{{dia9}}}}} | |||
{{#if:{{{dia10|}}}|*{{{dia10}}}}} | |||
{{#if:{{{dia11|}}}|*{{{dia11}}}}} | |||
{{#if:{{{dia12|}}}|*{{{dia12}}}}} | |||
{{#if:{{{dia13|}}}|*{{{dia13}}}}} | |||
{{#if:{{{dia14|}}}|*{{{dia14}}}}} | |||
{{#if:{{{dia15|}}}|*{{{dia15}}}}} | |||
{{#if:{{{dia16|}}}|*{{{dia16}}}}} | |||
{{#if:{{{dia17|}}}|*{{{dia17}}}}} | |||
{{#if:{{{dia18|}}}|*{{{dia18}}}}} | |||
{{#if:{{{dia19|}}}|*{{{dia19}}}}} | |||
{{#if:{{{dia20|}}}|*{{{dia20}}}}} | |||
}}}} | }}}} | ||
| | | rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}} | ||
| label13 = {{longitem|{{allow wrap|[[w:Writing system|Writing system]]{{#if:{{{script2|}}}|s}}}}}} | |||
| data13 = {{#if: {{{scripts|}}}|{{{scripts}}}|{{#if: {{{script1|}}}|{{#if: {{#invoke:scripts/templates|exists|{{{script1}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script1}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script1}}}|getCanonicalName}}]]}}}} | |||
{{#if:{{{script2|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script2}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script2}}}|getCanonicalName}}]]}}}} | |||
{{#if:{{{script3|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script3}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script3}}}|getCanonicalName}}]]}}}} | |||
{{#if:{{{script4|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script4}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script4}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script4}}}|getCanonicalName}}]]}}}} | |||
{{#if:{{{script5|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script5}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script5}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script5}}}|getCanonicalName}}]]}}}}}} | |||
| | | label14 = Sources | ||
| | | data14 = {{{posteriori|}}} | ||
| | |||
| | <!---------------------------------------------------------> | ||
| | | header15 = {{#if:{{{nation|}}}{{{official|}}}{{{minority|}}}{{{agency|}}}{{{development_body|}}}|Official status}} | ||
| | |||
| | | label16 = {{longitem|Official language in}} | ||
| data16 = {{{nation|{{{official|}}}}}} | |||
| label17 = {{longitem|class=nowrap|Recognised minority<br />language in}} | |||
| | | data17 = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}} | ||
| | |||
| label18 = Regulated by | |||
|{{{ | | data18 = {{{agency|}}} | ||
|{{{ | |||
| | | label19 = Development body | ||
| data19 = {{{development_body|}}} | |||
<!---------------------------------------------------------> | |||
|{{ | | header20 = {{#if:{{{iso1|}}}{{{iso2|}}}{{{iso3|}}}{{{clcr|}}}{{{brcl|}}}{{{glotto|}}}{{{glotto2|}}}{{{ietf|}}}|Language codes}} | ||
|{{ | |||
| label21 = {{nowrap|[[w:ISO 639-1|ISO 639-1]]}} | |||
| data21 = {{#if: {{{iso1|}}}|<code class="plainlinks">[https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1={{{iso1}}} {{{iso1}}}]</code> {{{iso1comment|}}}}} | |||
|{{{ | |||
| label22 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}} | |||
| data22 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}} | |||
|{{{ | |||
|{{{ | | label23 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}} | ||
|{{{ | | data23 = {{#if:{{{iso3|}}}|<code class="plainlinks">[https://iso639-3.sil.org/code/{{{iso3}}} {{{iso3}}}]</code> {{{iso3comment|}}}}} | ||
| | |||
| label24 = <span class="plainlinks">{{nowrap|[https://www.kreativekorp.com/clcr/ CLCR]}}</span> | |||
| data24 = {{#if:{{{clcr|}}}|<code>{{{clcr}}}</code>}} | |||
|{{ | |||
| label25 = [[w:Glottolog|Glottolog]] | |||
| data25 = {{#if:{{{glotto|}}}|<code>[http://glottolog.org/resource/languoid/id/{{{glotto|}}} {{{glotto|}}}]</code>{{#if:{{{glottoname|}}}| {{nowrap|{{{glottoname}}}}}}}}}<!-- | |||
|{{ | -->{{#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|}}}| {{nowrap|{{{glottoname2}}}}}}}}} | ||
| label26 = <span class="plainlinks">[https://conworkshop.com/ ConWorkShop]</span> | |||
|{{ | | data26 = {{#if:{{{cws|}}}|<code>[https://conworkshop.com/view_language.php?l={{{cws}}} {{{cws}}}]</code>}} | ||
|{{{ | |||
| label27 = [[w:IETF language tag|IETF]] | |||
| data27 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}} | |||
| label28 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span> | |||
| data28 = {{#if:{{{brcl|}}}|<code>{{{brcl}}}</code>}} | |||
|{{{ | |||
| data29 = {{#if:{{{map|}}} | |||
|{{{ | |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}|center=yes}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption}}}</div>}}| | ||
|{{{ | }} | ||
| data30 = {{#if:{{{map2|}}} | |||
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}|center=yes}}{{#if:{{{mapcaption2|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption2}}}</div>}} | |||
|{{ | }} | ||
|{{{ | |||
| data31 = {{{module|}}} | |||
<!---------------------------------------------------------> | |||
| belowclass = noprint selfref | |||
| belowstyle = background-color:#E7E7FF;padding:0.3em 0.5em;text-align:left;line-height:1.3; | |||
| | | below = {{#ifeq:{{lc:{{{notice|{{{notice2|}}}}}}}}|ipa | ||
|<small>'''This article contains [[w:International Phonetic Alphabet|IPA]] phonetic symbols.''' Without proper [[w:Help:IPA#Rendering issues|rendering support]], you may see [[w:Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]] instead of [[w:Unicode|Unicode]] characters. For an introductory guide on IPA symbols, see [[w:Help:IPA|Help:IPA]].</small> | |||
}} | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}} | ||
</noinclude> |
Latest revision as of 19:09, 13 January 2025
Created by | – |
---|---|
Default
|
- This template lacks a documentation subpage. Please create it.
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox (diff)