Difference between revisions of "Template:Hughes-IndianLocos1/doc"

From blackwiki
Jump to navigation Jump to search
imported>Iain Bell
(typo)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 23: Line 23:
 
*{{tlx|Hughes-IndianLocos4}} – 1941–1990.
 
*{{tlx|Hughes-IndianLocos4}} – 1941–1990.
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Rail transport book citation templates]]
 
[[Category:Rail transport book citation templates]]
</includeonly>
+
}}</includeonly>

Revision as of 17:03, 25 April 2020

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

Usage

{{Hughes-IndianLocos1 | page=xx}}
{{Hughes-IndianLocos1 | pages=xx–yy}}
{{Hughes-IndianLocos1 | 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|Hughes|1990|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.

See also

Other templates in this series: