Template:Legend-line/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Legend-line. It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
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[edit source]
External links[edit source]
- Template:Legend-line/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.