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

no edit summary
No edit summary
No edit summary
Line 197: Line 197:
| data22 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}}
| data22 = {{#if: {{{iso2|}}}|<code>{{{iso2}}}</code> {{{iso2comment|}}}}}


| label23 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| label22 = {{nowrap|[[w:ISO 639-3|ISO 639-3]]}}
| data23 = {{#if:{{{iso3|}}}|<code>{{{iso3}}}</code> {{{iso3comment|}}}}}
| data22 = {{#if:{{{iso3|}}}|<code>{{{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}}}}}}}}}


| label26 = <span class="plainlinks">[https://conworkshop.com/ ConWorkShop]</span>
| label25 = <span class="plainlinks">[https://conworkshop.com/ ConWorkShop]</span>
| data26 = {{#if:{{{cws|}}}|<code>[https://conworkshop.com/view_language.php?l={{{cws}}} {{{cws}}}]</code>}}
| data25 = {{#if:{{{cws|}}}|<code>[https://conworkshop.com/view_language.php?l={{{cws}}} {{{cws}}}]</code>}}


| label27 = [[w:IETF language tag|IETF]]
| label26 = [[w:IETF language tag|IETF]]
| data27 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}
| data26 = {{#if:{{{ietf|}}}|<code>{{{ietf}}}</code>}}


| label28 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span>
| label27 = <span class="plainlinks">[https://registry.brightraven.eu/ BRCL]</span>
| data28 = {{#if:{{{brcl|}}}|<code>{{{brcl}}}</code>}}
| data27 = {{#if:{{{brcl|}}}|<code>{{{brcl}}}</code>}}


| data29 = {{#if:{{{map|}}}
| 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>}}|
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{map}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt|}}}}}{{#if:{{{mapcaption|}}}|<div style="text-align:center; font-style: italics;">{{{mapcaption}}}</div>}}|
   }}
   }}


| data30 = {{#if:{{{map2|}}}
| data29 = {{#if:{{{map2|}}}
   | {{#invoke:InfoboxImage|InfoboxImage|image={{{map2}}}|size={{{mapsize|}}}|sizedefault=220px|alt={{{mapalt2|}}}}}{{#if:{{{mapcaption2|}}}|<div style="text-align:center; font-style: italics;">{{{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>}}
   }}
   }}
| data31 = {{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}}{{{coords|}}} }}|
| data30 = {{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}}{{{coords|}}} }}|
{{location map|{{{pushpin_map|}}}
{{location map|{{{pushpin_map|}}}
|coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}}
|coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}}
Line 237: Line 237:
  |position = {{{pushpin_label_position|}}}
  |position = {{{pushpin_label_position|}}}
}} }}
}} }}
| data32 =  {{#if:{{if empty|{{{coordinates|}}}|{{{coords|}}}}} |Coordinates: {{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|}}}}}}|type:landmark}}| }}
| data31 =  {{#if:{{if empty|{{{coordinates|}}}|{{{coords|}}}}} |Coordinates: {{#invoke:Coordinates|coordinsert|{{{coordinates|{{{coords|}}}}}}|type:landmark}}| }}


| data33 = {{{module|}}}
| data32 = {{{module|}}}


<!--------------------------------------------------------->
<!--------------------------------------------------------->