Difference between revisions of "Template:Legend inline"

From blackwiki
Jump to navigation Jump to search
imported>Yahia.barie
imported>DePiep
(font-size expected over whole template, it is "inline". and add tracking cat, cleanup)
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}}}}}}; background-color:{{{1|transparent}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|<span style="font-size:95%;">{{{text}}}</span>|&nbsp;}}</span>&nbsp;{{{2|}}}</includeonly><noinclude>
+
<includeonly><span style="display:inline-block; width:1.5em; height:1.5em; margin:1px 0; border:{{{border|1px solid {{{outline|black}}}}}}; background-color:{{{1|transparent}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|<span style="font-size:{{{size|95%}}};">{{{text}}}</span>|&nbsp;}}</span><span style="font-size:{{{size|100%}}};">&nbsp;{{{2|}}}</span><!--
{{Documentation}}
+
-->{{#if:{{{size|}}}|[[Category:Pages that use a Legend template and need attention|inline, {{PAGENAME}}]]}}</includeonly><noinclude>
[[Category:Legend templates]]
+
{{documentation}}
 
 
[[bn:টেমপ্লেট:Legend inline]]
 
[[ko:틀:범례줄]]
 
[[id:Templat:Legend inline]]
 
[[tr:Şablon:Legend inline]]
 
[[ur:سانچہ:Legend inline]]
 
 
</noinclude>
 
</noinclude>

Revision as of 11:15, 9 January 2013

Template documentation[view] [edit] [history] [purge]

Script error: No such module "Uses TemplateStyles".

Description

  • Shows a legend with a coloured box.
  • This template differs from Template:Legend only in that it uses display:inline to prevent line breaks after each legend.

Usage

See Template:Legend/doc for usage.

See also

  • For the original version of this template using display:block, see {{Legend}}
  • For legend rows representing lines, see {{legend-line}}