User:Sware/Template:infobox language: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(35 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{#vardefine: black|<!-- | ||
Turning on syntax highlighting is highly recommended for clarity | |||
-->{{Infobox | |||
| bodyclass = vevent | | bodyclass = vevent | ||
| bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize}}};}} | | bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize}}};}} | ||
| abovestyle = font-size:130%; color: {{#if: | | abovestyle = font-size:130%;<!-- | ||
| above = <includeonly>{{{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: | | 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|}}} | | subheader1 = {{{altname|}}} | ||
| subheader2 = {{{nativename|}}} | | subheader2 = {{#tag: i|{{{nativename|}}}}} | ||
| subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}} | | subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}} | ||
Line 16: | Line 22: | ||
| caption = {{{imagecaption|}}} | | caption = {{{imagecaption|}}} | ||
| headerstyle = color: {{#if: | | headerstyle = color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!-- | ||
-->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}}; | |||
<!---------------------------------------------------------> | <!---------------------------------------------------------> | ||
Line 23: | Line 30: | ||
| label1 = Pronunciation | | label1 = Pronunciation | ||
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''to be added''}}}}} | | data1 = {{#if: {{{pronunciation|}}}|{{IPA-all|{{{pronunciation|''to be added''}}}|||{{{pronunciation_key|}}}}}}} | ||
| label2 = | | label2 = Created by | ||
| data2 = {{{creator|–}}} | |||
| data2 = | |||
| label3 = Date | | label3 = Date | ||
| data3 = {{{created|}}} | | data3 = {{{created|}}} | ||
| label4 = | | label4 = Setting | ||
| data4 = {{{setting|}}} | |||
| data4 = | |||
| | | label5 = Ethnicity | ||
| | | data5 = {{{ethnicity|}}} | ||
| | | label6 = {{#if: {{{extinct|}}}<!-- | ||
-->|[[w:Extinct language|Extinct]]<!-- | |||
--> | -->|{{#if: {{{era|}}}<!-- | ||
-->|Era<!-- | |||
-->|{{{speakers_label|Native speakers}}}<!-- | |||
-->}}<!-- | |||
-->}} | |||
| data6 = {{#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|}}}}} | ||
-->{{#if:{{{speakers2|}}}|<br />{{{speakers2|}}} }} | |||
| | | label7 = {{#if:{{{revived|}}}|[[w:Language revitalization|Revival]]}} | ||
| | | data7 = {{{revived|}}} | ||
| | | label8 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Language family|Language family]]}}}} | ||
| data8 = {{#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> | <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|}}} | | {{{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 122: | Line 106: | ||
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | }}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | ||
}}</li></ul> | }}</li></ul> | ||
}}</div>}} | |||
| | | label9 = {{User:Sware/Template:longitem|Early form{{#if:{{{ancestor2|}}}|s}}}} | ||
| | | data9 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}} | ||
{{#if:{{{ancestor2|}}}|<ul style="line-height:100%; margin-left:1.35em; padding-left:0"><li>{{{ancestor2}}} | {{#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:{{{ancestor3|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor3}}} | ||
Line 142: | Line 126: | ||
</div>}} | </div>}} | ||
| | | label10 = {{User:Sware/Template:longitem|Standard form{{#if:{{{stand2|}}}|s}}}} | ||
| | | data10 = {{#if:{{{standards|}}}|{{{standards}}} | ||
|{{#if:{{{stand1|}}}| | |{{#if:{{{stand1|}}}| | ||
<div>{{{stand1|}}}</div> | <div>{{{stand1|}}}</div> | ||
Line 153: | Line 137: | ||
}}}} | }}}} | ||
| | | label11 = {{User:Sware/Template:longitem|Dialect{{#if:{{{dia2|}}}|s}}}} | ||
| | | data11 = {{#if:{{{dialects|}}}|{{{dialects}}} | ||
|{{#if:{{{dia1|}}}| | |{{#if:{{{dia1|}}}| | ||
{{#if:{{{dia1|}}}|*{{{dia1}}}}} | {{#if:{{{dia1|}}}|*{{{dia1}}}}} | ||
Line 177: | Line 161: | ||
{{#if:{{{dia20|}}}|*{{{dia20}}}}} | {{#if:{{{dia20|}}}|*{{{dia20}}}}} | ||
}}}} | }}}} | ||
| | | rowclass11 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}} | ||
| | | label12 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]{{#if:{{{script2|}}}|s}}}}}} | ||
| | | data12 = {{#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}}]]}}}} | |||
| | | label13 = Sources | ||
| data13 = {{{posteriori|}}} | |||
| | |||
<!---------------------------------------------------------> | <!---------------------------------------------------------> | ||
| | | header14 = {{#if:{{{nation|}}}{{{official|}}}{{{minority|}}}{{{agency|}}}{{{development_body|}}}|Official status}} | ||
| | | label15 = {{User:Sware/Template:longitem|Official language in}} | ||
| | | data15 = {{{nation|{{{official|}}}}}} | ||
| | | label16 = {{User:Sware/Template:longitem|class=nowrap|Recognised minority<br />language in}} | ||
| | | data16 = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}} | ||
| | | label17 = Regulated by | ||
| | | data17 = {{{agency|}}} | ||
| | | label18 = Development body | ||
| | | data18 = {{{development_body|}}} | ||
<!---------------------------------------------------------> | <!---------------------------------------------------------> | ||
| | | header19 = {{#if:{{{iso1|}}}{{{iso2|}}}{{{iso3|}}}{{{clcr|}}}{{{brcl|}}}{{{glotto|}}}{{{glotto2|}}}{{{ietf|}}}|Language codes}} | ||
| | | label20 = {{nowrap|[[w:ISO 639-1|ISO 639-1]]}} | ||
| | | data20 = {{#if: {{{iso1|}}}|<code class="plainlinks">[https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1={{{iso1}}} {{{iso1}}}]</code> {{{iso1comment|}}}}} | ||
| | | label21 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}} | ||
| | | data21 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}} | ||
| | | label22 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}} | ||
| | | data22 = {{#if:{{{iso3|}}}|<code class="plainlinks">[https://iso639-3.sil.org/code/{{{iso3}}} {{{iso3}}}]</code> {{{iso3comment|}}}}} | ||
| | | label23 = <span class="plainlinks">{{nowrap|[https://www.kreativekorp.com/clcr/ CLCR]}}</span> | ||
| data23 = {{#if:{{{clcr|}}}|<code>{{{clcr}}}</code>}} | |||
| | | label24 = [[w:Glottolog|Glottolog]] | ||
| | | data24 = {{#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}}}}}}}}} | |||
| | | label25 = <span class="plainlinks">[https://conworkshop.com/ ConWorkShop]</span> | ||
| | | data25 = {{#if:{{{cws|}}}|<code>[https://conworkshop.com/view_language.php?l={{{cws}}} {{{cws}}}]</code>}} | ||
| | | label26 = [[w:IETF language tag|IETF]] | ||
| | | data26 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}} | ||
| | | label27 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span> | ||
| | | data27 = {{#if:{{{brcl|}}}|<code>{{{brcl}}}</code>}} | ||
| | | data28 = {{#if:{{{map|}}} | ||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align: | |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption}}}</div>}}| | ||
}} | }} | ||
| | | data29 = {{#if:{{{map2|}}} | ||
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align: | | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption2}}}</div>}} | ||
}} | }} | ||
| | | data30 = {{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}}{{{coords|}}} }}| | ||
{{location map|{{{pushpin_map|}}} | {{location map|{{{pushpin_map|}}} | ||
|coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} | |coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} | ||
Line 345: | Line 237: | ||
|position = {{{pushpin_label_position|}}} | |position = {{{pushpin_label_position|}}} | ||
}} }} | }} }} | ||
| | | data31 = {{#if:{{if empty|{{{coordinates|}}}|{{{coords|}}}}} |Coordinates: {{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|}}}}}}|type:landmark}}| }} | ||
| | | data32 = {{{module|}}} | ||
<!---------------------------------------------------------> | <!---------------------------------------------------------> | ||
Line 353: | Line 245: | ||
| belowstyle = background-color:#E7E7FF;padding:0.3em 0.5em;text-align:left;line-height:1.3; | | belowstyle = background-color:#E7E7FF;padding:0.3em 0.5em;text-align:left;line-height:1.3; | ||
| below = {{#ifeq:{{lc:{{{notice|{{{notice2|}}}}}}}}|ipa | | below = {{#ifeq:{{lc:{{{notice|{{{notice2|}}}}}}}}|ipa | ||
|'''This article contains [[International Phonetic Alphabet|IPA]] phonetic symbols.''' Without proper [[Help:IPA#Rendering issues|rendering support]], you may see [[Specials (Unicode block)#Replacement character|question marks, boxes, or other symbols]] instead of [[Unicode]] characters. For an introductory guide on IPA symbols, see [[Help: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> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:27, 4 July 2021
{{#vardefine: black|
Created by | – |
---|---|
User:Sware/Template:longitem | Default
|
- This user page lacks a documentation subpage. Please create it.
- Useful links: root page • root page’s subpages • links • redirects • transclusions