Difference between revisions of "Template:Legend2/sandbox"
Jump to navigation
Jump to search
imported>Thayts (really final) |
imported>Matt Fitzpatrick m (inline elements can't have width) |
||
| 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 | + | <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| }}}</span> {{{2|}}}</span><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 21:29, 16 August 2016
| This is the template sandbox page for Template:Legend2 (diff). See also the companion subpage for test cases. |
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}}
| The above documentation is transcluded from Template:Legend2/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |