Jump to content

टेम्पलेट:Sfnm

विकिपीडिया से

This is a companion template to {{Sfn}}; see there for a more general introduction. Unlike {{Sfn}}, however, {{Sfnm}} supports the inclusion of multiple sources in a single footnote.

For example, the following code:

{{Sfnm|1a1=Smith|1a2=Jones|1a3=Johnson|1y=2005|1p=15|2a1=Jones|2a2=Johnson|2a3=Smith|2y=2004|2p=50}}

will produce the following footnote: [1]

The following parameters are used (where n may be 1 through 10):

  • |na1= (e.g., |1a1= or |4a1=) through |na10= – authors of the work cited
  • |ny= – year
  • |nloc= – location cited
  • |np= – page cited
  • |npp= – pages cited
  • |nps= – quote or comment; defaults to nothing; unlike e.g. {{sfn}} the value none does not mean nothing; a semicolon (;) will be placed between items regardless of the value of this parameter
  • |ps= – terminating quote or comment; defaults to period (.)

Instead of using |na1= and |ny=, unnamed parameters may be used, as in the following example:

{{Sfnm|Smith|2005|1p=15|Jones|2004|2p=2}}

which will produce the following footnote: [2]

  • Jones, John (2004). "My Journal Article". Journal of Important Studies. 509: 14–1033. {{cite journal}}: Invalid |ref=harv (help)
  • Jones, John; Johnson, John; Smith, John (2004). Our First Book. {{cite book}}: Invalid |ref=harv (help)
  • Smith, John (2005). "Another Journal Article". Journal of Important Studies. 510: 13–1034. {{cite journal}}: Invalid |ref=harv (help)
  • Smith, John; Jones, John; Johnson, John (2005). Our Second Book. {{cite book}}: Invalid |ref=harv (help)