Template:Legend inline: Difference between revisions
From Vigyanwiki
m (don't invert in dark mode (same as on template:legend)) |
m (1 revision imported from alpha:Template:Legend_inline) |
| (One intermediate revision by one other user not shown) | |
(No difference)
| |
Latest revision as of 14:47, 3 February 2023
| This template 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.
Limitations
Using certain special characters in |text= that have meaning in wikitext can cause unexpected results. To use * in |text=, use |text={{asterisk}}. To use # in |text=, use |text={{number sign}}.
See also
- For the original version of this template using display:block, see {{Legend}}
- For legend rows representing lines, see {{legend-line}}