Удзельнік:Plaga med/Шаблон:Legend inline
Каб пазбегнуць паломак старонак, дзе ўжыты гэты шаблон, пажадана эксперыментаваць у сваёй асабістай прасторы.
Гэты шаблон ужывае стылі:
|
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.
Example 1
That is a {{legend inline|#bfb|size=80%}} green box.
That is a Старонка Удзельнік:Plaga med/Шаблон:Legend inline/styles.css павінна мець мадэль зместу «Ачышчаны CSS» для TemplateStyles (цяперашняя мадэль — «CSS»).
green box
.
Example 2
That is a {{legend inline|#bfb|text=green}} box.
That is a Старонка Удзельнік:Plaga med/Шаблон:Legend inline/styles.css павінна мець мадэль зместу «Ачышчаны CSS» для TemplateStyles (цяперашняя мадэль — «CSS»).
Шаблон:If empty
box.
Example 3
That is a {{legend inline |#bfb |box |border = 1px solid red |textcolor = #00e |size = 150% |text = _green_}}.
That is a Шаблон:Legend inline.
See also
- For the original version of this template using display:block, see {{Legend}}
- For legend rows representing lines, see {{legend-line}}