Template:Infobox language family: Difference between revisions

Jump to navigation Jump to search
No edit summary
(Ruthlessly tearing Glottolog out of this thing)
 
Line 128: Line 128:
| data14 = {{#if:{{{lingua|}}}
| data14 = {{#if:{{{lingua|}}}
   |<samp>{{{lingua}}}</samp> }}
   |<samp>{{{lingua}}}</samp> }}
| label15 = {{wp|Glottolog}}
| data15 =  {{#if:{{{glotto|}}}|{{#ifeq:{{lc:{{{glotto|}}}}}|none|''None''{{main other|[[Category:Families rejected by Glottolog]]}}|{{#ifeq:{{lc:{{{glotto|}}}}}|na|(not evaluated){{main other|[[Category:Families not evaluated by Glottolog]]}}
  |<samp>{{glottolink|{{{glotto}}}}}</samp>{{#if:{{{glottoname|}}}|&nbsp; {{nowrap|({{{glottoname}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto}}}|{{{glottorefname|{{{glottoname|{{{name}}}}}}}}}}}|name="Glottolog"}}}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glotto|}}}|<br>|<!--no break when more than one info box on a page-->}}<samp>{{glottolink|{{{glotto2}}}}}</samp>{{#if:{{{glottoname2|}}}|&nbsp; {{nowrap|({{{glottoname2}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto2}}}|{{{glottorefname2|{{{glottoname2|{{{name}}}}}}}}}}}|name="Glottolog2"}}}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glotto2|}}}|<br>|<!--no break-->}}<samp>{{glottolink|{{{glotto3}}}}}</samp>{{#if:{{{glottoname3|}}}|&nbsp; {{nowrap|({{{glottoname3}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto3}}}|{{{glottorefname3|{{{glottoname3|{{{name}}}}}}}}}}}|name="Glottolog3"}}}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glotto3|}}}|<br>|<!--no break-->}}<samp>{{glottolink|{{{glotto4}}}}}</samp>{{#if:{{{glottoname4|}}}|&nbsp; {{nowrap|({{{glottoname4}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto4}}}|{{{glottorefname4|{{{glottoname4|{{{name}}}}}}}}}}}|name="Glottolog4"}}}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glotto4|}}}|<br>|<!--no break-->}}<samp>{{glottolink|{{{glotto5}}}}}</samp>{{#if:{{{glottoname5|}}}|&nbsp; {{nowrap|({{{glottoname5}}})}}}}{{#ifeq:{{{glottofoot|}}}|no||{{#tag:ref|{{Glottolog|{{{glotto5}}}|{{{glottorefname5|{{{glottoname5|{{{name}}}}}}}}}}}|name="Glottolog5"}}}}}}


| data20 = {{#if:{{{map|}}}
| data20 = {{#if:{{{map|}}}
Line 165: Line 156:
|listclass|module|notes
|listclass|module|notes
|iso1|iso2|iso3|iso5|iso6
|iso1|iso2|iso3|iso5|iso6
|lingua|glotto|glottoname|glotto2|glottoname2|glotto3|glottoname3|glotto4|glottoname4|glotto5|glottoname5|glottorefname|glottorefname2|glottorefname3|glottorefname4|glottorefname5|glottofoot
|lingua
|map|mapsize|mapalt|mapcaption|map2|mapalt2|mapcaption2|boxsize
|map|mapsize|mapalt|mapcaption|map2|mapalt2|mapcaption2|boxsize
}}<!--
}}<!--
-->{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|<!--blank-->|[[Category:Languages without family color codes]]}}<!--
-->{{#ifeq:{{Infobox language/family-color|{{{familycolor|}}}}}|<!--blank-->|[[Category:Languages without family color codes]]}}<!--
-->{{#if:{{{glotto|}}}{{{glotto2|}}}{{{glotto3|}}}{{{glotto4|}}}{{{glotto5|}}}|<!--ok-->|[[Category:Families missing Glottolog code]]}}<!--
 
-->{{#if:{{{glotto|}}}|{{#if:{{{glottorefname|}}}{{{glottoname|}}}|<!--ok-->|{{#ifeq:{{lc:{{{glotto|}}}}}|none|<!--ok-->|{{#ifeq:{{lc:{{{glotto|}}}}}|na|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}}}}}<!--
-->{{#if:{{{glotto2|}}}|{{#if:{{{glottoname2|}}}{{{glottorefname2|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->{{#if:{{{glotto3|}}}|{{#if:{{{glottoname3|}}}{{{glottorefname3|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->{{#if:{{{glotto4|}}}|{{#if:{{{glottoname4|}}}{{{glottorefname4|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->{{#if:{{{glotto5|}}}|{{#if:{{{glottoname5|}}}{{{glottorefname5|}}}|<!--ok-->|[[Category:Articles with unnamed Glottolog code]]}}}}<!--
-->}}<noinclude>
-->}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 21:00, 6 April 2019

{{{name}}}
Geographic
distribution
Linguistic classificationDefault
  • {{{name}}}