User:Sware/Template:infobox language: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
{{#vardefine: black|<!--
Turning on syntax highlighting is highly recommended for clarity
Turning on syntax highlighting is highly recommended for clarity
-->{{Infobox
-->{{Infobox
Line 15: Line 15:
             -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};
             -->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 73: Line 73:
| data7 = {{{revived|}}}
| data7 = {{{revived|}}}


| label8 = {{#if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
| label8 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Language family|Language family]]}}}}
  |Purpose
  |{{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}}}}}}}}}}}
| 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>
Line 166: Line 163:
| rowclass11 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}
| rowclass11 = {{#if:{{{dialects|}}}||{{#if:{{{dia1|}}}|{{{listclass|{{{liststyle|plainlist}}}}}}}}}}


| label12 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]}}}}
| label12 = {{User:Sware/Template:longitem|{{User:Sware/Template:allow wrap|[[w:Writing system|Writing system]]{{#if:{{{script2|}}}|s}}}}}}
| data12 =  [[w:{{#if: {{#invoke:scripts/templates|exists|{{{script|}}}}}|{{#invoke:scripts/templates|getByCode|{{{script}}}|getCanonicalName}}|{{ucfirst: {{{script}}}}}}} script|{{#if: {{#invoke:scripts/templates|exists|{{{script|}}}}}|{{#invoke:scripts/templates|getByCode|{{{script}}}|getCanonicalName}}}}]]
| 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
| label13 = Sources
Line 191: Line 192:


| label20 = {{nowrap|[[w:ISO 639-1|ISO 639-1]]}}
| label20 = {{nowrap|[[w:ISO 639-1|ISO 639-1]]}}
| data20 = {{#if: {{{iso1|}}}|<code>{{#ifeq: {{{iso1}}}</code> {{{iso1comment|}}}}}}}
| 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]]}}
| label21 = {{nowrap|[[w:ISO 639-2|ISO 639-2]]}}
| data22 = {{#if:{{{iso2|}}}{{{iso2b|}}}{{{iso2t|}}}<!--
| data21 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}}
            -->|<code>{{#if:{{{iso2b|}}}{{{iso2t|}}}<!--
                -->|{{#ifeq:{{str len|{{{iso2b|}}}}}| 3 | {{ISO 639-2|{{{iso2b}}}}} | {{{iso2b}}} }}&nbsp;(B)
  |{{#if:{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|silver|1}}
  |{{{iso2|sgn}}}
  |{{
    #if:{{{creator|}}}{{{setting|}}}{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|black|1}}
    |{{{iso2|art}}}
    |{{#ifeq:{{str len|{{{iso2|}}}}}| 3 | {{ISO 639-2|{{{iso2}}}}} | {{{iso2}}} }}}}}}}}</code> {{{iso2comment|}}}{{
    #if:{{{iso2b|}}}{{{iso2t|}}}
    |<br /><code>{{#ifeq:{{str len|{{{iso2t|}}}}}| 3 | {{ISO 639-2|{{{iso2t}}}}} | {{{iso2t}}} }}&nbsp;(T)</code>}}
}}


| label23 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| label22 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| data23 = {{#if:{{{iso3|}}}|<code>{{{iso3}}}</code>}}
| data22 = {{#if:{{{iso3|}}}|<code class="plainlinks">[https://iso639-3.sil.org/code/{{{iso3}}} {{{iso3}}}]</code> {{{iso3comment|}}}}}


| label24 = <span class="plainlinks">{{nowrap|[https://www.kreativekorp.com/clcr/ CLCR]}}</span>
| label23 = <span class="plainlinks">{{nowrap|[https://www.kreativekorp.com/clcr/ CLCR]}}</span>
| data24 = {{#if:{{{clcr|}}}|<code>{{{clcr}}}</code>}}
| data23 = {{#if:{{{clcr|}}}|<code>{{{clcr}}}</code>}}


| label25 = [[w:Glottolog|Glottolog]]
| label24 = [[w:Glottolog|Glottolog]]
| data25 = {{#if:{{{glotto|}}}|<code>[http://glottolog.org/resource/languoid/id/{{{glotto|}}} {{{glotto|}}}]</code>{{#if:{{{glottoname|}}}|&nbsp; {{nowrap|{{{glottoname}}}}}}}}}<!--
| data24 = {{#if:{{{glotto|}}}|<code>[http://glottolog.org/resource/languoid/id/{{{glotto|}}} {{{glotto|}}}]</code>{{#if:{{{glottoname|}}}|&nbsp; {{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|}}}|&nbsp; {{nowrap|{{{glottoname2}}}}}}}}}
-->{{#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|}}}|&nbsp; {{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]]
| label26 = [[w:IETF language tag|IETF]]
| data26 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}
| data26 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}


| data27 = {{#if:{{{map|}}}
| label27 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span>
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; text-style: italics;">{{{mapcaption}}}</div>}}|
| 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:center; font-style: italics;">{{{mapcaption}}}</div>}}|
   }}
   }}


| data29 = {{#if:{{{map2|}}}
| data29 = {{#if:{{{map2|}}}
   | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:left;">{{{mapcaption2}}}</div>}}
   | {{#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|}}} }}|
| data30 = {{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}}{{{coords|}}} }}|
Line 249: 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 [[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>'''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>
   }}
   }}



Latest revision as of 20:27, 4 July 2021

{{#vardefine: black|

Created by
User:Sware/Template:longitem
Default
  • Sware/Template:infobox language