Changes

Jump to navigation Jump to search
m
+cat
<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;" title="{{{1|}}}">{{#if:{{{text|}}}|<span class="legend-text">{{{text}}}</span>|&nbsp;}}</span>&nbsp;{{{2|}}}</div></includeonly><noinclude>
{{Documentation|content=A copy of {{tl|Legend|3=en}} from {{W||wikipedia}}, which appearance is different than {{tl|Legend}} on Commons (smaller boxes).
:Examples:
{{Legend-small|turquoise| color box {{0}} ''from'' {{Tle|t=Legend-small|turquoise| color box}} }}
{{Legend-small|#fa0812| red color {{0}} ''from'' {{Tle|t=Legend-small|fa0812| red color}} }}
{{Legend-small|#FF0 | <tt>&#35;yellow</tt> {{0}} ''from'' {{Tle|t=Legend-small|&#35;FF0|<nowiki><tt>#yellow</tt></nowiki>|p3=text|Y}}
| text = Y}}
----
{{Legend|lime|green {{0|00}} ''from'' {{Tle|T=Legend|lime|green }} {{0|WW}} {{T|Legend}} makes larger box than {{T|Legend-small|link=n}} }}
----
{{0|WWWWWWW}} ''from'' {{Tle|T=ColorString|/-/#0f47af/azure/#DA121A/gules/#999/cendrée}}:
{{ColorString|/-/#0f47af/azure/#DA121A/gules/#999/cendrée}}
----
{{0|WWWWWWW}} ''from'' {{Tle|T=ColorString|p1=1 = +|w/-/#900/wm-r/#396/wm-g/#069/wm-b}}
{{ColorString|1=+=w/-/#900/wm-r/#396/wm-g/#069/wm-b}}

[[Category:Colorbox formatting templates| ]]
[[Category:Legend templates| ]]
}}</noinclude>
Anonymous user

Navigation menu