Template:Sfn/doc
{{Documentation subpage}}
{{High-use|risk}}
{{Template redirect|sfnnb}}
{{Lua|Module:Footnotes|Module:Check for unknown parameters}}
The shortened footnote template {{tl|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.
{{Harvard citation documentation|sfn|noref=1}}
TemplateData
{{TemplateDataHeader}}
{
"params": {
"1": {
"description": "Last name of first (or only) author",
"required": true,
"example": "Smith",
"type": "line",
"suggested": true,
"label": "Author last name"
},
"2": {
"description": "Year for citations with one author, or last name of second author for citations with two or more authors",
"required": true,
"example": "2006",
"type": "string",
"suggested": true,
"label": "Second author or year"
},
"3": {
"description": "Year for citations with two authors, or last name of third author for citations with three or more authors",
"type": "string",
"label": "Third author or year"
},
"4": {
"description": "Year for citations with three authors, or last name of fourth author for citations with four authors",
"type": "string",
"label": "Fourth author or year"
},
"5": {
"description": "Year for citations with four authors",
"type": "number",
"label": "Year (if four authors included)"
},
"p": {
"description": "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)",
"suggested": true,
"aliases": [
"page"
],
"example": "42",
"type": "line",
"label": "Page"
},
"pp": {
"description": "Page numbers in source",
"aliases": [
"pages"
],
"example": "23–24",
"type": "line",
"label": "Pages"
},
"ps": {
"description": "Trailing text to replace period",
"example": "none",
"type": "string",
"label": "Postscript"
},
"loc": {
"description": "Location in source",
"example": "section 7",
"type": "line",
"label": "Location",
"aliases": [
"at"
]
},
"group": {
"label": "Group",
"description": "The reference group for the footnote",
"type": "string"
}
},
"description": "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.",
"format": "inline"
}
See also
- {{tl|p.}} – citing a page number
- {{tl|r}} – define and reference page(s)
- {{tl|rp}} – reference page(s)
- {{tl|Sfnm}} – for multiple sources
- {{tl|SfnRef}} – for the ref anchor
- {{tl|Sfnlink}} – for unidirectional links, especially from LDRs
- {{tl|efn}} – for explanatory foot notes
{{Wikipedia referencing}}
Category:Author–date citation templates
Category:Templates that generate named references
}}