Template:Legend inline: Difference between revisions

No edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
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}}};}}"><!--


<span class="legend nowrap">
    -->{{#if:{{{text|}}}{{{alt|}}}
<span class="legend-color mw-no-invert" style="<
        | <span class="legend-text" style="{{#if:{{{alt|}}}|color:{{{1|}}};}}font-family: monospace, monospace;">{{If empty|{{{alt|}}}|{{Encodefirst|{{{text|}}}}}|&nbsp;}}</span>|&nbsp;}}<!--
{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}}
  --></span><!--
{{#if:{{{textcolor|}}}|color:{{{textcolor}}};}}
{{#if:{{{size|}}}|font-size:{{{size}}};}}">


   
  -->&nbsp;{{{2|}}}<!--
</span>
&nbsp;{{{2|}}}


</span>
--></span><!--
 
--></includeonly><noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Formatting Templates]]
</noinclude>
</noinclude>