Difference between revisions of "Template:Daniels-NoMore"
(Undid revision 809700596 by Special:Contributions/2A04:4540:110A:6C01:791F:F063:4661:2B2C) |
imported>User-duck (ref=harv is now default for the cite templates.) |
||
Line 11: | Line 11: | ||
| page = {{{page|}}} | | page = {{{page|}}} | ||
| pages = {{{pages|}}} | | pages = {{{pages|}}} | ||
− | | ref = {{{ref| | + | | ref = {{{ref|}}} |
| origyear = {{#ifeq:{{{edition|}}}|2nd|1962}} | | origyear = {{#ifeq:{{{edition|}}}|2nd|1962}} | ||
| oclc = {{#switch:{{{edition|}}} |1st=315905712 |2nd=504319235 }} | | oclc = {{#switch:{{{edition|}}} |1st=315905712 |2nd=504319235 }} | ||
Line 48: | Line 48: | ||
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. | ||
* '''publisher''' – use {{para|publisher|GLO}} for early typewritten editions, otherwise omit this parameter. | * '''publisher''' – use {{para|publisher|GLO}} for early typewritten editions, otherwise omit this parameter. | ||
− | * '''ref''' - ID for anchor | + | * '''ref''' - ID for anchor, use only if non-default anchor is needed. By default {{tlx|harvnb|Daniels|Dench|1964|5=p=FOO}} {{tlx|harvnb|Daniels|Dench|1973|5=pp=FOO–BAR}} etc. will link. |
− | + | The five parameters are passed unchanged to {{tlx|cite book}} - see [[Template:Cite book/doc|that template's documentation]] for further information. | |
===Edition=== | ===Edition=== |
Revision as of 03:03, 13 July 2020
Daniels, Gerald David; Dench, Leslie Alan. Passengers No More. Shepperton: Ian Allan. No |edition=
specified (help)

This template generates a book citation as above, using the {{cite book}}
template.
Usage
{{Daniels-NoMore |edition=1st |page=FOO }} {{Daniels-NoMore |edition=2nd |pages=FOO–BAR }} {{Daniels-NoMore |ref=Baz }}
Optional parameters:
- edition – see below
- 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.
- publisher – use
|publisher=GLO
for early typewritten editions, otherwise omit this parameter. - ref - ID for anchor, use only if non-default anchor is needed. By default
{{harvnb|Daniels|Dench|1964|p=FOO}}
{{harvnb|Daniels|Dench|1973|pp=FOO–BAR}}
etc. will link.
The five parameters are passed unchanged to {{cite book}}
- see that template's documentation for further information.
Edition
There are at least five editions. This book was first published by GLO in 1962, and was 33 typewritten and duplicated pages; a second edition was produced in February 1963, which was 36 pages, again typewritten. The book was republished by Ian Allan in September 1964, and a second edition of this (110 pages) was published in May 1973 with a third (144 pages) in November 1980. Each successive edition expanded on the previous, to include stations that had closed in the meantime; accordingly, the pagination is very different.
The |edition=
and |publisher=
parameters are used to set appropriate values for six of the parameters passed to {{cite book}}
. Valid values are shown below. If this parameter is not set, those six items are not shown.
|edition=1st
|publisher=GLO
→ Daniels, Gerald David; Dench, Leslie Alan (December 1962). Passengers No More 1952–1962. Closures of stations and branch lines (1st ed.). Brighton: GLO. ASIN B00HUPPZRQ. OCLC 315905712.|edition=2nd
|publisher=GLO
→ Daniels, Gerald David; Dench, Leslie Alan (February 1963) [1962]. Passengers No More 1952–1962. Closures of stations and branch lines (PDF) (2nd ed.). Brighton: GLO. OCLC 504319235.|edition=1st
→ Daniels, Gerald David; Dench, Leslie Alan (September 1964). Passengers No More (1st ed.). Shepperton: Ian Allan. VPNM/1354/138/CXX-964.|edition=2nd
→ Daniels, Gerald David; Dench, Leslie Alan (May 1973) [1964]. Passengers No More (2nd ed.). Shepperton: Ian Allan. ISBN 0-7110-0438-2. OCLC 2554248. 1513 CEC 573.|edition=3rd
→ Daniels, Gerald David; Dench, Leslie Alan (November 1980) [1964]. Passengers No More (3rd ed.). Shepperton: Ian Allan. ISBN 0-7110-0951-1. OCLC 16551162.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |