User:Andenor/Template:Infobox conworld: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:
| bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize}}};}}
| bodystyle = {{#if:{{{boxsize|}}}|width: {{{boxsize}}};}}


| abovestyle = color: {{#if:{{#ifeq:{{Infobox conworld/world-color|{{{worldcolor|}}} }}|black|1}}|white|{{{fontcolor|black}}} }}; background-color: {{Infobox conworld/world-color|{{{worldcolor|Default}}} }};
| abovestyle = color: white; background-color: black;
| above = {{{name|{{PAGENAME}}}}}
| above = {{{name|{{PAGENAME}}}}}
| aboveclass = above
| aboveclass = above
Line 22: Line 22:
| label3 = Date
| label3 = Date
| data3 = {{{created|}}}
| data3 = {{{created|}}}
| label4 = [[w:Geographic coordinate system|Coordinates]]
| label4 = Inhabitants
| data4 = {{#if:{{{latd|}}}
| data4 = {{#if:{{{inhabitants|}}}|{{{inhabitants}}}}}
  | <small style="white-space: nowrap">{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:landmark|display=inline}}</small>
| label5 = {{#if:{{{fam1|}}}|[[w:Language family|Language families]]}}
  }}
| data5 = *{{{fam1}}}
| label5 = Inhabitants
*{{{fam2}}}
| data5 = {{#if:{{{inhabitants|}}}|{{{inhabitants}}}}}
*{{{fam3}}}
| data6 =<!--
*{{{fam4}}}
-->{{#if:{{{extinct|}}}|{{#ifeq:{{{extinct}}}|?|(date unknown)|{{{extinct}}}}}<!-- extinct input used
*{{{fam5}}}
  -->|{{#if:{{{era|}}}|{{{era}}}<!-- era input used
*{{{fam6}}}
      -->
*{{{fam7}}}
|<!-- SPOKEN language (not silver) -->{{#if:{{{speakers|}}}|{{#ifeq: {{lc:{{{date}}}}}|na|{{{speakers|–}}}
*{{{fam8}}}
      |{{#ifeq: {{{date}}}|no date|{{{speakers|–}}} &nbsp;(no date)|{{#ifeq:{{{speakers}}}|?|(unknown)
*{{{fam9}}}
      |{{#ifeq:{{{speakers}}}|none|''None''
*{{{fam10}}}
      |{{{speakers|–}}} &nbsp;({{#if:{{{date}}}|{{{date}}}|<!--no date input-->no date}})
| label6 = {{#if{{{lang1|}}}|Languages}}
      }} }}<!--(end if:date, before the 30+ expr check)
| data6 = *{{{lang1}}}
    -->}}<!--(end ifeq:date=no date)
*{{{lang2}}}
    -->}}<!--(end ifeq:date=na)
*{{{lang3}}}
    -->|<!--(no speakers number to be shown)-->}}<!--(end if:speakers (in 2nd param of silver-check), if:silver. end of SPOKEN)
*{{{lang4}}}
      -->}} }}<!--(end if:era, if:extinct. No open #if:s left)
*{{{lang5}}}
-->
*{{{lang6}}}
 
*{{{lang7}}}
| label10 = [[w:Language family|Language family]]
*{{{lang8}}}
| data10 = <div style="text-align:left;">{{{family|{{{fam1|{{#if:{{{signers|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
*{{{lang9}}}
  |''Unknown''<includeonly>[[Category:Languages without classification]]</includeonly>
*{{{lang10}}}
  |{{Infobox language/genetic|{{{familycolor|Default}}}}}
| data6 = {{#if:{{{map|}}}
  }}}}}
<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>
{{#ifeq:{{{familycolor|}}}|unclassified||{{#ifeq:{{{familycolor|}}}|Unclassified||{{#ifeq:{{{familycolor|}}}|isolate||{{#ifeq:{{{familycolor|}}}|Isolate||{{#if:{{{fam2|}}}
| {{{fam2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam3|}}}
| {{{fam3}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam4|}}}
| {{{fam4}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam5|}}}
| {{{fam5}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam6|}}}
| {{{fam6}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam7|}}}
| {{{fam7}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam8|}}}
| {{{fam8}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam9|}}}
| {{{fam9}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam10|}}}
| {{{fam10}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam11|}}}
| {{{fam11}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam12|}}}
| {{{fam12}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam13|}}}
| {{{fam13}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam14|}}}
| {{{fam14}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{fam15|}}}
| {{{fam15}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>'''{{{name|{{PAGENAME}}}}}'''</li></ul>
| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>
}}}}}}}}}}}</div>
| label11 = Early forms:
| data11 = {{#if:{{{protoname|}}}{{{ancestor|}}}|<div style="text-align:left;">{{{protoname|{{{ancestor|}}}}}}
<ul style="line-height:100%; margin-left:15px;padding-left:0"><li>{{#if:{{{ancestor2|}}}
| {{{ancestor2}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor3|}}}
| {{{ancestor3}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor4|}}}
| {{{ancestor4}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>{{#if:{{{ancestor5|}}}
| {{{ancestor5}}}<ul style="line-height:100%; margin-left:5px;padding-left:0"><li>'''{{{name|{{PAGENAME}}}}}'''</li></ul>
| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul>| '''{{{name|{{PAGENAME}}}}}'''
}}</li></ul> </div>
}}
| label12 = Standard forms
| data12 = {{#if:{{{standards|}}}|{{{standards}}}
|{{#if:{{{stand1|}}}|
<div>{{{stand1|}}}</div>
<div>{{{stand2|}}}</div>
<div>{{{stand3|}}}</div>
<div>{{{stand4|}}}</div>
<div>{{{stand5|}}}</div>
<div>{{{stand6|}}}</div>
}}}}
| label13 = Dialects
| data13 = {{#if:{{{dialects|}}}|{{{dialects}}}
|{{#if:{{{dia1|}}}|
<div>{{{dia1|}}}</div>
<div>{{{dia2|}}}</div>
<div>{{{dia3|}}}</div>
<div>{{{dia4|}}}</div>
<div>{{{dia5|}}}</div>
<div>{{{dia6|}}}</div>
<div>{{{dia7|}}}</div>
<div>{{{dia8|}}}</div>
<div>{{{dia9|}}}</div>
<div>{{{dia10|}}}</div>
<div>{{{dia11|}}}</div>
<div>{{{dia12|}}}</div>
<div>{{{dia13|}}}</div>
<div>{{{dia14|}}}</div>
<div>{{{dia15|}}}</div>
<div>{{{dia16|}}}</div>
<div>{{{dia17|}}}</div>
<div>{{{dia18|}}}</div>
<div>{{{dia19|}}}</div>
<div>{{{dia20|}}}</div>
}}}}
| label14 = [[w:Writing system|Writing system]]
| data14 =  {{#switch: {{lc:{{{script|}}}}}
            | latin
            | [[w:latin|Latin]]
            | latin alphabet
            | [[w:latin alphabet|latin alphabet]]
            | [[w:latin alphabet|latin]] = [[w:Latin script|Latin]]
            | #default = {{{script|}}}
            }}
| header15 = {{#if:{{{nation|}}}{{{agency|}}}|Official status}}
| label16 = Official language in
| data16 = {{{nation|}}}
| label17 = Recognised minority language in
| data17 = {{{minority|}}}
| label18 = [[w:List of language regulators|Regulated by]]
| data18 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}}
  | ''None''
<!--  | {{#if:{{{nation|}}}|''No official regulation''}} [this ends up claiming that languages have no regulation just cuz no-one bothered to add the regulator -->
  }}}}}
