Template:Legend inline: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Legend/styles.css" /> | <includeonly><!-- | ||
--><templatestyles src="Legend/styles.css" /><!-- | |||
--><span class="legend nowrap"><!-- | |||
--><span class="legend-color mw-no-invert" style="<!-- | |||
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}}<!-- | |||
-->{{#if:{{{1|}}}|background-color: {{{1}}}}}<!-- | |||
-->{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}}<!-- | |||
-->{{#if:{{{size|}}}|font-size:{{{size}}};}}"><!-- | |||
-->{{#if:{{{text|}}}{{{alt|}}} | |||
| <span class="legend-text" style="{{#if:{{{alt|}}}|color:{{{1|}}};}}font-family: monospace, monospace;">{{If empty|{{{alt|}}}|{{Encodefirst|{{{text|}}}}}| }}</span>| }}<!-- | |||
{{#if:{{{ | --></span><!-- | ||
</span> | |||
| |||
< | --> {{{2|}}}<!-- | ||
<noinclude> | --></span><!-- | ||
--></includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |