Difference between revisions of "Template:Benson-Convertibles/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bahnfrend
(new doc page)
 
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 15: Line 15:
 
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>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
{{DEFAULTSORT:Benson, Michael}}
 
{{DEFAULTSORT:Benson, Michael}}
 
[[Category:Automotive book citation templates]]
 
[[Category:Automotive book citation templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 23:49, 23 April 2020

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

Usage

{{Benson-Convertibles | page=xx}}
{{Benson-Convertibles | pages=xx–yy}}
{{Benson-Convertibles | 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|Benson|1997|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.