Template:Sfn
This template is used on risk pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Uses Lua: |
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
See the monthly error report for this template.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Author last name | 1 | Last name of first (or only) author
| Line | required |
Second author or year | 2 | Year for citations with one author, or last name of second author for citations with two or more authors
| String | required |
Third author or year | 3 | Year for citations with two authors, or last name of third author for citations with three or more authors | String | optional |
Fourth author or year | 4 | Year for citations with three authors, or last name of fourth author for citations with four authors | String | optional |
Year (if four authors included) | 5 | Year for citations with four authors | Number | optional |
Page | p 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)
| Line | suggested |
Pages | pp pages | Page numbers in source
| Line | optional |
Postscript | ps | Additional quote or comment
| String | optional |
Location | loc | Location in source
| Line | optional |
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
- {{efn}} – for explanatory foot notes
The above documentation is transcluded from Template:Sfn/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |