Difference between revisions of "Template:Infobox language"

From CWS Planet
Jump to navigation Jump to search
(changed the iso code to cws lang code)
(updating CWS link to .com instead of .info)
 
(18 intermediate revisions by 4 users not shown)
Line 8: Line 8:
| headerstyle = color: {{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}|white|{{{fontcolor|black}}}}}; background-color: {{Infobox language/family-color|{{{familycolor|Default}}}}};
| headerstyle = color: {{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}|white|{{{fontcolor|black}}}}}; background-color: {{Infobox language/family-color|{{{familycolor|Default}}}}};


| subheaderstyle = font-weight: bold; color: {{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|black|1}}|white|{{{fontcolor|black}}} }}; background-color: {{Infobox language/family-color|{{{familycolor|Default}}} }};
| subheaderstyle = font-weight: italic; ; color: {{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}} }}|black|1}}|white|{{{fontcolor|black}}} }}; background-color: {{Infobox language/family-color|{{{familycolor|Default}}} }};
| subheader = {{{altname|}}}{{#if:{{{altname|}}}|{{#if:{{{nativename|}}}|<br/>}}}}{{{nativename|}}}
| subheader = {{{altname|}}}{{#if:{{{altname|}}}|{{#if:{{{nativename|}}}|<br/>}}}}{{{nativename|}}}


Line 19: Line 19:
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''will be added''}}}}}
| data1 = {{#if:{{{pronunciation|}}}| {{{pronunciation|''will be added''}}}}}
| label2 = Created&nbsp;by
| label2 = Created&nbsp;by
| data2 = {{{creator|}}}
| data2 = {{{creator|}}}
| label3 = Setting
| label3 = Setting
| data3 = {{{setting|}}}
| data3 = {{{setting|}}}
| label4 = Spoken natively in
| label4 = Spoken natively in
| data4 = {{{states|{{{state|}}}}}}
| data4 = {{{state|}}}
| label5 = Date
| label5 = Date
| data5 = {{{created|}}}
| data5 = {{{created|}}}
Line 139: Line 139:
<div>{{{dia20|}}}</div>
<div>{{{dia20|}}}</div>
}}}}
}}}}
| label14 = [[wikipedia:Writing system|Writing system]]
| label14 = [[Wikipedia:List of writing systems|Writing system]]
| data14 =  {{#switch: {{lc:{{{script|}}}}}
| data14 =  {{#switch: {{lc:{{{script|}}}}}
             | latin
             | latin
Line 153: Line 153:
| label17 = Recognised minority language in
| label17 = Recognised minority language in
| data17 = {{{minority|}}}
| data17 = {{{minority|}}}
| label18 = [[wikipedia:List of language regulators|Regulated by]]
| label18 = Regulated by
| data18 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}}
| data18 = {{{agency|{{#ifexpr:{{#if:{{{agency|}}}|1|0}}
   | ''None''
   | ''None''
<!--  | {{#if:{{{nation|}}}|''No official regulation''}} [this ends up claiming that languages have no regulation just cuz no-one bothered to add the regulator -->
<!--  | {{#if:{{{nation|}}}|''No official regulation''}} [this ends up claiming that languages have no regulation just cuz no-one bothered to add the regulator -->
   }}}}}  
   }}}}}  
| label23 = [[http://conworkshop.info/|CWS language code]]
| label23 = <span class="plainlinks">[http://conworkshop.com/ CWS code]</span>
| data23 = {{#if:{{{iso3|}}}
| data23 = {{#if:{{{iso3|}}}
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt>[[http://conworkshop.info/view_language.php?=:{{{iso3}}}|{{{iso3}}}]]</tt> {{#if:{{{lc1|}}}| – [[wikipedia: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
   |{{#ifeq:{{lc:{{{iso3|}}}}}|none|{{#if:{{{iso3comment|}}}|{{{iso3comment}}}|''None''}}|<tt><span class="plainlinks">[http://conworkshop.com/view_language.php?l={{{iso3}}} {{{iso3}}}]</span></tt> {{#if:{{{lc1|}}}| – [[wikipedia: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
|{{{lc1|}}}|{{{ld1|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
|{{{lc2|}}}|{{{ld2|}}}}}{{Infobox language/codelist
Line 209: Line 209:


| data24 = {{#if:{{{map|}}}
| data24 = {{#if:{{{map|}}}
   | [[File:{{{map}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt|}}} | {{!}}alt={{{mapalt}}}}}]]{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}
   | [[File:{{{map}}}|{{{mapsize}}}{{#if: {{{mapalt|}}} | {{!}}alt={{{mapalt}}}}}]]{{#if:{{{mapcaption|}}}|<div style="text-align:left;">{{{mapcaption}}}</div>}}
   }}
   }}
| data25 = {{#if:{{{map2|}}}
| data25 = {{#if:{{{map2|}}}
   | [[File:{{{map2}}}|{{px|{{{mapsize|}}}|300px}}{{#if: {{{mapalt2|}}} | {{!}}alt={{{mapalt2}}}}}]]{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
   | [[File:{{{map2}}}|{{{mapsize}}}{{#if: {{{mapalt2|}}} | {{!}}alt={{{mapalt2}}}}}]]{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
   }}
   }}
| data26 = {{#if:{{{notice|}}}|
| data26 = {{#if:{{{notice|}}}|

Latest revision as of 00:31, 23 January 2022

Infobox language
Language family
Default
  • Infobox language
CWS code