Template:Infobox language: Difference between revisions
Jump to navigation
Jump to search
Copied from https://micronations.wiki/wiki/Template:Infobox_language Tag: Reverted |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
| subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}} | | subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{#if:{{{imagescale|}}}|{{{imagescale|}}}|0.9}}|alt={{{imagealt|}}}}} | ||
| captionstyle = padding:0.35em 0.35em 0.25em;line-height:1.25em; | | captionstyle = padding:0.35em 0.35em 0.25em;line-height:1.25em; | ||
| caption = {{{imagecaption|}}} | | caption = {{{imagecaption|}}} | ||
Line 49: | Line 49: | ||
| data6 = {{{ethnicity|}}} | | data6 = {{{ethnicity|}}} | ||
| label7 = {{#if:{{{extinct|}}} |[[ | | label7 = {{#if:{{{extinct|}}} |[[Extinct language|Extinct]] |{{#if:{{{era|}}} |Era |{{#if:{{{creator|{{{speakers_label|}}}}}} |{{{speakers_label|Users}}} |{{longitem|Native speakers}} }} }} }} | ||
| data7 =<!-- | | data7 =<!-- | ||
-->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date missing)[[Category:Language articles with unknown extinction date]]|{{{extinct}}}}}<!-- extinct input used | -->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date missing)[[Category:Language articles with unknown extinction date]]|{{{extinct}}}}}<!-- extinct input used | ||
Line 82: | Line 82: | ||
| label9 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}} | | label9 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}} | ||
|Purpose | |Purpose | ||
|{{longitem|{{ | |{{longitem|{{Wrap|[[wikipedia:Language family|Language family]]}}}} | ||
}} | }} | ||
| data9 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}} | | data9 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}} | ||
Line 121: | Line 121: | ||
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | }}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | ||
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | }}</li></ul>| '''{{{name|{{PAGENAME}}}}}''' | ||
}} | }} | ||
}}}}}}}}}}}</div>}} | }}}}}}}}</li></ul>}}}</div>}} | ||
| label10 = {{longitem|{{#if:{{{ancestor2|}}}|Early forms|Early form}}}} | | label10 = {{longitem|{{#if:{{{ancestor2|}}}|Early forms|Early form}}}} | ||
Line 133: | Line 133: | ||
{{#if:{{{ancestor7|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor7}}} | {{#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}}} | {{#if:{{{ancestor8|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor8}}} | ||
{{#if:{{{ancestor9|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor9}}} | |||
{{#if:{{{ancestor10|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor10}}} | |||
{{#if:{{{ancestor11|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor11}}} | |||
{{#if:{{{ancestor12|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor12}}} | |||
{{#if:{{{ancestor13|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor13}}} | |||
{{#if:{{{ancestor14|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor14}}} | |||
{{#if:{{{ancestor15|}}}|<ul style="line-height:100%; margin-left:0.45em; padding-left:0"><li>{{{ancestor15}}} | |||
</li></ul>}} | |||
</li></ul>}} | |||
</li></ul>}} | |||
</li></ul>}} | |||
</li></ul>}} | |||
</li></ul>}} | |||
</li></ul>}} | |||
</li></ul>}} | </li></ul>}} | ||
</li></ul>}} | </li></ul>}} | ||
Line 178: | Line 192: | ||
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}} | | rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}} | ||
| label13 = {{longitem|{{ | | label13 = {{longitem|{{Wrap|[[wikipedia:Writing system|Writing system]]}}}} | ||
| data13 = {{#switch: {{lc:{{{script|}}}}} | | data13 = {{#switch: {{lc:{{{script|}}}}} | ||
| latin | | latin | ||
Line 184: | Line 198: | ||
| latin alphabet | | latin alphabet | ||
| [[latin alphabet]] | | [[latin alphabet]] | ||
| [[latin alphabet|latin]] = [[ | | [[latin alphabet|latin]] = [[Latin script|Latin]] | ||
| #default = {{{script|}}} | | #default = {{{script|}}} | ||
}} | }} | ||
| label14 = {{longitem|{{ | | label14 = {{longitem|{{Wrap|[[Manually coded language|Signed forms]]}}}} | ||
| data14 = {{#if:{{{sign|}}}|{{{sign}}}}} | | data14 = {{#if:{{{sign|}}}|{{{sign}}}}} | ||
Line 212: | Line 226: | ||
| data20 = {{{development_body|}}} | | data20 = {{{development_body|}}} | ||
<!-- | | label36 = <!--keeps ELP entries aligned--> | ||
| | | data36 = {{#if:{{{ELP2|}}}|[https://www.endangeredlanguages.com/lang/{{{ELP2}}} {{{ELPname2}}}]{{#tag:ref|[https://www.endangeredlanguages.com/lang/{{{ELP2|}}} Endangered Languages Project data for {{{ELPname2}}}].|name="ELP2"}}[[Category:Language articles with manual ELP links]]}} | ||
| | |||
| | | label37 = | ||
| data37 = {{#if:{{{ELP3|}}}|[https://www.endangeredlanguages.com/lang/{{{ELP3}}} {{{ELPname3}}}]{{#tag:ref|[https://www.endangeredlanguages.com/lang/{{{ELP3|}}} Endangered Languages Project data for {{{ELPname3}}}].|name="ELP3"}}[[Category:Language articles with manual ELP links]]}} | |||
| | |||
| | |||
| | | label38 = | ||
| | | data38 = {{#if:{{{ELP4|}}}|[https://www.endangeredlanguages.com/lang/{{{ELP4}}} {{{ELPname4}}}]{{#tag:ref|[https://www.endangeredlanguages.com/lang/{{{ELP4|}}} Endangered Languages Project data for {{{ELPname4}}}].|name="ELP4"}}[[Category:Language articles with manual ELP links]]}} | ||
| | | label39 = | ||
| | | data39 = {{#if:{{{ELP5|}}}|[https://www.endangeredlanguages.com/lang/{{{ELP5}}} {{{ELPname5}}}]{{#tag:ref|[https://www.endangeredlanguages.com/lang/{{{ELP5|}}} Endangered Languages Project data for {{{ELPname5}}}].|name="ELP5"}}[[Category:Language articles with manual ELP links]]}} | ||
| | | label40 = | ||
| data40 = {{#if:{{{ELP6|}}}|[https://www.endangeredlanguages.com/lang/{{{ELP6}}} {{{ELPname6}}}]{{#tag:ref|[https://www.endangeredlanguages.com/lang/{{{ELP6|}}} Endangered Languages Project data for {{{ELPname6}}}].|name="ELP6"}}[[Category:Language articles with manual ELP links]]}} | |||
| label41 = [[Glottopedia]] | | label41 = [[Glottopedia]] | ||
Line 306: | Line 251: | ||
| data44 = {{#if:{{{map|}}} | | data44 = {{#if:{{{map|}}} | ||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}| | |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|upright={{#if:{{{mapscale|}}}|{{{mapscale|}}}|1.45}}|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}| | ||
}} | }} | ||
| data45 = {{#if:{{{map2|}}} | | data45 = {{#if:{{{map2|}}} | ||
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}| | | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|upright={{#if:{{{mapscale|}}}|{{{mapscale|}}}|1.45}}|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}} | ||
}} | }} | ||
| data46 = {{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}}{{{coords|}}} }}| | | data46 = {{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}}{{{coords|}}} }}| | ||
Line 332: | Line 277: | ||
<!---------------------------------------------------------> | <!---------------------------------------------------------> | ||
| belowclass = noprint selfref | | belowclass = noprint selfref | ||
| belowstyle = background-color:#E7E7FF;padding:0.3em 0.5em;text-align:left;line-height:1.3; | | belowstyle = background-color:#E7E7FF;color:inherit;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]]. | |'''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]]. | ||
Line 343: | Line 288: | ||
-->{{main other|<!-- | -->{{main other|<!-- | ||
-->{{#if:{{Infobox language/family-color|{{{familycolor|}}}}}{{{signers|}}}{{{creator|}}}||[[Category:Languages without family color codes]]}}<!-- | -->{{#if:{{Infobox language/family-color|{{{familycolor|}}}}}{{{signers|}}}{{{creator|}}}||[[Category:Languages without family color codes]]}}<!-- | ||
--> | --><!-- | ||
-->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}|[[Category:Conlangs without ISO 639-3 code]]}}}}<!-- | -->{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|#114057|1}}|[[Category:Conlangs without ISO 639-3 code]]}}}}<!-- | ||
-->{{#if:{{{date|}}}|{{#iferror: {{#expr: {{padleft:|4|{{{date}}}|}} }} |<!-- | -->{{#if:{{{date|}}}|{{#iferror: {{#expr: {{padleft:|4|{{{date}}}|}} }} |<!-- | ||
Line 360: | Line 304: | ||
|}}}}}}<!-- | |}}}}}}<!-- | ||
-->{{#ifeq:{{{iso3|}}}|none|{{#if:{{{glotto|}}}|<!--ok-->|{{#if:{{{linglist|}}}|<!--ok-->|{{#if:{{{lingua|}}}|<!--ok-->|{{#if:{{{aiatsis|}}}|<!--ok-->|{{#if:{{{guthrie|}}}|<!--ok-->|{{#if:{{{creator|}}}|<!--ok-->|{{#if:{{{created|}}}|<!--ok-->|[[Category:Languages without ISO 639-3 code]]}}}}}}}}}}}}}}}}<!-- | -->{{#ifeq:{{{iso3|}}}|none|{{#if:{{{glotto|}}}|<!--ok-->|{{#if:{{{linglist|}}}|<!--ok-->|{{#if:{{{lingua|}}}|<!--ok-->|{{#if:{{{aiatsis|}}}|<!--ok-->|{{#if:{{{guthrie|}}}|<!--ok-->|{{#if:{{{creator|}}}|<!--ok-->|{{#if:{{{created|}}}|<!--ok-->|[[Category:Languages without ISO 639-3 code]]}}}}}}}}}}}}}}}}<!-- | ||
-->{{#ifeq:{{Chr|{{{map|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!-- | -->{{#ifeq:{{Chr|{{{map|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!-- | ||
-->{{#ifeq:{{Chr|{{{map2|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!-- | -->{{#ifeq:{{Chr|{{{map2|}}}|1}}|[|[[Category:Ill-formatted infobox-language images]]|<!--ok-->}}<!-- | ||
Line 387: | Line 311: | ||
-->{{#if:{{{speakers|}}}|{{#ifeq:{{{speakers|}}}|?|{{#if:{{{ref|}}}|[[Category:Language articles with speakers set to 'unknown' despite a reference]]|{{#ifeq:{{{isoexception|}}}|dialect|[[Category:Dialect articles with speakers set to 'unknown']]|[[Category:Language articles with speakers set to 'unknown']]}}}}|{{#ifeq:{{{speakers|}}}|none|{{#ifeq:{{lc:{{{familycolor|}}}}}|pidgin|<!--ok: pidgins don't have native speakers-->|[[Category:Language articles with speakers set to 'none']]}}|{{#if:{{{ref|}}}|<!--ok-->|[[Category:Language articles without reference field]]}}}}}}}}<!-- | -->{{#if:{{{speakers|}}}|{{#ifeq:{{{speakers|}}}|?|{{#if:{{{ref|}}}|[[Category:Language articles with speakers set to 'unknown' despite a reference]]|{{#ifeq:{{{isoexception|}}}|dialect|[[Category:Dialect articles with speakers set to 'unknown']]|[[Category:Language articles with speakers set to 'unknown']]}}}}|{{#ifeq:{{{speakers|}}}|none|{{#ifeq:{{lc:{{{familycolor|}}}}}|pidgin|<!--ok: pidgins don't have native speakers-->|[[Category:Language articles with speakers set to 'none']]}}|{{#if:{{{ref|}}}|<!--ok-->|[[Category:Language articles without reference field]]}}}}}}}}<!-- | ||
-->{{#if:{{{extinct|}}}{{{era|}}}|{{#if:{{{ref|}}}|<!--ok-->|{{#ifeq:{{{extinct}}}|?|<!--ok-->|[[Category:Language articles with unreferenced extinction date]]}}}}}}<!-- | -->{{#if:{{{extinct|}}}{{{era|}}}|{{#if:{{{ref|}}}|<!--ok-->|{{#ifeq:{{{extinct}}}|?|<!--ok-->|[[Category:Language articles with unreferenced extinction date]]}}}}}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{boxsize|}}}|}}<!-- | ||
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{glotto|}}}|none|[[Category:Languages with neither ISO nor Glottolog code]]}}}}<!-- | -->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{glotto|}}}|none|[[Category:Languages with neither ISO nor Glottolog code]]}}}}<!-- | ||
-->{{#ifeq:{{{iso3|}}}|none||{{#if:{{{iso3|}}}{{{lc1|}}}|{{#if:{{{ref|}}}|{{#switch: {{{ref}}} | e24 = | e23 = | e22 = | e21 = | e20 = | e19 = | e18 = | e17 = | e16 = | e15 = | e14 = | e13 = | e12 = | e11 = | e10 = | e09 = | e08 = | ne2007 = [[Category:Articles citing Nationalencyklopedin]] | ne2010 = [[Category:Articles citing Nationalencyklopedin]] | inali = [[Category:Articles citing INALI]] | linglist = [[Category:Articles citing Linguist List]] | aiatsis= [[Category:Articles citing AIATSIS]] | guthrie = [[Category:Articles citing Maho/Guthrie]] | = [[Category:Articles opting out of population reference]] | {{#if:{{{extinct|}}}{{{era|}}}|[[Category:Extinct ISO language articles citing sources other than Ethnologue]]|[[Category:ISO language articles citing sources other than Ethnologue]]}}}}}}}}}}<!-- | -->{{#ifeq:{{{iso3|}}}|none||{{#if:{{{iso3|}}}{{{lc1|}}}|{{#if:{{{ref|}}}|{{#switch: {{{ref}}} | e26 = | e25 = | e24 = | e23 = | e22 = | e21 = | e20 = | e19 = | e18 = | e17 = | e16 = | e15 = | e14 = | e13 = | e12 = | e11 = | e10 = | e09 = | e08 = | ne2007 = [[Category:Articles citing Nationalencyklopedin]] | ne2010 = [[Category:Articles citing Nationalencyklopedin]] | inali = [[Category:Articles citing INALI]] | linglist = [[Category:Articles citing Linguist List]] | aiatsis= [[Category:Articles citing AIATSIS]] | guthrie = [[Category:Articles citing Maho/Guthrie]] | = [[Category:Articles opting out of population reference]] | {{#if:{{{extinct|}}}{{{era|}}}|[[Category:Extinct ISO language articles citing sources other than Ethnologue]]|[[Category:ISO language articles citing sources other than Ethnologue]]}}}}}}}}}}<!-- | ||
-->{{#invoke:Check for unknown parameters | check | ignoreblank = y | -->{{#invoke:Check for unknown parameters | check | ignoreblank = y | ||
| unknown = [[Category:Language articles with unsupported infobox fields|_VALUE_]] | | unknown = [[Category:Language articles with unsupported infobox fields|_VALUE_]] | ||
| preview = Page using [[Template:Infobox language]] with unknown parameter "_VALUE_" | | preview = Page using [[Template:Infobox language]] with unknown parameter "_VALUE_" | ||
| acceptance | agency | aiatsis | aiatsis2 | aiatsis3 | aiatsis4 | aiatsis5 | aiatsis6 | aiatsisname | aiatsisname2 | aiatsisname3 | aiatsisname4 | aiatsisname5 | aiatsisname6 | altname | ancestor | ancestor2 | ancestor3 | ancestor4 | ancestor5 | ancestor6 | ancestor7 | ancestor8 | boxsize | coordinates | coords | created | creator | date | dateprefix | | | acceptance | agency | aiatsis | aiatsis2 | aiatsis3 | aiatsis4 | aiatsis5 | aiatsis6 | aiatsisname | aiatsisname2 | aiatsisname3 | aiatsisname4 | aiatsisname5 | aiatsisname6 | altname | ancestor | ancestor2 | ancestor3 | ancestor4 | ancestor5 | ancestor6 | ancestor7 | ancestor8 | ancestor9 | ancestor10 | ancestor11 | ancestor12 | ancestor13 | ancestor14 | ancestor15 | boxsize | coordinates | coords | created | creator | date | dateprefix | development_body | dia1 | dia2 | dia3 | dia4 | dia5 | dia6 | dia7 | dia8 | dia9 | dia10 | dia11 | dia12 | dia13 | dia14 | dia15 | dia16 | dia17 | dia18 | dia19 | dia20 | dialects | ELP | ELPname | ELP2 | ELPname2 | ELP3 | ELPname3 | ELP4 | ELPname4 | ELP5 | ELPname5 | ELP6 | ELPname6 | era | ethnicity | extinct | fam1 | fam2 | fam3 | fam4 | fam5 | fam6 | fam7 | fam8 | fam9 | fam10 | fam11 | fam12 | fam13 | fam14 | fam15 | family | familycolor | fontcolor | glotto | glotto2 | glotto3 | glotto4 | glotto5 | glottofoot | glottoname | glottoname2 | glottoname3 | glottoname4 | glottoname5 | glottorefname | glottorefname2 | glottorefname3 | glottorefname4 | glottorefname5 | glottopedia | guthrie | ietf | image | imagealt | imagecaption | imagescale | iso1 | iso1comment | iso2 | iso2b | iso2comment | iso2t | iso3 | iso3comment | iso6 | isoexception | lc1 | lc2 | lc3 | lc4 | lc5 | lc6 | lc7 | lc8 | lc9 | lc10 | lc11 | lc12 | lc13 | lc14 | lc15 | lc16 | lc17 | lc18 | lc19 | lc20 | lc21 | lc22 | lc23 | lc24 | lc25 | lc26 | lc27 | lc28 | lc29 | lc30 | ld1 | ld2 | ld3 | ld4 | ld5 | ld6 | ld7 | ld8 | ld9 | ld10 | ld11 | ld12 | ld13 | ld14 | ld15 | ld16 | ld17 | ld18 | ld19 | ld20 | ld21 | ld22 | ld23 | ld24 | ld25 | ld26 | ld27 | ld28 | ld29 | ld30 | linglist | linglist2 | linglist3 | linglist4 | linglist5 | linglist6 | lingname | lingname2 | lingname3 | lingname4 | lingname5 | lingname6 | lingua | lingua_ref | listclass | map | map2 | mapalt | mapalt2 | mapcaption | mapcaption2 | mapscale | minority | module | name | nation | nativename | notice | notice2 | posteriori | pronunciation | protoname | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_image | pushpin_label | pushpin_label_position | ref | refname | region | revived | revived-cat | revived-category | script | setting | sign | signers | speakers | speakers2 | speakers_label | stand1 | stand2 | stand3 | stand4 | stand5 | stand6 | standards | state | states | ||
}}<!-- | }}<!-- | ||
Close wrapping {{main other}} for the categories: | Close wrapping {{main other}} for the categories: |
Latest revision as of 13:53, 26 June 2024
Default
|
The documentation for this template is not intended to be hosted on this wiki.
However, you might be able to find it at one of the following locations: