Difference between revisions of "Template:Legend inline"
Jump to navigation
Jump to search
imported>MusikAnimal m (Protected "Template:Legend inline": Highly visible template; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
imported>Sdkb (documentation should be for the template itself) |
||
| 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:{{trim|{{{1|transparent}}}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|<span style="font-size:95%;">{{{text}}}</span>| }}</span> {{{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:{{trim|{{{1|transparent}}}}}; color:{{{textcolor|black}}}; font-size:{{{size|100%}}}; text-align:center;">{{#if:{{{text|}}}|<span style="font-size:95%;">{{{text}}}</span>| }}</span> {{{2|}}}</includeonly><noinclude> | ||
| − | {{documentation | + | {{documentation}} |
</noinclude> | </noinclude> | ||
Revision as of 06:36, 4 June 2020
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:Legend inline/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. |