Template:Statute table/year

From Wikisource
Jump to navigation Jump to search

|-class="__styear" |id="" title="Anchor:" class="HighlightedAnchor" | |  |  | 

Template documentation[view] [edit] [history] [purge]


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

Usage of the Basic template[edit]

{{statute table 
 | Chapter = Year, statute, and chapter
 | Subject = Subject-matter
 | Repeal = How repealed or otherwise determined wholly or in part, specfiy.
in a group of entries, on which Repeal-rowspan is specfied for the first entry of the group.
}}

Parameters[edit]

  • Chapter:
  • Subject:
  • Repeal:

Example[edit]

{{Statute table/header}}
{{statute table |Chapter=3.|Subject=Redisseisin|Repeal=Rep. as to E., Stat. Law Rev. Act, 1863.}}
{{Statute table/footer}}
Year, statute, and chapter. Subject-matter. How repealed or otherwise determined, wholly or in part
c. 3.   Redisseisin Rep. as to E., Stat. Law Rev. Act, 1863.

Higher Level Templates (and related)[edit]

  • {{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 <section begin=""/> 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 <section end=""/> 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 -1 is a short form suitable for use in an anchor, 1876, and 2 being the long form. e.g 39 & 40 Vict. (1876)
  • {{Statute table/named}} - As Documentation, with the additional Chapter Name (non optional), used to provide a chapter name, which is shown in ( itlaicised brackets) . Typically this name will be a w:short-title.
  • {{Statute table/anchored}} - Uses Override Chapter for the Chapter numbering (which should be given as it appears in original scan.), and Anchor parameter to create a URI style anchor for the entry. Chapter name 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.[edit]

Place:
<section begin="__section" />{{tl|Statute table/s}}

and

{{tl|Statute table/e}}<section end="__section" />

into the wiki-text at the appropriate parts. Please note that the line-break requirements noted earlier are significant for this.

Where __section 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 fromsection and tosection take the relevant __section name used.

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