Template:Legend: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
Ookami (talk | contribs)
m 96 revisions imported
en>Andrybak
m reformat code; cleanup whitespace
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><templatestyles src="Legend/styles.css" /><!--
--><templatestyles src="Legend/styles.css" /><!--
--><div class="legend"><span class="legend-color" style="<!--
--><div class="legend"><!--
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}} <!--
  --><span class="legend-color" style="<!--
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}}<!--
-->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!--
-->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!--
-->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}} <!--
-->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}}<!--
-->{{#if:{{{size|}}}|font-size:{{{size}}};}} <!--
-->{{#if:{{{size|}}}|font-size:{{{size}}};}}"><!--
-->-webkit-column-break-inside: avoid;"><!--
 
-->{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>|&nbsp;}}</span><!--
    -->{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>|&nbsp;}}<!--
-->&nbsp;{{{2|}}}</div><!--
  --></span><!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
 
  -->&nbsp;{{{2|}}}<!--
 
--></div><!--
--></includeonly><noinclude>
{{Documentation}}
</noinclude>

Revision as of 12:16, 17 April 2021