Template:HCPP toc/doc

Usage
Styling template for the sectional TOCs in the House of Commons Parliamentary Papers.

These can take more than one form, use classes to select the format. Column count and so on may depend on the class.

_NTDSP_col_rules: Number, title, date, subject, page
Formats a 7-column table: section number, title, month, day, year, subject, page number. There are vertical rules between some of the columns.

Line-wrapping is enabled on in the subject column. It can be enabled in the title column (2nd column) with  if needed.

Once the table is opened with, treat as a normal 7-column table.


 * 1.
 * To the Earl of Elgin
 * Apr. || 20, || 1857
 * 1
 * }
 * }


 * 1.
 * To the Earl of Elgin
 * Apr. || 20, || 1857
 * 1
 * }
 * }

_allow_wrap_col2
Overrides styles that disable line wrapping for certain columns. For, example,  tables have the titles in column 2, which often has dittoes in it and does not wrap tidily. Therefore, line wrapping is disabled in that class for that column.

These classes can be used on the whole table or in individual rows as needed. If a line break is needed in a specific place,  will always work.


 * 1.
 * This title will not wrap
 * Apr. || 20, 1857
 * 1
 * - class="_allow_wrap_col2"
 * 2.
 * This title may wrap to the next line due to _allow_wrap_col2
 * Apr. || 21, || 1857
 * 2
 * 3.
 * This title is manually wrapped to the next line No extraclass is used
 * Apr. || 21, || 1857
 * 3
 * }
 * Apr. || 21, || 1857
 * 3
 * }
 * }


 * 1.
 * This title will not wrap
 * Apr. || 20, || 1857
 * 1
 * - class="_allow_wrap_col2"
 * 2.
 * This title may wrap to the next line due to _allow_wrap_col2
 * Apr. || 21, || 1857
 * 2
 * 3.
 * This title is manually wrapped to the next line No extra class is used
 * Apr. || 21, || 1857
 * 3
 * }
 * Apr. || 21, || 1857
 * 3
 * }
 * }