Jump to content

Template:Rolt-Red/doc

From Wikipedia, the free encyclopedia

This template generates a book citation as above, using the {{cite book}} template.

Usage

[edit]
{{Rolt-Red |year=1955 |page=FOO}}
{{Rolt-Red |year=1966 |pages=FOO–BAR}}
{{Rolt-Red |ref=Baz}}

Required parameters:

  • year — The year of the edition being used for the citation. It is used as a switch to select the correct citation to show. Valid values are: 1955, 1960, 1966, 1976, 1978, 1982, and 2007, as follows:
    Rolt, L. T. C. (1955). Red for Danger: A history of railway accidents and railway safety precautions (1st ed.). The Bodley Head.
    Rolt, L. T. C. (1960). Red for Danger: A history of railway accidents and railway safety precautions. London: Pan Books. OCLC 30236239.
    Rolt, L. T. C. (1966). Red for Danger (2nd ed.). Newton Abbot, Devon: David & Charles. OCLC 897379.
    Rolt, L. T. C.; Kichenside, G. M. (1976). Red for Danger (3rd ed.). Newton Abbot, Devon: David & Charles. ISBN 0-7153-7292-0. OCLC 3394277.
    Rolt, L. T. C.; Kichenside, G. M. (1978). Red for Danger (3rd (revised and extended) ed.). London: Pan Books. ISBN 0-3302-5555-X. OCLC 16443245.
    Rolt, L. T. C.; Kichenside, G. M. (1982). Red for Danger: A history of railway accidents and railway safety (4th ed.). Newton Abbot, Devon: David & Charles. ISBN 0-7153-8362-0. OCLC 9526651.
    Rolt, L. T. C. (2007). Red for Danger: The Classic History of British Railway Disasters. Stroud, Gloucestershire: Sutton. ISBN 0-7509-4807-8. OCLC 124025763.
  • If omitted, the template will only show the author and title, and the page and pages parameters (see below), will not work.

Optional parameters:

  • page — The relevant page number for a specific citation – the "p." prefix is automatically added.
  • pages — The relevant page numbers for a specific citation – the "pp." prefix is automatically added.

If both |page= and |pages= are specified, |page= is ignored.

  • ref - ID for anchor; if omitted, the special value |ref=harv is used, so that {{harvnb|Rolt|[year]}} etc. will link.

Apart from the default value |ref=harv, the parameters |page=, |pages= and |ref= are passed unchanged to {{cite book}} - see that template's documentation for further information.