Difference between revisions of "Template:ClementsMcMahon-GSR Locomotives/doc"
Jump to navigation
Jump to search
imported>Iain Bell (correct ISBN) |
imported>Iain Bell m (update {harvnb} parameters) |
||
| Line 14: | Line 14: | ||
* '''pages''' - The relevant page numbers for a specific citation – the "pp." prefix is automatically added | * '''pages''' - The relevant page numbers for a specific citation – the "pp." prefix is automatically added | ||
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, so that {{tlx|harvnb|Clements | + | * '''ref''' - ID for anchor; if omitted, the special value {{para|ref|harv}} is used, so that {{tlx|harvnb|Clements|McMahon|2008|5=p=FOO}} etc. will link. |
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. | ||
Revision as of 14:34, 7 June 2011
| This is a documentation subpage for Template:ClementsMcMahon-GSR Locomotives. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template generates a book citation as above, using the {{cite book}} template.
Usage
{{978-1-906578-26-8 | page=FOO}}
{{978-1-906578-26-8 | pages=FOO–BAR}}
{{978-1-906578-26-8 | ref=Baz}}
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=harvis used, so that{{harvnb|Clements|McMahon|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.