{{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 to left or center 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 |align_note=right or |align_note=center to change the alignment.

TemplateData edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Traffic volume row in articles based on its TemplateData.

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).

Template parameters

ParameterDescriptionTypeStatus
Location1

Location of the measuremnet

Stringrequired
1st column data alignmentalign1

Normally not used (may be set to 'left', 'center', or 'right' (default))

Stringoptional
1st column data2

Data for the first column

Stringrequired
2nd column data alignmentalign2

Normally not used (may be set to 'left', 'center', or 'right' (default))

Stringoptional
2nd column data3

Data for the second column. Required if the table has two or more data columns.

Stringoptional
3rd column data alignmentalign3

Normally not used (may be set to 'left', 'center', or 'right' (default))

Stringoptional
3rd column data4

Data for the third column. Required if the table has three or more data columns.

Stringoptional
4th column data alignmentalign4

Normally not used (may be set to 'left', 'center', or 'right' (default))

Stringoptional
4th column data5

Data for the fourth column. Required if the table has four data columns.

Stringoptional
5th column data alignmentalign5

Normally not used (may be set to 'left', 'center', or 'right' (default))

Stringoptional
Notenote

A note regarding this row. Should only be used if the table has a 'Notes' column (set in 'Traffic volume top' template)

Stringoptional
Note alignmentalign_note

Normally not used (may be set to 'left' (default), 'center', or 'right')

Stringoptional

See also edit