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

From blackwiki
Jump to navigation Jump to search
imported>Bahnfrend
(new doc page)
 
imported>AussieLegend
(cats)
Line 24: Line 24:
 
  -------------------------------------------------------------------->
 
  -------------------------------------------------------------------->
 
{{DEFAULTSORT:Bond, Alex}}
 
{{DEFAULTSORT:Bond, Alex}}
[[Category:Australian specific-source templates]]
+
[[Category:Australian source templates]]
 +
[[Category:Specific-source templates]]
 
[[Category:Wine book citation templates]]
 
[[Category:Wine book citation templates]]
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Revision as of 17:19, 4 December 2014

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.