Difference between revisions of "Template:Casserley-LocoGrouping3"

From blackwiki
Jump to navigation Jump to search
imported>Iain Bell
(add authorlink)
imported>Redrose64
(put documentation inside doc template; allow ref=)
Line 4: Line 4:
 
|authorlink1=H. C. Casserley
 
|authorlink1=H. C. Casserley
 
|last2=Johnston
 
|last2=Johnston
|first2=S.W.
+
|first2=Stuart W.
 
|lastauthoramp=yes
 
|lastauthoramp=yes
 
|origyear=1966
 
|origyear=1966
Line 10: Line 10:
 
|title=Locomotives at the Grouping 3: London, Midland and Scottish Railway
 
|title=Locomotives at the Grouping 3: London, Midland and Scottish Railway
 
|location=Shepperton, Surrey
 
|location=Shepperton, Surrey
|publisher=Ian Allan Limited
+
|publisher=[[Ian Allan Publishing|Ian Allan]]
 
|page={{{page|}}}  
 
|page={{{page|}}}  
 
|pages={{{pages|}}}
 
|pages={{{pages|}}}
 
|isbn=0-7110-0554-0
 
|isbn=0-7110-0554-0
}}<noinclude>
+
|ref={{{ref|harv}}}
 +
}}<noinclude>{{documentation |content=
 +
 
 +
This template generates a book citation as above, using the {{tlx|cite book}} template.
  
 
== Usage ==
 
== Usage ==
  <nowiki>{{</nowiki>Casserley-LocoGrouping3 | page=FOO}}
+
  <nowiki>{{Casserley-LocoGrouping3 | page=FOO}}</nowiki>
  <nowiki>{{</nowiki>Casserley-LocoGrouping3 | pages=FOO}}
+
  <nowiki>{{Casserley-LocoGrouping3 | pages=FOO–BAR}}</nowiki>
 +
<nowiki>{{Casserley-LocoGrouping3 | ref=Baz}}</nowiki>
  
 
Optional parameters:
 
Optional parameters:
 
* '''page''' - The relevant page number for a specific citation – the "p." prefix is automatically added
 
* '''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
 
* '''pages''' - The relevant page numbers for a specific citation – the "pp." prefix is automatically added
 +
If both {{para|page}} and {{para|pages}} are specified, {{para|page}} is ignored.
 +
* '''ref''' - ID for anchor; if omitted, the special value {{para|ref|harv}} is used, so that {{tlx|harvnb|Casserley|Johnston|1974|5=p=FOO}} etc. will link.
 +
Apart from the default value {{para|ref|harv}}, the three parameters are passed unchanged to {{tlx|cite book}} - see [[Template:Cite book/doc|that template's documentation]] for further information.
  
[[Category:Rail transport book citation templates|{{PAGENAME}}]]
+
}}
 +
{{DEFAULTSORT:Casserley, H.C.; Johnston, S.W.}}
 +
[[Category:Rail transport book citation templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:37, 15 April 2010

Casserley, H.C. & Johnston, Stuart W. (1974) [1966]. Locomotives at the Grouping 3: London, Midland and Scottish Railway. Shepperton, Surrey: Ian Allan. ISBN 0-7110-0554-0.CS1 maint: ref=harv (link)

Template documentation

This template generates a book citation as above, using the {{cite book}} template.

Usage

{{Casserley-LocoGrouping3 | page=FOO}}
{{Casserley-LocoGrouping3 | pages=FOO–BAR}}
{{Casserley-LocoGrouping3 | ref=Baz}}

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=harv is used, so that {{harvnb|Casserley|Johnston|1974|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.