Template:Legend: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:{{{class|}}}
<includeonly>{{#switch:{{{class|}}}
|#default=<includeonly><div class="legend"><span class="legend-color" style="display:inline-block; width:1.5em; height:1.5em; margin:1px 0; border:{{{border|1px solid {{{outline|black}}}}}}; background-color:{{trim|{{{1|transparent}}}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|<span class="legend-text" style="font-size:95%;">{{{text}}}</span>|&nbsp;}}</span>&nbsp;{{{2|}}}</div></includeonly><noinclude>
|outline|#default=<div class="legend"><span class="legend-color" style="display:inline-block; width:1.5em; height:1.5em; margin:1px 0; border:{{{border|1px solid {{{outline|black}}}}}}; background-color:{{trim|{{{1|transparent}}}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|<span class="legend-text" style="font-size:95%;">{{{text}}}</span>|&nbsp;}}</span>&nbsp;{{{2|}}}</div>
|inline=<includeonly><!--
|inline=<!--
--><templatestyles src="Legend/styles.css" /><!--
--><templatestyles src="Legend/styles.css" /><!--
--><span class="legend nowrap"><!--
--><span class="legend nowrap"><!--
Line 17: Line 17:


--></span><!--
--></span><!--
--></includeonly><noinclude>
-->
}}
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude><noinclude>[[Category: Diagram templates]]</noinclude>
</noinclude><noinclude>[[Category: Diagram templates]]</noinclude>

Latest revision as of 04:34, 30 April 2026

[create] Template documentation