Template:Legend: Difference between revisions
(Created page with "<includeonly><span style="display:inline-block; width:1.5em; height:1.5em; margin:1px 0; border:{{{border|1px solid {{{outline|black}}}}}}; {{#switch:{{{3|}}}|circle=border-ra...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="display:inline-block; width:1.5em; height:1.5em; margin:1px 0; border:{{{border|1px solid {{{outline|black}}}}}}; {{#switch:{{{3|}}}|circle=border-radius:1.5em;||square=border-radius:0px;}} background-color:{{{1|transparent}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|{{{text}}}| }}</span> {{{2|}}}</includeonly><noinclude> | <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}}}}}}; {{#switch:{{{3|}}}|circle=border-radius:1.5em;||square=border-radius:0px;}} background-color:{{{1|transparent}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|{{{text}}}| }}</span> {{{2|}}}</div></includeonly><noinclude> | ||
{{Wpderiv|Legend}} | {{Wpderiv|Legend}} | ||
[[Category:Formatting and function templates]]</noinclude> | [[Category:Formatting and function templates]]</noinclude> |
Latest revision as of 14:08, 6 November 2021
This template is modeled after and adapted from a template originally found on Wikipedia and licensed under Creative Commons-ShareAlike-Attribution 3.0.