Template:Legend-line

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage[edit]

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.

See also[edit]