Template:Statute table/doc

This page contains information on the templates used to creates the tables for the Chronological Table in Chronological Table and Index of the Statutes.

Parameters

 * Chapter:
 * Subject:
 * Repeal:

Higher Level Templates (and related)

 * Statute table/header - This is used to generate the header lines of the table in the Page namespace:, It should be placed at the start of the table, or in the header of a Page:
 * Statute table/footer - This is used to generate the closure of the table (in Page: namespace: and the references section if relevant, It should be placed at the end of the table, or in the footer of a Page:
 * Statute table/s - This template is used to generate a table header in Mainspace, it is ignored in Page:namespace. It should be placed at the start of a section immediately after the relevant tag, followed by a line-break between it and the statute table/year or statute table/chapter, &c. which immediately follows it.
 * Statute table/e - This template is used to generate a table footer (and marginal notes) in Mainspace, it is ignored in Page :namespace It  should be placed at the end of a section immediately preceding the relevant tag. There should be a line break between this template at the precceding statute table/chapter,Statute table/repeal, Statute table/repeal-follow &c.
 * Statute table/continuation - This is used to generate the continuation line in the headers of the Page:d version of table - takes a single parameter, being the the text to be used (without the cont.)}}
 * Statute table/chapter - See Documentation
 * Statute table/year -Generates a year entry which precedes /chapter entries. Takes 2 parameters -  is a short form suitable for use in an anchor, 1876, and  being the long form. e.g 39 & 40 Vict. (1876)
 * Statute table/named - As Documentation, with the additional  (non optional), used to provide a chapter name, which is shown in ( itlaicised brackets) . Typically this name will be a short-title.
 * Statute table/anchored - Uses for the Chapter numbering (which should be given as it appears in original scan.), and  parameter to create a URI style anchor for the entry.  is used for title or name (unlike the /named variant it does not appear in brackets). Other parameters as per Documentation for the /chapter template.
 * Statute table/repeal - used to insert additional repeals. Takes a single parameter, being the repeal concerned.
 * Statute table/repeal-follow - used to insert additional repeals, to follow on from a lead description. (Typically the lead will say something like "Rep in Part—" with this template being used to indicate the repeals "in part" concerned.  Takes a single parameter, being the repeal concerned.

How to Transclude portions of the Table generated by these templates in main space.
Place: and into the wiki-text at the appropriate parts. Please note that the line-break requirements noted earlier are significant for this.

Where is the name of the "section" of the table, typically a short code for the monarch, regnal year or calander year.

In main space use a pages tag, (see Help:Transclusion) where the and  take the relevant  name used.

Where a section is present within a single Pages, the  should be used instead, and the relevant single page given via the  parameter.