Template:Lengths table/doc
This is a documentation subpage for Template:Lengths table. It may contain usage information, categories and other content that is not part of the original template page. |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
margin-right | margin-right | Right margin of the element. Include "em", "px", "%", etc., after the number.
| String | optional |
margin-bottom | margin-bottom | Bottom margin of the element. Include "em", "px", "%", etc., after the number.
| String | optional |
float | float | 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.
| String | optional |
clear | clear | 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.
| String | optional |
header | header | Caption of the table.
| String | suggested |
length_ref | length_ref | Place the reference for the road's length in this parameter. | String | suggested |