Template:Traffic volume row/doc

traffic volume row (along with Traffic volume top and Traffic volume bottom) is used for creating tables of traffic volume data. Traffic volume row defines the table's rows. Use one for each row.

Usage
Usage is as follows:

Parameters

 * 1: The location where data for this row was collected
 * 2, 3, 4, 5: the data (numbers). Use as many as needed to match the number of columns defined in traffic volume top. If data is unavailable for one of the columns, use a dash or hard space instead.
 * note: A note regarding this location. Only use if yes is set in traffic volume top

The following parameters provide further customisation:
 * align1, align2, align3, align4: The default alignment of the data (number) cells is to the right. These may be set to  or   to change the alignment, e.g. to center align a dash in a cloumn wherr data isn't available.
 * align_note: Change the alignment of the note column. The default is left aligned, but this parameter may be set to right or center to change the alignment.

TemplateData
{ "description": "Creates a row of data for a traffic volume table. Use with the 'Traffic volume top' template (for the table headings) and 'Traffic volume bottom' template (to close the table).", "params": { "1": {     "label": "Location", "description": "Location of the measuremnet", "type": "string", "required": true },   "align1": { "label": "1st column data alignment", "description": "Normally not used (may be set to 'left', 'center', or 'right' (default))", "type": "string", "required": false },   "2": {      "label": "1st column data", "description": "Data for the first column", "type": "string", "required": true },   "align2": { "label": "2nd column data alignment", "description": "Normally not used (may be set to 'left', 'center', or 'right' (default))", "type": "string", "required": false },   "3": {      "label": "2nd column data", "description": "Data for the second column. Required if the table has two or more data columns.", "type": "string", "required": false },   "align3": { "label": "3rd column data alignment", "description": "Normally not used (may be set to 'left', 'center', or 'right' (default))", "type": "string", "required": false },   "4": {      "label": "3rd column data", "description": "Data for the third column. Required if the table has three or more data columns.", "type": "string", "required": false },   "align4": { "label": "4th column data alignment", "description": "Normally not used (may be set to 'left', 'center', or 'right' (default))", "type": "string", "required": false },   "5": {      "label": "4th column data", "description": "Data for the fourth column. Required if the table has four data columns.", "type": "string", "required": false },   "align5": { "label": "5th column data alignment", "description": "Normally not used (may be set to 'left', 'center', or 'right' (default))", "type": "string", "required": false },   "note": { "label": "Note", "description": "A note regarding this row. Should only be used if the table has a 'Notes' column (set in 'Traffic volume top' template)", "type": "string", "required": false },   "align_note": { "label": "Note alignment", "description": "Normally not used (may be set to 'left' (default), 'center', or 'right')", "type": "string", "required": false } } }