Template:Sfnmtxt/doc

From MOASSpedia
Jump to navigation Jump to search


This is a companion template to {{Sfn}}; see there for a more general introduction. Unlike {{Sfn}}, however, {{Sfnmtxt}} supports the inclusion of multiple sources in a single footnote and produces citations with the same format that {{harvtxt}} produces. For example, the following markup:

{{Sfnmtxt|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
  • |ps= – terminating character. defaults to period (.)

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

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

which will produce the following footnote: [2]

References

Literature cited

  • Jones, John (2004). "My Journal Article". Journal of Important Studies. 509: 14–1033.
  • Jones, John; Johnson, John; Smith, John (2004). Our First Book.
  • Smith, John (2005). "Another Journal Article". Journal of Important Studies. 510: 13–1034.
  • Smith, John; Jones, John; Johnson, John (2005). Our Second Book.