More actions
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: | ||
{{Documentation subpage}} | |||
{{lua|Module:Footnotes}} | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | |||
}}</ | 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}}. | ||
{{ | |||
</ | {{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> |