Difference between revisions of "Template:Casserley-LocoGrouping2"
Jump to navigation
Jump to search
Template documentation
imported>Pencefn m (moved Template:0-7110-0553-2 to Template:Casserley-LocoGrouping2: Consistency with the other citation templates for this series of books) |
imported>Pencefn (documentation updated) |
||
| Line 20: | Line 20: | ||
== Usage == | == Usage == | ||
| − | <nowiki>{{ | + | <nowiki>{{Casserley-LocoGrouping2 | page=FOO}}</nowiki> |
| − | <nowiki>{{ | + | <nowiki>{{Casserley-LocoGrouping2 | pages=FOO–BAR}}</nowiki> |
| − | <nowiki>{{ | + | <nowiki>{{Casserley-LocoGrouping2 | ref=Baz}}</nowiki> |
Optional parameters: | Optional parameters: | ||
Revision as of 21:06, 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)
This template generates a book citation as above, using the {{cite book}} template.
Usage
{{Casserley-LocoGrouping2 | page=FOO}}
{{Casserley-LocoGrouping2 | pages=FOO–BAR}}
{{Casserley-LocoGrouping2 | 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=harvis 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.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |