Template:HCPP vtoc/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

Creates a styled TOC for House of Commons Parliamentary Papers.

The table is laid out as a normal 3-colum table once this template invokes the styles and opens the table. There are some classes to use for "special" rows:

  • _title: for the main title rows
  • _section: for indented section headings

Otherwise, simply use as a normal table:

{{HCPP vtoc}}
|- class="_title"
|
| STATE PAPERS:
|
|- class="_section"
|
| China: Her Majesty's Naval Forces at Canton:
| 
|-
| [2206.]
| Further Papers-relating to the Proceedings of Her Majesty's Naval Forces at ''Canton''
| p. 1
|}
STATE PAPERS:
China: Her Majesty's Naval Forces at Canton:
[2206.] Further Papers-relating to the Proceedings of Her Majesty's Naval Forces at Canton p. 1

The table can split across pages just like any other table, but remember to invoke it with {{HCPP vtoc}} on each page.

See also[edit]

  • {{TOC begin}}: for generic TOC templates
  • {{HCPP toc}}: formatting for sectional TOCs in HPCC volumes.