Difference between revisions of "Template:Durrant-Garratt-Rev/doc"
Jump to navigation
Jump to search
imported>Bahnfrend (new doc subpage) |
imported>Vanisaac |
||
| Line 17: | Line 17: | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
{{DEFAULTSORT:Durrant, A E; 1981}} | {{DEFAULTSORT:Durrant, A E; 1981}} | ||
[[Category:Rail transport book citation templates]] | [[Category:Rail transport book citation templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 00:45, 25 April 2020
| This is a documentation subpage for Template:Durrant-Garratt-Rev. 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.
{{Durrant-Garratt-Rev | page=xx}}
{{Durrant-Garratt-Rev | pages=xx–yy}}
{{Durrant-Garratt-Rev | 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=harvis used, so that{{harvnb|Durrant|1981|p=FOO}},{{sfn|Durrant|1981|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.