Difference between revisions of "Template:Davies-SNCFLocoList/doc"

From blackwiki
Jump to navigation Jump to search
imported>Iain Bell
(initial documentation)
 
imported>Iain Bell
m (typo)
Line 13: Line 13:
 
* '''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.
 
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|Davies|1997|7=p=FOO}} etc. will link.
+
* '''ref''' - ID for anchor; if omitted, the special value {{para|ref|harv}} is used, so that {{tlx|harvnb|Davies|2003|7=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.
 
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.
  

Revision as of 11:19, 20 March 2013

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

Usage

{{Davies-SNCFLocoList  | page=FOO}}
{{Davies-SNCFLocoList  | pages=FOO–BAR}}
{{Davies-SNCFLocoList  | 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|Davies|2003|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.

See also

Other templates in this series:

  1. {{Davies-ÉtatLocoList}} – Chemins der fer de l’État – 1878–1938
  2. {{Davies-EstLocoList3}} – Chemins de fer de l’Est – 1839–1938
  3.  ?
  4. {{Davies-PLMLocoList}} – Chemins de fer PLM and constituents – 1829–1938
  5.  ?
  6. {{Davies-NordLocoList}} – Chemins de fer du Nord – 1842–1938
  7.  ?
  8. {{Davies-SNCFLocoList}} – Sociéte National des Chemins de fer Français – 1938–1975