User:David Underdown/LondonGazetteForBots/doc

This template is used to provide references to pages in the London Gazette online archive website at http://www.gazettes-online.co.uk/home.aspx?GeoType=London. 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.

Usage

 * Basic form using minimum parameters to link to the reference


 * 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 linked date information was retrieved


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


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


 * All parameters, delete the ones you don't need


 * All parameters, vertical format:

Required parameters
For producing a wikilinked date of retrieval:
 * issue: The issue number of the referenced Gazette
 * date: The publication date of the referenced Gazette. This should be in the format day month year.
 * startpage: The page of the referenced Gazette on which the citation is found (or the first page of a range)
 * accessdate: Full date when item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = 2024-July-". 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 = Janaury 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 more recent edition of the London Gazette:
 * notarchive: Required to correctly format the URL to link to a page in a Gazette

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

 * endpage: The last page in a range of pages to be referenced

For a link to the Edinburgh or Belfast Gazette:
 * city: Either "city=e" for Edinburgh Gazette or "city=b" for Belfast Gazette

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.gazettes-online.co.uk/AdvancedSearch.aspx?geotype=London
 * 3) *Edinburgh: http://www.gazettes-online.co.uk/AdvancedSearch.aspx?geotype=Edinburgh
 * 4) *Belfast: http://www.gazettes-online.co.uk/AdvancedSearch.aspx?geotype=Belfast
 * 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 be in the URL as "...pdf=nnnnn...".
 * 8) From the top of the page image note the page number. This may be up to five digits and also appears in the URL as "...&gpgn==nnn...".
 * 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 and if it is an older archived issued/supplement (the majority of issues/supplements are archived but more recent issues are not):
 * 12) If from an archived issue or supplement, the following will be included in the URL, "...=ArchivedIssuePage..." or "...=ArchivedSupplementPage..." and no action is required.
 * 13) if only "=...Issue..." or "...=Supplement..." the parameter "notarchive=" must be added. Any character may follow, as long as it is not left blank.
 * 14) If the page is part of a supplement, the parameter "supp=" must be added to the template. Any character may follow, as long as it is not left blank.
 * 15) 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" or "city=b" is entered. "city=l" may be used to explicitly refer to the London Gazette.
 * 16) Add each of these to the template
 * 17) Add the Retrieval date

Examples

 * Some standard use cases




 * No parameters (error)