Difference between revisions of "Template:Casserley-LocoGrouping2"

From blackwiki
Jump to navigation Jump to search
imported>Iain Bell
(New book citation template)
 
imported>Pencefn
m (moved Template:0-7110-0553-2 to Template:Casserley-LocoGrouping2: Consistency with the other citation templates for this series of books)
(No difference)

Revision as of 21:03, 23 February 2011

Casserley, H.C. & Johnston, Stuart W. (1974) [1966]. Locomotives at the Grouping 2: London & North Eastern Railway. Shepperton, Surrey: Ian Allan Limited. ISBN 0-7110-0553-2.CS1 maint: ref=harv (link)

Template documentation

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

Usage

{{0-7110-0553-2 | page=FOO}}
{{0-7110-0553-2 | pages=FOO–BAR}}
{{0-7110-0553-2 | ref=Baz}}

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|Casserley|Johnston|1974|p=FOO}} etc. will link.

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