Difference between revisions of "Template:Baughan-NorthWales"

From blackwiki
Jump to navigation Jump to search
imported>Pencefn
(template created)
 
imported>Headbomb
m (clean up, no longer needed, removed: harv (3))
 
Line 12: Line 12:
 
| pages      = {{{pages|}}}
 
| pages      = {{{pages|}}}
 
| oclc      = 21328302
 
| oclc      = 21328302
| ref        = {{{ref|harv}}}
+
| ref        = {{{ref|}}}
 
}}<noinclude>{{documentation |content=
 
}}<noinclude>{{documentation |content=
  
Line 27: Line 27:
 
* '''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:34, 20 April 2020

Baughan, Peter E. (1988). The North Wales Coast railway : the Chester - Holyhead line, and Llandudno - Blaenau Ffestiniog (1st ed.). Halifax, West Yorks: Martin Bairstow. ISBN 0-9510-3029-9. OCLC 21328302.

Template documentation

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

Usage

{{Baughan-NorthWales |page=FOO }}
{{Baughan-NorthWales |pages=FOO–BAR }}
{{Baughan-NorthWales |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.