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

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
Line 18: Line 18:
 
=== See also ===
 
=== See also ===
 
Other templates in this series:
 
Other templates in this series:
*'''<tt><nowiki>{{Hughes-IndianLocos1}}</nowiki></tt>''' – Broad Gauge 1851–1940.
+
*'''<code><nowiki>{{Hughes-IndianLocos1}}</nowiki></code>''' – Broad Gauge 1851–1940.
 
*{{tlx|Hughes-IndianLocos2}} – Metre Gauge 1872–1940.
 
*{{tlx|Hughes-IndianLocos2}} – Metre Gauge 1872–1940.
 
*{{tlx|Hughes-IndianLocos3}} – Narrow Gauge 1863–1940.
 
*{{tlx|Hughes-IndianLocos3}} – Narrow Gauge 1863–1940.

Latest revision as of 18:52, 4 June 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: