Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Created page with "<includeonly>{{#invoke:Footnotes|sfn |bracket_year_left = ( |bracket_year_right = ) |template=sfnp }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:Sfnp with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | 5 | ignore-err | at | loc | p | page | pages | postscript | pp | ps | ref | Ref }}<noinclude> {{documentation}} </noin..."
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{#invoke:Footnotes|sfn
{{Documentation subpage}}
|bracket_year_left = (
{{lua|Module:Footnotes}}
|bracket_year_right = )
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
|template=sfnp
 
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using sfn with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Sfnp]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | 5 | ignore-err | at | loc | p | page | pages | postscript | pp | ps | ref | Ref }}<noinclude>
The '''shortened footnote with parentheses template''' <nowiki>{{</nowiki>'''sfnp'''<nowiki>}}</nowiki> or '''shortened footnote with brackets template'''<!--British English--> <nowiki>{{</nowiki>'''sfnb'''<nowiki>}}</nowiki> creates a short [[WP:Harvard reference|author–date citation]] in a footnote.  It works exactly like the basic {{tlb|sfn}} template, except that it puts parentheses <code>()</code> around the year, a bit like the way that full citations appear in (e.g.) [[APA style]].  It is a stylistic alternative to {{tlb|sfn}}.
{{documentation}}
 
</noinclude>
{{Harvard citation documentation|sfnp|noref=1}}
 
== TemplateData ==
{{TemplateDataHeader}}
<templatedata>
{
"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"
]
}
},
"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"
}
</templatedata>
 
<includeonly>{{sandbox other||
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Footnote templates]]
[[Category:Author–date citation templates]]
}}</includeonly>

Latest revision as of 21:38, 18 February 2025

The shortened footnote with parentheses template {{sfnp}} or shortened footnote with brackets template {{sfnb}} creates a short author–date citation in a footnote. It works exactly like the basic {{sfn}} template, except that it puts parentheses () around the year, a bit like the way that full citations appear in (e.g.) APA style. It is a stylistic alternative to {{sfn}}.

Template:Harvard citation documentation

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Sfnp in articles based on its TemplateData.

TemplateData for Sfnp

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

Trailing text to replace period

Example
none
Stringoptional
Locationloc at

Location in source

Example
section 7
Lineoptional