Template:Legend: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Nihiltres Updated from sandbox to use TemplateStyles |
meta>Nihiltres Updated from sandbox to use Template:Greater color contrast ratio to ensure accessible labels by default |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Legend/styles.css" /><div class="legend"><span class="legend-color" style="<!-- | <includeonly><!-- | ||
--><templatestyles src="Legend/styles.css" /><!-- | |||
--><div class="legend"><span class="legend-color" style="<!-- | |||
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}} <!-- | -->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}} <!-- | ||
-->{{#if:{{{1|}}}| | -->{{#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>| }}</span> {{{2|}}}</div></includeonly><noinclude> | -->-webkit-column-break-inside: avoid;"><!-- | ||
{{Documentation}} | -->{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>| }}</span><!-- | ||
</noinclude> | --> {{{2|}}}</div><!-- | ||
--></includeonly><noinclude>{{Documentation}}</noinclude> | |||
Revision as of 21:43, 31 August 2020
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.