قالب:Legend-line
Usage
Shows a legend row with a colored line.
- Example
Borders in 1914
Borders in 1920
{{legend-line|black solid 2px|Borders in 1914}} {{legend-line|red dotted 2px|Borders in 1920}}
Inline: Borders in 1914 Borders in 1920
{{legend-line|black solid 2px|Borders in 1914|inline=yes}} {{legend-line|red dotted 2px|Borders in 1920|inline=yes}}
- Usage
{{legend-line|line type|label}}
line type is passed to the css border property, and can include properties like solid, dotted, dashed, double, etc.
See also
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Legend-line
Shows a legend entry with a styled line (including color)
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
CSS style | 1 | The CSS style for the legend entry
| نص | مطلوب |
Caption | 2 | Text displayed in the entry, next to the line style
| سطر | مطلوب |
inline? | inline | If 'yes', suppresses new line/line feed
| نص | اختياري |
The above documentation is transcluded from قالب:Legend-line/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |