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

From blackwiki
Jump to navigation Jump to search
imported>Iain Bell
(initial documentation)
 
imported>Iain Bell
(typo)
Line 19: Line 19:
 
Other templates in this series:
 
Other templates in this series:
 
*'''<tt><nowiki>{{Hughes-IndianLocos1}}</nowiki></tt>''' – Broad Gauge 1851–1940.
 
*'''<tt><nowiki>{{Hughes-IndianLocos1}}</nowiki></tt>''' – Broad Gauge 1851–1940.
*{{tlx|Hughes-IndianLocos2}} – Meter Gauge 1872–1940.
+
*{{tlx|Hughes-IndianLocos2}} – Metre Gauge 1872–1940.
 
*{{tlx|Hughes-IndianLocos3}} – Narrow Gauge 1863–1940.
 
*{{tlx|Hughes-IndianLocos3}} – Narrow Gauge 1863–1940.
 
*{{tlx|Hughes-IndianLocos4}} – 1941–1990.
 
*{{tlx|Hughes-IndianLocos4}} – 1941–1990.

Revision as of 13:16, 17 October 2013

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: