Template:Traffic volume row
Location | Volume | ||||
---|---|---|---|---|---|
{{{1}}} | {{{2}}} | ||||
|
{{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
[edit]Usage is as follows:
{{Traffic volume top}}
{{Traffic volume row}}
...
{{Traffic volume row}}
{{Traffic volume bottom}}
{{Traffic volume row|location|data (column 1)|data (column 2)|data (column 3)|data (column 4)|note=}}
Parameters
[edit]|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|notes=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 toleft
orcenter
to change the alignment, e.g. to center align a dash in a column where 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|align_note=right
or|align_note=center
to change the alignment.
TemplateData
[edit]TemplateData for Traffic volume row
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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Location | 1 | Location of the measuremnet | String | required |
1st column data alignment | align1 | Normally not used (may be set to 'left', 'center', or 'right' (default)) | String | optional |
1st column data | 2 | Data for the first column | String | required |
2nd column data alignment | align2 | Normally not used (may be set to 'left', 'center', or 'right' (default)) | String | optional |
2nd column data | 3 | Data for the second column. Required if the table has two or more data columns. | String | optional |
3rd column data alignment | align3 | Normally not used (may be set to 'left', 'center', or 'right' (default)) | String | optional |
3rd column data | 4 | Data for the third column. Required if the table has three or more data columns. | String | optional |
4th column data alignment | align4 | Normally not used (may be set to 'left', 'center', or 'right' (default)) | String | optional |
4th column data | 5 | Data for the fourth column. Required if the table has four data columns. | String | optional |
5th column data alignment | align5 | Normally not used (may be set to 'left', 'center', or 'right' (default)) | String | optional |
Note | note | A note regarding this row. Should only be used if the table has a 'Notes' column (set in 'Traffic volume top' template) | String | optional |
Note alignment | align_note | Normally not used (may be set to 'left' (default), 'center', or 'right') | String | optional |