Template:Lengths table/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

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

Usage

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

<templatedata> { "params": { "margin-right": { "description": "Right margin of the element. Include \"em\", \"px\", \"%\", etc., after the number.", "type": "string", "default": "12pt" }, "margin-bottom": { "description": "Bottom margin of the element. Include \"em\", \"px\", \"%\", etc., after the number.", "type": "string", "default": "16pt" }, "float": { "description": "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.", "type": "string", "suggestedvalues": [ "none", "left", "right" ], "default": "left" }, "clear": { "description": "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.", "type": "string", "suggestedvalues": [ "none", "left", "right", "both" ], "default": "left" }, "header": { "description": "Caption of the table.", "type": "string", "default": "Lengths", "suggested": true }, "length_ref": { "description": "Place the reference for the road's length in this parameter.", "type": "string", "suggested": true } }, "format": "inline", "description": "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." } </templatedata>