Difference between revisions of "Template:Legend2"

From blackwiki
Jump to navigation Jump to search
imported>Izno
imported>Nihiltres
(Nominating template for deletion)
Line 1: Line 1:
<span style="margin:0; font-size:90%; white-space:nowrap;"><span class="legend-text" style="border:{{{border|none}}}; padding:1px .6em; background-color:{{{1|none}}}; color:{{{textcolor|black}}}; font-size:95%; line-height:1.25; text-align:center;">{{{text|&nbsp;}}}</span>{{#if:{{{text|}}}||&nbsp;}}{{{2|}}}</span><noinclude>
+
<span style="margin:0; font-size:90%; white-space:nowrap;"><span class="legend-text" style="border:{{{border|none}}}; padding:1px .6em; background-color:{{{1|none}}}; color:{{{textcolor|black}}}; font-size:95%; line-height:1.25; text-align:center;">{{{text|&nbsp;}}}</span>{{#if:{{{text|}}}||&nbsp;}}{{{2|}}} {{Template for discussion/dated|action=|page=Legend2|link=Wikipedia:Templates for discussion/Log/2020 September 17#Template:Legend2|type=tiny|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}</span><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:05, 17 September 2020

   Template:Template for discussion/dated

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}}