Difference between revisions of "Template:Bray-SDJR"

From blackwiki
Jump to navigation Jump to search
imported>Pencefn
(citation template created)
 
imported>Headbomb
m (clean up, no longer needed, removed: harv (3))
 
Line 10: Line 10:
 
| pages      = {{{pages|}}}
 
| pages      = {{{pages|}}}
 
| oclc      = 691108532
 
| oclc      = 691108532
| ref        = {{{ref|harv}}}
+
| ref        = {{{ref|}}}
 
}}<noinclude>{{documentation |content=
 
}}<noinclude>{{documentation |content=
  
Line 25: Line 25:
 
* '''pages''' - The relevant page numbers for a specific citation — the "pp." prefix is added automatically
 
* '''pages''' - The relevant page numbers for a specific citation — the "pp." prefix is added automatically
 
If both {{para|page}} and {{para|pages}} are specified, {{para|page}} is ignored.
 
If both {{para|page}} and {{para|pages}} are specified, {{para|page}} is ignored.
* '''ref''' - ID for anchor; if omitted, the special value {{para|ref|harv}} is used.
+
* '''ref''' - ID for anchor; if omitted, the default value {{para|ref|harv}} is used.
 
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.
 
}}
 
}}

Latest revision as of 11:36, 20 April 2020

Bray, N. (2010). The Salisbury & Dorset Junction Railway. Southampton: Kestrel Railway Books. ISBN 978-1-9055-0519-7. OCLC 691108532.

Template documentation

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

Usage

{{Bray-SDJR |page=FOO }}
{{Bray-SDJR |pages=FOO–BAR }}
{{Bray-SDJR |ref=Baz }}

Optional parameters:

  • page - The relevant page number for a specific citation — the "p." prefix is added automatically
  • pages - The relevant page numbers for a specific citation — the "pp." prefix is added automatically

If both |page= and |pages= are specified, |page= is ignored.

  • ref - ID for anchor; if omitted, the default value |ref=harv is used.

Apart from the default value |ref=harv, the three parameters are passed unchanged to {{cite book}} - see that template's documentation for further information.