Template:Infobox language: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 6: Line 6:


| abovestyle = font-size:130%;<!--
| abovestyle = font-size:130%;<!--
             -->color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!--
             -->color: {{#ifexpr: {{color contrast ratio|{{Infobox language/family-color|{{{familycolor|}}}}}}} < 4.5|white|black}};<!--
             -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};
             -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};
| above = <includeonly>{{{name|Undetermined}}}</includeonly>
| above = <includeonly>{{{name|Undetermined}}}</includeonly>
Line 22: Line 22:
| caption = {{{imagecaption|}}}
| caption = {{{imagecaption|}}}


| headerstyle = color:{{#if: {{#ifeq: {{Infobox language/family-color|{{{familycolor|}}}}}|black|asdf}}|white|{{{fontcolor|black}}}}};<!--
| headerstyle = color: {{#ifexpr: {{color contrast ratio|{{Infobox language/family-color|{{{familycolor|}}}}}}} < 4.5|white|black}};<!--
             -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};
             -->background-color:{{Infobox language/family-color|{{{familycolor|Default}}}}};