Difference between revisions of "Template:Daniels-NoMore"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(OCLC for 3rd ed)
imported>Redrose64
(add GLO (typewritten) editions)
Line 1: Line 1:
{{cite book  
+
{{#ifeq:{{{publisher|}}}|GLO|{{cite book
 +
| last1      = Daniels
 +
| first1    = Gerald David
 +
| last2      = Dench
 +
| first2    = Leslie Alan
 +
| date      = {{#switch:{{{edition|}}} |1st=December 1962 |2nd=February 1963 }}
 +
| edition    = {{{edition|}}}
 +
| title      = Passengers No More 1952–1962. Closures of stations and branch lines
 +
| location  = Brighton
 +
| publisher  = GLO
 +
| page      = {{{page|}}}
 +
| pages      = {{{pages|}}}
 +
| ref        = {{{ref|{{#if:{{{edition|}}}|harv}} }}}
 +
| origyear  = {{#ifeq:{{{edition|}}}|2nd|1962}}
 +
| oclc      = {{#switch:{{{edition|}}} |1st=315905712 |2nd=504319235 }}
 +
| url        = {{#ifeq:{{{edition|}}}|2nd|http://library-2.lse.ac.uk/collections/pamphlets/document_service/HE1_42/E0000009/doc.pdf}}
 +
| asin      = {{#ifeq:{{{edition|}}}|1st|B00HUPPZRQ}}
 +
}}|{{cite book  
 
| last1      = Daniels
 
| last1      = Daniels
| first1      = Gerald
+
| first1      = Gerald David
 
| last2  = Dench
 
| last2  = Dench
| first2 = Les A.
+
| first2 = Leslie Alan
 
| date      = {{#switch:{{{edition|}}} |1st=September 1964 |2nd=May 1973 |3rd=November 1980 }}
 
| date      = {{#switch:{{{edition|}}} |1st=September 1964 |2nd=May 1973 |3rd=November 1980 }}
 
| edition    = {{{edition|}}}
 
| edition    = {{{edition|}}}
Line 16: Line 33:
 
|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= }}
}}{{#if:{{{edition|}}}||&#32;<span style="font-size:100%" class="error citation-comment">No <code style="color:inherit; border:inherit; padding:inherit;">&#x7C;edition=</code> specified ([[Template:Daniels-NoMore#Edition|help]])</span>}}<noinclude>{{documentation |content=
+
}} }}{{#if:{{{edition|}}}||&#32;<span style="font-size:100%" class="error citation-comment">No <code style="color:inherit; border:inherit; padding:inherit;">&#x7C;edition=</code> specified ([[Template:Daniels-NoMore#Edition|help]])</span>}}<noinclude>{{documentation |content=
  
 
This template generates a book citation as above, using the {{tlx|cite book}} template.
 
This template generates a book citation as above, using the {{tlx|cite book}} template.
Line 30: Line 47:
 
* '''pages''' - The relevant page numbers for a specific citation — the "pp." prefix is added automatically
 
* '''pages''' - The relevant page numbers for a specific citation — the "pp." prefix is added automatically
 
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.
 
* '''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; 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.
 
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.
 
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.
  
 
===Edition===
 
===Edition===
This book was first published in September 1964, and a second edition (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.
+
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 {{para|edition}} parameter is used to set appropriate values for six of the parameters passed to {{tlx|cite book}}. Valid values are {{para|edition|1st}}, {{para|edition|2nd}} or {{para|edition|3rd}} If this parameter is not set, those six items are not shown.
+
The {{para|edition}} and {{para|publisher}} parameters are used to set appropriate values for six of the parameters passed to {{tlx|cite book}}. Valid values are shown below. If this parameter is not set, those six items are not shown.
*{{Daniels-NoMore |edition=1st }}
+
*{{para|edition|1st}} {{para|publisher|GLO}} → {{Daniels-NoMore |edition=1st |publisher=GLO |ref= }}
*{{Daniels-NoMore |edition=2nd }}
+
*{{para|edition|2nd}} {{para|publisher|GLO}} → {{Daniels-NoMore |edition=2nd |publisher=GLO |ref= }}
*{{Daniels-NoMore |edition=3rd }}
+
*{{para|edition|1st}} → {{Daniels-NoMore |edition=1st |ref= }}
 +
*{{para|edition|2nd}} → {{Daniels-NoMore |edition=2nd |ref= }}
 +
*{{para|edition|3rd}} → {{Daniels-NoMore |edition=3rd |ref= }}
 
}}
 
}}
 
{{DEFAULTSORT:Daniels, Gerald}}
 
{{DEFAULTSORT:Daniels, Gerald}}
 
[[Category:Rail transport book citation templates]]
 
[[Category:Rail transport book citation templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:42, 20 March 2015

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; if omitted, and |edition= is set, the special value |ref=harv is used, so that {{harvnb|Daniels|Dench|1964|p=FOO}} {{harvnb|Daniels|Dench|1973|pp=FOO–BAR}} etc. will link.

Apart from the default value |ref=harv, the four 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.