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.)
Line 11: Line 11:
 
| page      = {{{page|}}}
 
| page      = {{{page|}}}
 
| pages      = {{{pages|}}}
 
| pages      = {{{pages|}}}
| ref        = {{{ref|{{#if:{{{edition|}}}|harv}} }}}
+
| 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; if omitted, and {{para|edition}} is set, the special value {{para|ref|harv}} is used, so that {{tlx|harvnb|Daniels|Dench|1964|5=p=FOO}} {{tlx|harvnb|Daniels|Dench|1973|5=pp=FOO–BAR}} etc. will link.
+
* '''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.
Apart from the default value {{para|ref|harv}}, the four parameters are passed unchanged to {{tlx|cite book}} - see [[Template:Cite book/doc|that template's documentation]] for further information.
+
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)

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.