Template:Element cell-named: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<span <!-- span the title + cellstyle attributes:
<span border="1px"<!-- span the title + cellstyle attributes:
TITLE:
TITLE:
--> title="{{{title|{{ucfirst:{{trim|{{#if:{{{2|}}}|{{{2}}}|{{{3|}}}}}}}}}{{#if:{{{6|{{{legend|}}}{{{5|}}}{{{7|}}}}}}|&#x3a;}}{{#if:{{{legend|}}}|&#x20;{{{legend}}}|{{lc:{{#if:{{{6|}}}|&#x20;{{trim|{{{6}}}}}{{#if:{{{5|}}}{{{7|}}}|&#x3b;}}}}{{#if:{{{7|}}}|&#x20;{{trim|{{{7}}}}};}}{{#if:{{{5|}}}|&#x20;{{trim|{{{5}}}}}}}}}}}}}}" <!--
--> title="{{{title|{{ucfirst:{{trim|{{#if:{{{2|}}}|{{{2}}}|{{{3|}}}}}}}}}{{#if:{{{6|{{{legend|}}}{{{5|}}}{{{7|}}}}}}|&#x3a;}}{{#if:{{{legend|}}}|&#x20;{{{legend}}}|{{lc:{{#if:{{{6|}}}|&#x20;{{trim|{{{6}}}}}{{#if:{{{5|}}}{{{7|}}}|&#x3b;}}}}{{#if:{{{7|}}}|&#x20;{{trim|{{{7}}}}};}}{{#if:{{{5|}}}|&#x20;{{trim|{{{5}}}}}}}}}}}}}}" <!--
CELL STYLE:
CELL STYLE:
-->style="<!--
-->style="<!--
-->background: {{{bg|{{element color|{{{6|white}}}}}|}}}; <!--
-->background: {{{bg|{{element color|{{{6|white}}}}}|}}};  
-->border-top: {{element color|{{{7|}}}}}; <!-- e.g. "2px solid #8811ff" for primordial
-->border-bottom: {{element color|{{{7|}}}}}; <!--
-->display: block; <!--
-->display: block; <!--
-->line-height: 1.1em; <!--
-->line-height: 1.1em; <!--

Revision as of 20:58, 9 September 2017

display: block; line-height: 1.1em; overflow: hidden; padding: 0 0 2px 0; text-align: center; vertical-align: bottom; "> ''