Difference between revisions of "Template:Leftlegend"

From blackwiki
Jump to navigation Jump to search
imported>Namoroka
(Undid revision 669920374 by Keastes (talk))
imported>Pppery
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="margin:0px; padding-bottom:1px; font-size:90%; text-align:left; display:block;"><span style="border:{{{border|{{{outline|{{{1|transparent}}}}}} solid 1px;}}}; background-color:{{{1|none}}}; {{#if:{{{text|}}}|{{#if:{{{textcolor|}}}|color:{{{textcolor}}}|}}|color:{{{1|none}}}}}">&nbsp;&nbsp;{{{text|}}}&nbsp;&nbsp;</span>&nbsp;{{{2|}}}</span></includeonly><noinclude>
+
<includeonly><!--
{{documentation|content=
+
--><templatestyles src="Legend/styles.css" /><!--
 +
--><div class="legend" style="text-align:left;"><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}}};}} <!--
 +
-->-webkit-column-break-inside: avoid;"><!--
 +
-->{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>|&nbsp;}}</span><!--
 +
-->&nbsp;{{{2|}}}</div><!--
 +
--></includeonly><noinclude>{{documentation|content=
 +
{{Uses TemplateStyles|Template:Legend/styles.css|noprotcat=1}}
 
A fork of {{tl|legend}} with text-align set to left.
 
A fork of {{tl|legend}} with text-align set to left.
 
== See also ==
 
== See also ==

Latest revision as of 19:13, 11 September 2020

Template documentation

Script error: No such module "Uses TemplateStyles". A fork of {{legend}} with text-align set to left.

See also