Template:Infobox language: Difference between revisions
no edit summary
Template>Centrist16 No edit summary |
Vivaporius (talk | contribs) No edit summary |
||
Line 11:
| subheader3 = {{#if:{{{acceptance|}}}|({{{acceptance|}}})}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize
| caption = {{{imagecaption|}}}
Line 43:
}}
| label5 = {{
| data5 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}| {{#if:{{{latd|}}}
| [[Category:Pages using deprecated coordinates format|language]]<small style="white-space: nowrap">{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:landmark|display=inline}}</small>
}} }}
| label6 = Ethnicity
| data6 = {{{ethnicity|}}}
| label7 = {{#if:{{{extinct|}}} |{{
| data7 =<!--
-->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date missing)[[Category:Language articles with unknown extinction date]]|{{{extinct}}}}}<!-- extinct input used
Line 58 ⟶ 60:
-->|{{#ifeq:{{{signers|{{{speakers}}}}}}|none|''None''
|{{#if:{{{date|}}}|{{{signers|{{{speakers|–}}}}}} ({{{dateprefix|}}}{{{date}}})
|{{{signers|{{{speakers|–}}}}}} (''date missing''){{main other|[[Category:Language articles with speaker number undated]]}}}} }} }} }} }}<!--(end if:date, ifeq:date=na, if:signers. end of SIGN)
-->|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|–}}}
|{{#ifeq: {{{date}}}|no date|(undated figure of {{{speakers}}})|<!--
Line 67 ⟶ 69:
-->|{{#ifeq:{{{speakers}}}|?|<!--
-->|{{#ifeq:{{{speakers}}}|none|''None''
|<!-- no date input -->{{{speakers|–}}} (''date missing''){{main other|[[Category:Language articles with speaker number undated]]}}}} }} }}<!--(end if:date, before the 25+ expr check)
-->}}<!--(end ifeq:date=no date)
-->}}<!--(end ifeq:date=na)
Line 73 ⟶ 75:
-->}} }}<!--(end if:era, if:extinct. No open #if:s left)
If there is a ref, and there is any input for this row (data7), then we add the reference:
-->{{#if:{{{ref|}}}|{{#if:{{{extinct|}}}{{{era|}}}{{{signers|}}}{{{speakers|}}}{{{date|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|sign_language}}|{{Infobox language/ref|{{{ref}}}|iso3={{{iso3
Add speakers2 after the ref:
-->{{#if:{{{speakers2|}}}|<br />{{{speakers2|}}} }}
| label8 = {{#if:{{{revived|}}} |{{
| data8 = {{{revived|}}}
| label9 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
|Purpose
|{{allow wrap|{{longitem|{{
}}
| data9 = {{#ifeq: {{lc:{{{family}}}}}|na||<div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
|''Unknown''{{main other|[[Category:Languages without classification]]}}
|{{#if:{{{creator|}}}{{{setting|}}}
|{{
|{{Infobox language/genetic|{{{familycolor|Default}}}}}
}}
Line 171 ⟶ 173:
{{#if:{{{dia20|}}}|*{{{dia20}}}}}
}}}}
| rowclass12 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}
| label13 = {{allow wrap|{{longitem|{{
| data13 = {{#switch: {{lc:{{{script|}}}}}
| latin
| {{
| latin alphabet
| {{
| {{
| #default = {{{script|}}}
}}
| label14 = {{allow wrap|{{longitem|{{
| data14 = {{#if:{{{sign|}}}|{{{sign}}}}}
Line 198 ⟶ 200:
| data18 = {{#if:{{{minority|}}} |<div style="<!--label17 above almost always linewraps, so:-->vertical-align:middle;">{{{minority}}}</div>}}
| label19 = {{
| data19 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}} and {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|Default}}}}}|black|1}}|1|0}}
| ''None''
Line 207 ⟶ 209:
| header20 = Language codes
| label21 = {{nowrap|{{
| data21 = {{#if:{{{iso1|}}}|<code>
| label22 = {{nowrap|{{
| data22 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}
|<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}
|{{
|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
|{{{iso2|sgn}}}
Line 219 ⟶ 221:
#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
|{{{iso2|art}}}
|{{
#if:{{{iso2b|}}}{{{iso2t|}}}
|<br /><code>{{
}}
| label23 = {{nowrap|{{
| data23 = {{#if:{{{iso3|}}}
|{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None'' (<code>mis</code>)}}|<code>{{
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
Line 259 ⟶ 261:
|{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}
| label24 = {{nowrap|{{
| data24 = {{#if:{{{iso6|}}}|<code>{{{iso6}}}</code>}}
| label25 = {{longitem
| data25 = {{Infobox language/linguistlist|1={{{linglist|}}} |2={{{lingname|}}}}}
| label26 =
Line 275 ⟶ 277:
| data30 = {{Infobox language/linguistlist|1={{{linglist6|}}}|2={{{lingname6|}}}}}
| label31 = {{
| data31 = {{#if:{{{glotto|}}}|{{#ifeq:{{lc:{{{glotto|}}}}}|none|''None''[[Category:Languages without Glottolog code]]|{{#ifeq:{{lc:{{{glotto|}}}}}|spurious|(insufficiently attested or not a distinct language){{main other|[[Category:Languages rejected by Glottolog]]}}|<code>{{glottolink|{{{glotto}}}}}</code>{{#if:{{{glottoname|}}}| {{nowrap|({{{glottoname}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto}}}|{{{glottorefname|{{{glottoname|{{{name}}}}}}}}}}}|name="Glottolog"}}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br />|<!--no break when more than one box on a page-->}}<code>{{glottolink|{{{glotto2}}}}}</code>{{#if:{{{glottoname2|}}}| {{nowrap|({{{glottoname2}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto2}}}|{{{glottorefname2|{{{glottoname2|{{{name}}}}}}}}}}}|name="Glottolog2"}}}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto3}}}}}</code>{{#if:{{{glottoname3|}}}| {{nowrap|({{{glottoname3}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto3}}}|{{{glottorefname3|{{{glottoname3|{{{name}}}}}}}}}}}|name="Glottolog3"}}}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto4}}}}}</code>{{#if:{{{glottoname4|}}}| {{nowrap|({{{glottoname4}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto4}}}|{{{glottorefname4|{{{glottoname4|{{{name}}}}}}}}}}}|name="Glottolog4"}}}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br />|<!--no break-->}}<code>{{glottolink|{{{glotto5}}}}}</code>{{#if:{{{glottoname5|}}}| {{nowrap|({{{glottoname5}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto5}}}|{{{glottorefname5|{{{glottoname5|{{{name}}}}}}}}}}}|name="Glottolog5"}}}}}}
| label32 = {{
| data32 = {{#if:{{{aiatsis|}}}|<code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis}}} {{{aiatsis}}}]</code>{{#if:{{{aiatsisname|}}}| {{{aiatsisname}}}}} }}{{#if:{{{aiatsis2|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis2}}} {{{aiatsis2}}}]</code>{{#if:{{{aiatsisname2|}}}| {{{aiatsisname2}}}}} }}{{#if:{{{aiatsis3|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis3}}} {{{aiatsis3}}}]</code>{{#if:{{{aiatsisname3|}}}| {{{aiatsisname3}}}}} }}{{#if:{{{aiatsis4|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis4}}} {{{aiatsis4}}}]</code>{{#if:{{{aiatsisname4|}}}| {{{aiatsisname4}}}}} }}{{#if:{{{aiatsis5|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis5}}} {{{aiatsis5}}}]</code>{{#if:{{{aiatsisname5|}}}| {{{aiatsisname5}}}}} }}{{#if:{{{aiatsis6|}}}|, <code>[http://austlang.aiatsis.gov.au/main.php?code={{{aiatsis6}}} {{{aiatsis6}}}]</code>{{#if:{{{aiatsisname6|}}}| {{{aiatsisname6}}}}} }}
| label33 = {{allow wrap|{{longitem|{{
| data33 = {{#if:{{{guthrie|}}}|<code>{{{guthrie}}}</code><ref name="Guthrie">Jouni Filip Maho, 2009. [http://goto.glocalnet.net/mahopapers/nuglonline.pdf New Updated Guthrie List Online]</ref>}}
| label34 = {{
| data34 = {{#if:{{{lingua|}}}|<code>{{{lingua}}}</code>{{{lingua_ref|}}}}}
| label35 = {{
| data35 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>{{Main other|[[Category:Language articles with IETF language tag]]}}}}
Line 301 ⟶ 303:
| {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
}}
| data40 = {{{module|}}}
Line 311 ⟶ 310:
| belowstyle = background-color:#ddddff;padding:0.3em 0.5em;text-align:left;line-height:1.3;
| below = {{#ifeq:{{lc:{{{notice|{{{notice2|}}}}}}}}|ipa
|'''This article contains {{
}}
Line 367 ⟶ 366:
-->{{#ifeq:{{{iso3|}}}|none|{{#ifeq:{{{glotto|}}}|none|[[Category:Languages with neither ISO nor Glottolog code]]}}}}<!--
-->{{#ifeq:{{{iso3|}}}|none||{{#if:{{{iso3|}}}{{{lc1|}}}|{{#if:{{{ref|}}}|{{#switch: {{{ref}}} | 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
|name|altname|nativename|acceptance|pronunciation
|states|state|region
|latd|latm|latNS|longd|longm|longEW|coordinates
|ethnicity|speakers|speakers2|extinct|era|revived|revived-cat
|date|dateprefix|ref
|familycolor|fam1|fam2|fam3|fam4|fam5|fam6|fam7|fam8|fam9
|fam10|fam11|fam12|fam13|fam14|fam15|family
|ancestor|ancestor2|ancestor3|ancestor4|ancestor5|protoname
|creator|created|setting|posteriori
|dialects|dia1|dia2|dia3|dia4|dia5|dia6|dia7|dia8|dia9|dia10
|dia11|dia12|dia13|dia14|dia15|dia16|dia17|dia18|dia19|dia20
|liststyle|module
|stand1|stand2|stand3|stand4|stand5|stand6|standards
|script|sign
|nation|minority|agency
|iso1|iso2|iso2b|iso2t|iso3|iso2comment|iso3comment|isoexception|iso6|ietf
|lc1|ld1|lc2|ld2|lc3|ld3|lc4|ld4|lc5|ld5|lc6|ld6|lc7|ld7|lc8|ld8|lc9|ld9|lc10|ld10
|lc11|ld11|lc12|ld12|lc13|ld13|lc14|ld14|lc15|ld15|lc16|ld16|lc17|ld17|lc18|ld18|lc19|ld19|lc20|ld20
|lc21|ld21|lc22|ld22|lc23|ld23|lc24|ld24|lc25|ld25|lc26|ld26|lc27|ld27|lc28|ld28|lc29|ld29|lc30|ld30
|linglist|lingname|linglist2|lingname2|linglist3|lingname3|linglist4|lingname4|linglist5|lingname5
|lingua|guthrie
|aiatsis|aiatsis2|aiatsis3|aiatsis4|aiatsis5|aiatsis6
|aiatsisname|aiatsisname2|aiatsisname3|aiatsisname4|aiatsisname5|aiatsisname6
|glotto|glotto2|glotto3|glotto4|glotto5
|glottoname|glottoname2|glottoname3|glottoname4|glottoname5
|glottorefname|glottorefname2|glottorefname3|glottorefname4|glottorefname5
|glottofoot
|image|imagesize|imagealt|imagecaption|imageheader
|map|mapsize|mapalt|mapcaption|map2|mapalt2|mapcaption2|boxsize
|notice|notice2
}}<!--
Close wrapping {{main other}} for the categories:
|