Difference between revisions of "Template:Daniels-NoMore"

From blackwiki
Jump to navigation Jump to search
imported>User-duck
(ref=harv is now default for the cite templates.)
imported>User-duck
(Remove another ref=harv)
 
Line 30: Line 30:
 
| pages      = {{{pages|}}}
 
| pages      = {{{pages|}}}
 
| oclc      = {{#switch:{{{edition|}}}|2nd=2554248 |3rd=16551162 }}
 
| oclc      = {{#switch:{{{edition|}}}|2nd=2554248 |3rd=16551162 }}
| ref        = {{{ref|{{#if:{{{edition|}}}|harv}} }}}
+
| ref        = {{{ref|}}}
 
|origyear={{#ifeq:{{{edition|}}}|1st||1964}}
 
|origyear={{#ifeq:{{{edition|}}}|1st||1964}}
 
|id={{#switch:{{{edition|}}} |1st=VPNM/1354/138/CXX-964 |2nd=1513 CEC 573 <!-- reprints may be 182 CM 674 --> |3rd= }}
 
|id={{#switch:{{{edition|}}} |1st=VPNM/1354/138/CXX-964 |2nd=1513 CEC 573 <!-- reprints may be 182 CM 674 --> |3rd= }}

Latest revision as of 12:09, 13 July 2020

Daniels, Gerald David; Dench, Leslie Alan. Passengers No More. Shepperton: Ian Allan. No |edition= specified (help)

Template documentation

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.