Template:Hansard/doc

Usage
This template is used for auto generating a citation when using Historic Hansard (UK Parliament) as a reference. It will determine the date from the url and generate a title from the url (both of which are stored in the url). Only part of the url needs to be entered into the parameter (from the year onwards).

Parameters

 * address, mandatory, defines the url portion from the year onwards (can also be specified as first parameter without the url=)
 * TITLE, optional, specifies a manual title (default title is taken from the url)
 * NAME, optional, defines whether it relates to commons, lords or written (default commons)

See the primary Hansard citation template for additional parameters (note that the "date" parameter is auto-generated and cannot be overwritten).

Example
If the url is https://api.parliament.uk/historic-hansard/commons/1914/aug/07/royal-assent, only the part from "1914" should be entered. For example, results in