Template:LondonGazette/doc

This template is used to provide references to pages in the London Gazette online archive website at http://www.london-gazette.co.uk/. The London Gazette is the official newspaper of the British government for England and Wales in which all official notices are published. The template is provided to simplify the entering of addresses.

The template may also be used to provide references to pages in the online archives of the Edinburgh Gazette and Belfast Gazette at http://www.edinburgh-gazette.co.uk/ and http://www.belfast-gazette.co.uk/ respectively.

Usage
 
 * Basic form using minimum parameters to link to the reference

 
 * Using linkeddate to show the issue date as a link

 
 * Using endpage to refer to a range of pages in the link

 
 * Using city to refer to a page in the Edinburgh or Belfast Gazette in the link

 
 * Using supp to link to a page in a supplement to a Gazette

 
 * Using accessdate to provide a date information was retrieved

 
 * Using accessdaymonth and accessyear for a non-linked retrieved date shown as day month year

 
 * Using accessmonthday and accessyear for a non-linked retrieved date shown as month day year

 </tt>
 * All parameters, delete those you don't need


 * All parameters, vertical format:

Required parameters
For producing a wikilinked publication date:
 * issue: The issue number of the referenced Gazette
 * startpage: The page of the referenced Gazette on which the citation is found (or the first page of a range)
 * linkeddate: The publication date of the referenced Gazette in ISO 8601 YYYY-MM-DD format, for example "linkeddate = 1910-10-12". Must not be wikilinked.

For producing a non-wikilinked publication date:
 * date: The publication date of the referenced Gazette. This should be in the format day month year. This parameter is ignored if linkeddate parameter is used.

For producing a date of retrieval:
 * accessdate: Full date when item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = 2024-August-". Must not be wikilinked.

For producing a non-wikilinked date of retrieval:
 * accessmonthday and accessyear: Month and day when item was accessed, for example "accessmonthday = January 1", and year when item was accessed, for example "accessyear = 2006". Produces: Retrieved on January 1, 2006.
 * accessdaymonth and accessyear: Day and month when item was accessed, for example "accessdaymonth = 1 January", and year when item was accessed, for example "accessyear = 2006". Produces: Retrieved on 1 January 2006.

For a link in a supplement to a London Gazette:
 * supp: Required to correctly format the URL to link to a page in a Gazette supplement

Optional parameters
For a link to the Edinburgh, Oxford Gazette or Belfast Gazette:
 * endpage: The last page in a range of pages to be referenced.
 * city: Either "city=e" for Edinburgh Gazette, "city=b" for Belfast Gazette or "city=o" for the Oxford Gazette as the first 23 issues of the London Gazette were titled.

Obsolete parameter

 * notarchive: was formerly required to correctly format the URL to link to a page in a recent gazette (in approximately the last ten years). Since a change to the url scheme in January 2009, this parameter is redundant but may be found in links created prior to the change.

Source of information for parameters
To find the information to put into the parameters:
 * 1) Visit the Gazette website search page at either:
 * 2) *London: http://www.london-gazette.co.uk/search
 * 3) *Edinburgh: http://www.edinburgh-gazette.co.uk/search
 * 4) *Belfast: http://www.belfast-gazette.co.uk/search
 * 5) Enter search terms into the search fields including a date range
 * 6) When the list of matching Gazettes is displayed, click on a link and the site will open a window with a PDF image of a page of the gazette:
 * 7) From the dark band above the page image note the five digit issue number. It will also appear in the URL after ".../issues/".
 * 8) From the top of the page image note the page number. This may be up to five digits and also appears as the last group of characters in the URL.
 * 9) Note the publication date from the top of the page image
 * 10) If the reference needs to refer to a range of pages, find the last relevant page and note that from the page image or URL as before.
 * 11) Check if the page is part of an issue or a supplement
 * 12) If from a standard gazette issue, the following will be included in the URL, ".../pages/..." and no action is required.
 * 13) If the page is part of a supplement to an issue, the following will be included in the URL, ".../supplements/...", the parameter "supp=" must be added to the template. Any character may follow, as long as it is not left blank.
 * 14) Optionally, if the Belfast or Edinburgh gazettes are to be referenced, add the "city=" parameter. The London Gazette is the default option and will be used if this parameter is not used or if anything other than the "city=e","city=b" or "city=o" is entered. "city=l" may be used to explicitly refer to the London Gazette. "city=o" should only be used for issues 1 to 23 of the London Gazette as it was originally published under that name.
 * 15) Add each of these to the template
 * 16) Add the Retrieval date

Examples

 * Some standard use cases












 * A link to a page in the Edinburgh gazette


 * A link to a page in the Oxford gazette


 * Non-linking date of retrieval (using accessmonthday and accessyear)


 * No parameters (error)

fr:Modèle:LondonGazette ja:Template:LondonGazette zh:Template:LondonGazette