Jump to content

Template:London Gazette: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Fix
Restore active detection removed by smart editor.
Line 18: Line 18:
You must specify '''''issue=''''', '''''startpage=''''', and '''''date=''''' when using {{tl|London Gazette}}. Available parameters:
You must specify '''''issue=''''', '''''startpage=''''', and '''''date=''''' when using {{tl|London Gazette}}. Available parameters:
{{London Gazette/doc/parameterlist}}
{{London Gazette/doc/parameterlist}}
</div>}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{FULLPAGENAME}}]]}}</includeonly><noinclude>
</div>}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->

Revision as of 07:44, 27 June 2011

  • {{London Gazette |issue=31712 |date=30 December 1919 |page=1 |supp=4 }}

You must specify issue=, startpage=, and date= when using {{London Gazette}}. Available parameters:

{{London Gazette
 | issue =
 | date =
 | page =
 | pages =
 | supp =
 | display-supp =
 | nolink =
 | city =
 | title =
 | quote =
 | mode =
 | ref =
 | postscript =
}}
  • {{London Gazette |issue=17039 |date=11 July 1815 |page=1409 |display-supp=1 }}

You must specify issue=, startpage=, and date= when using {{London Gazette}}. Available parameters:

{{London Gazette
 | issue =
 | date =
 | page =
 | pages =
 | supp =
 | display-supp =
 | nolink =
 | city =
 | title =
 | quote =
 | mode =
 | ref =
 | postscript =
}}
  • {{London Gazette |issue=34000 |date=1 December 1933 |pages=7765–7766 }}

You must specify issue=, startpage=, and date= when using {{London Gazette}}. Available parameters:

{{London Gazette
 | issue =
 | date =
 | page =
 | pages =
 | supp =
 | display-supp =
 | nolink =
 | city =
 | title =
 | quote =
 | mode =
 | ref =
 | postscript =
}}

A link to a page in the Edinburgh gazette

  • {{London Gazette |issue=11370 |date=3 January 1902 |page=1 |city=e }}

You must specify issue=, startpage=, and date= when using {{London Gazette}}. Available parameters:

{{London Gazette
 | issue =
 | date =
 | page =
 | pages =
 | supp =
 | display-supp =
 | nolink =
 | city =
 | title =
 | quote =
 | mode =
 | ref =
 | postscript =
}}

A link to a page in the Oxford gazette

  • {{London Gazette |issue=1 |date=7 November 1665 |page=1 |city=o }}

You must specify issue=, startpage=, and date= when using {{London Gazette}}. Available parameters:

{{London Gazette
 | issue =
 | date =
 | page =
 | pages =
 | supp =
 | display-supp =
 | nolink =
 | city =
 | title =
 | quote =
 | mode =
 | ref =
 | postscript =
}}

No parameters (error)

  • {{London Gazette}}

You must specify issue=, startpage=, and date= when using {{London Gazette}}. Available parameters:

{{London Gazette
 | issue =
 | date =
 | page =
 | pages =
 | supp =
 | display-supp =
 | nolink =
 | city =
 | title =
 | quote =
 | mode =
 | ref =
 | postscript =
}}

Error messages

Certain combinations of parameters are invalid or inappropriate. The template attempts to make sense of all parameter values. When that is not possible, it emits error messages. These messages are:

  • invalid |supp=|supp= accepts a limited range of parameter values. The values are:
    the single letter y
    one or two digit numbers in the range of 1 to 99 inclusive
  • more than one of |page= and |pages= – simultaneous use of these is not permitted; choose the appropriate parameter
  • London Gazette uses unsupported parameters – these parameters no longer supported:
    |ps= – use |postscript=
    |separator= – use |mode=
    |startpage= – use |page= or |pages=
    |endpage= – use |page= or |pages=
    |accessdate= – remove
    |access-date= – remove

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:London Gazette in articles based on its TemplateData.

TemplateData for London Gazette

This template is used to provide references to pages in the London Gazette online archive website. 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. An index by number/date (i.e. if you know the number or date you can find the document) is at WP:London Gazette Index. The template may also be used to provide references to pages in the Edinburgh Gazette online archives and to the Belfast Gazette online archives.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Issueissue

The issue number of the referenced Gazette (to find this from the date, consult WP:London Gazette Index)

Example
33000
Numberrequired
Datedate

The publication date of the referenced Gazette. This should be in the format day month year.

Example
9 December 1924
Daterequired
Pagepage

The page of the referenced Gazette on which the citation is found - Except when citing a whole issue, for example for the Birthday Honours List.

Example
123
Page nameoptional
Pagespages

The page range of the reference Gazette in the form number–number where the two page numbers are separated by a ndash

Example
123–124
Page nameoptional
Supplementsupp

For a link in a supplement to a Gazette - To correctly format the URL to link to a page in a Gazette supplement, set this parameter to the number of the supplement (typically, supp=1); otherwise omit it.

Example
1
Numberoptional
Display-supplementdisplay-supp

Some supplements are accessed without an alteration to the standard URL in which case use this parameter and not the supp parameter.

Example
1
Numberoptional
nolinknolink

To display the name of the Gazette without a wikilink (e.g. if there are multiple uses of the template on the same page, allow the link on the first but disable the rest)

Example
y
Stringoptional
Citycity

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. The city names may also be spelt out in full if you prefer, e.g. |city=Edinburgh

Default
London
Example
e
Auto value
Stringoptional
Titletitle

Sets a title

Default
No. <code>issue</code>
Stringoptional
Quotequote

Appends a quote to the end of the template.

Stringoptional
Refref

Used in conjunction with the harv template. It can be altered to any value

Default
Gazette <code>issue</code>
Unknownoptional
Modemode

Setting ''mode=cs2'' changes the style to ensure consistency with Citation style 2, as produced by the Citation template

Default
cs1
Stringoptional
Postscriptpostscript

To remove the final period, or change it to any other character — now semi-redundant use the <code>mode</code> parameter instead.

Default
.
Stringoptional

Maintenance categories