Template:Legend-line/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Legend-line (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

[edit] 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}}
Usage
{{legend-line|line type|label}}

line type is passed to the css border property, and can include properties like solid, dotted, dashed, etc.

[edit] See also