Difference between revisions of "Template:Carter-RailwaysMotivePowerArgentina/doc"

From blackwiki
Jump to navigation Jump to search
imported>Iain Bell
(initial documentation)
 
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 16: Line 16:
 
Apart from the default value {{para|ref|harv}}, the three parameters are passed unchanged to {{tlx|cite book}} - see [[Template:Cite book/doc|that template's documentation]] for further information.
 
Apart from the default value {{para|ref|harv}}, the three parameters are passed unchanged to {{tlx|cite book}} - see [[Template:Cite book/doc|that template's documentation]] for further information.
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Rail transport book citation templates|Carter, Reg; 2006]]
 
[[Category:Rail transport book citation templates|Carter, Reg; 2006]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:49, 24 April 2020

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

Usage

{{Carter-RailwaysMotivePowerArgentina | page=xx}}
{{Carter-RailwaysMotivePowerArgentina | pages=xx–yy}}
{{Carter-RailwaysMotivePowerArgentina | 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|Carter|2006|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.