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

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 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 169: Line 169:
{{#if:{{{script4|}}}|*{{#if: {{#invoke:scripts/templates|exists|{{{script4}}}}}|* [[w:{{#invoke:scripts/templates|getByCode|{{{script4}}}|getCanonicalName}} script|{{#invoke:scripts/templates|getByCode|{{{script4}}}|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}}]]}}}}
{{#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
| data13 = {{{posteriori|}}}
| data13 = {{{posteriori|}}}
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