Jump to content

Template:Lengths table/doc

From Wikipedia, the free encyclopedia

This template adds a table pre-formatted for listing road lengths.

Usage

[edit]

Place this template on a page and add the desired parameters. After the parameters, close the template as usual with two closing braces. After that point, add a regular table, excluding the opening brace and vertical line and including the closing vertical line and brace at the end.

Template data

[edit]

This template adds a table pre-formatted for listing road lengths. Please check this template's documentation; you must enter wikitext editing mode and add the rest of the table to complete the process of adding it.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
margin-rightmargin-right

Right margin of the element. Include "em", "px", "%", etc., after the number.

Default
12pt
Stringoptional
margin-bottommargin-bottom

Bottom margin of the element. Include "em", "px", "%", etc., after the number.

Default
16pt
Stringoptional
floatfloat

If "left" or "right" are used, the element will appear on that side of the page. Use "none" if the element should appear on the left directly below a paragraph.

Suggested values
none left right
Default
left
Stringoptional
clearclear

If "left", "right", or "both" are used, other page elements below this one (if on the left with "left", if on the right with "right", and both sides with "both") in the wikitext will not appear next to it, even if they physically could.

Suggested values
none left right both
Default
left
Stringoptional
headerheader

Caption of the table.

Default
Lengths
Stringsuggested
length_reflength_ref

Place the reference for the road's length in this parameter.

Stringsuggested