Difference between revisions of "Template:Bond-Pemberton/doc"

From blackwiki
Jump to navigation Jump to search
imported>AussieLegend
(cats)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 18: Line 18:
 
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||
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
 
 
<!-------------------------------------------------------------------
 
<!-------------------------------------------------------------------
 
       Categories below here, interwikis to Wikidata.
 
       Categories below here, interwikis to Wikidata.
Line 27: Line 27:
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
 
[[Category:Wine book citation templates]]
 
[[Category:Wine book citation templates]]
}}
+
 
</includeonly>
+
}}</includeonly>

Latest revision as of 00:10, 24 April 2020

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

Usage

{{Bond-Pemberton | page=xx}}
{{Bond-Pemberton | pages=xx–yy}}
{{Bond-Pemberton | 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|Bond|2008|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.