Difference between revisions of "Template:Durrant-Garratt-Rev"
Jump to navigation
Jump to search
imported>Bahnfrend (add cat) |
imported>Monkbot m (Task 18a (cosmetic) (manual): eval 1 template: del empty params (1×);) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 2: | Line 2: | ||
| last = Durrant | | last = Durrant | ||
| first = A E | | first = A E | ||
| − | |||
| date = 1981 | | date = 1981 | ||
| title = Garratt Locomotives of the World | | title = Garratt Locomotives of the World | ||
| Line 11: | Line 10: | ||
| pages = {{{pages|}}} | | pages = {{{pages|}}} | ||
| isbn = 0715376411 | | isbn = 0715376411 | ||
| − | | ref = {{{ref| | + | | ref = {{{ref|}}} |
}}<noinclude>[[Category:Rail transport book citation templates]] | }}<noinclude>[[Category:Rail transport book citation templates]] | ||
{{documentation}} | {{documentation}} | ||
<!-- Please add categories and interwiki links to the /doc subpage --> | <!-- Please add categories and interwiki links to the /doc subpage --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:20, 16 December 2020
Durrant, A E (1981). Garratt Locomotives of the World (rev. and enl. ed.). Newton Abbot, Devon, UK; North Pomfret, Vt, USA: David & Charles. ISBN 0715376411.
Usage
This template generates a book citation as above, using the {{cite book}} template.
{{Durrant-Garratt-Rev | page=xx}}
{{Durrant-Garratt-Rev | pages=xx–yy}}
{{Durrant-Garratt-Rev | ref=ID}}
- 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|Durrant|1981|p=FOO}},{{sfn|Durrant|1981|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.
| The above documentation is transcluded from Template:Durrant-Garratt-Rev/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |