Difference between revisions of "Template:Durrant-Garratt-Rev"

From blackwiki
Jump to navigation Jump to search
imported>Bahnfrend
(add cat)
imported>Headbomb
m (→‎top: clean up, no longer needed, replaced: {{{ref|harv}}} → {{{ref|}}})
Line 11: Line 11:
 
| pages      = {{{pages|}}}
 
| pages      = {{{pages|}}}
 
| isbn      = 0715376411
 
| isbn      = 0715376411
| ref        = {{{ref|harv}}}
+
| 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>

Revision as of 12:15, 20 April 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.

Template documentation[view] [edit] [history] [purge]

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=harv is 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.