| label23 = [[w:ISO 639-3|ISO 639-3]]
| data23 = {{#if:{{{iso3|}}}
  |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>[[w:ISO639-3:{{{iso3}}}|{{{iso3}}}]]</tt> {{#if:{{{lc1|}}}| – [[w:ISO 639 macrolanguage|inclusive code]]<!--not all are 'macrolanguages': Hittite, for example-->}} {{{iso3comment|}}}}}|{{#if:{{{lc1|}}}| |–}}}}{{#ifexpr:{{#if:{{{lc1|}}}|1|0}} and {{#if:{{{lc2|}}}|1|0}}|{{#if:{{{iso3|}}}|<br />Individual codes|{{#if:{{{lc3|}}}|Variously|Either}}}}:{{Infobox language/codelist
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
|{{{lc3|}}}|{{{ld3|}}}}}{{Infobox language/codelist
|{{{lc4|}}}|{{{ld4|}}}}}{{Infobox language/codelist
|{{{lc5|}}}|{{{ld5|}}}}}{{Infobox language/codelist
|{{{lc6|}}}|{{{ld6|}}}}}{{Infobox language/codelist
|{{{lc7|}}}|{{{ld7|}}}}}{{Infobox language/codelist
|{{{lc8|}}}|{{{ld8|}}}}}{{Infobox language/codelist
|{{{lc9|}}}|{{{ld9|}}}}}{{Infobox language/codelist
|{{{lc10|}}}|{{{ld10|}}}}}{{Infobox language/codelist
|{{{lc11|}}}|{{{ld11|}}}}}{{Infobox language/codelist
|{{{lc12|}}}|{{{ld12|}}}}}{{Infobox language/codelist
|{{{lc13|}}}|{{{ld13|}}}}}{{Infobox language/codelist
|{{{lc14|}}}|{{{ld14|}}}}}{{Infobox language/codelist
|{{{lc15|}}}|{{{ld15|}}}}}{{Infobox language/codelist
|{{{lc16|}}}|{{{ld16|}}}}}{{Infobox language/codelist
|{{{lc17|}}}|{{{ld17|}}}}}{{Infobox language/codelist
|{{{lc18|}}}|{{{ld18|}}}}}{{Infobox language/codelist
|{{{lc19|}}}|{{{ld19|}}}}}{{Infobox language/codelist
|{{{lc20|}}}|{{{ld20|}}}}}{{Infobox language/codelist
|{{{lc21|}}}|{{{ld21|}}}}}{{Infobox language/codelist
|{{{lc22|}}}|{{{ld22|}}}}}{{Infobox language/codelist
|{{{lc23|}}}|{{{ld23|}}}}}{{Infobox language/codelist
|{{{lc24|}}}|{{{ld24|}}}}}{{Infobox language/codelist
|{{{lc25|}}}|{{{ld25|}}}}}{{Infobox language/codelist
|{{{lc26|}}}|{{{ld26|}}}}}{{Infobox language/codelist
|{{{lc27|}}}|{{{ld27|}}}}}{{Infobox language/codelist
|{{{lc28|}}}|{{{ld28|}}}}}{{Infobox language/codelist
|{{{lc29|}}}|{{{ld29|}}}}}{{Infobox language/codelist
|{{{lc30|}}}|{{{ld30|}}}}}{{Infobox language/codelist
|{{{lc31|}}}|{{{ld31|}}}}}{{Infobox language/codelist
|{{{lc32|}}}|{{{ld32|}}}}}{{Infobox language/codelist
|{{{lc33|}}}|{{{ld33|}}}}}{{Infobox language/codelist
|{{{lc34|}}}|{{{ld34|}}}}}{{Infobox language/codelist
|{{{lc35|}}}|{{{ld35|}}}}}{{Infobox language/codelist
|{{{lc36|}}}|{{{ld36|}}}}}{{Infobox language/codelist
|{{{lc37|}}}|{{{ld37|}}}}}{{Infobox language/codelist
|{{{lc38|}}}|{{{ld38|}}}}}{{Infobox language/codelist
|{{{lc39|}}}|{{{ld39|}}}}}{{Infobox language/codelist
|{{{lc40|}}}|{{{ld40|}}}}}{{Infobox language/codelist
|{{{lc41|}}}|{{{ld41|}}}}}{{Infobox language/codelist
|{{{lc42|}}}|{{{ld42|}}}}}{{Infobox language/codelist
|{{{lc43|}}}|{{{ld43|}}}}}{{Infobox language/codelist
|{{{lc44|}}}|{{{ld44|}}}}}{{Infobox language/codelist
|{{{lc45|}}}|{{{ld45|}}} }}
|{{#if:{{{lc1|}}}|{{#if:{{{iso3|}}}|<br />Individual code:}}{{Infobox language/codelist|code={{{lc1}}}|2={{{ld1|}}} }} }} }}
 
| data24 = {{#if:{{{map|}}}
   | [[File:{{{map}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt|}}} | {{!}}alt={{{mapalt}}}}}]]{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}
   | [[File:{{{map}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt|}}} | {{!}}alt={{{mapalt}}}}}]]{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}
   }}
   }}
| data25 = {{#if:{{{map2|}}}
| data7 = {{#if:{{{map2|}}}
   | [[File:{{{map2}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt2|}}} | {{!}}alt={{{mapalt2}}}}}]]{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
   | [[File:{{{map2}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt2|}}} | {{!}}alt={{{mapalt2}}}}}]]{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
   }}
   }}
| data26 = {{#if:{{{notice|}}}|
| data8 = {{#if:{{{notice|}}}|
{{{!}} style="text-align:left;"
{{{!}} style="text-align:left;"
{{Infobox language/{{{notice|}}}}}
{{Infobox language/{{{notice|}}}}}
57

edits

Navigation menu