Template:Sfn

From imedwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

The shortened footnote template {{sfn}} creates a short author–date citation in a footnote, with a one-directional link to the first matching citation template on the same page. It will combine identical footnotes automatically.

Template:Harvard citation documentation

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Sfn

This template creates a short author–date citation in a footnote. It allows you to link inline citation using Harvard citations (a form of short citations using parenthetical references) to their corresponding full bibliographic citations.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Author last name1

Last name of first (or only) author

Example
Smith
Linerequired
Second author or year2

Year for citations with one author, or last name of second author for citations with two or more authors

Example
2006
Stringrequired
Third author or year3

Year for citations with two authors, or last name of third author for citations with three or more authors

Stringoptional
Fourth author or year4

Year for citations with three authors, or last name of fourth author for citations with four authors

Stringoptional
Year (if four authors included)5

Year for citations with four authors

Numberoptional
Pagep page

Page number in source, if the relevant information is on one page (use the «pp» parameter for multiple pages, and the «loc» parameter for other location data)

Example
42
Linesuggested
Pagespp pages

Page numbers in source

Example
23–24
Lineoptional
Postscriptps

Additional quote or comment

Example
This is an additional comment.
Stringoptional
Locationloc

Location in source

Example
section 7
Lineoptional

See also

  • {{p.}} – citing a page number
  • {{r}} – define and reference page(s)
  • {{rp}} – reference page(s)
  • {{Sfnm}} – for multiple sources
  • {{SfnRef}} – for the ref anchor
This template is based (in parts) on the Template:Sfn from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.