Template:Legend: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Zocky making the box the same size with and without the border, hopefully. will update the documentation immediately. may mess with some pages where border is set, but hopefully it's all handled gracefully |
Quantumhusky (talk | contribs) m 1 revision imported |
||
| (21 intermediate revisions by 13 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>< | <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:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!-- | |||
-->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}}<!-- | |||
-->{{#if:{{{size|}}}|font-size:{{{size}}};}}"><!-- | |||
{{ | -->{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>| }}<!-- | ||
--></span><!-- | |||
--> {{{2|}}}<!-- | |||
--></div><!-- | |||
--></includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 06:28, 6 June 2021
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.