Help:Shortened footnotes

Shortened footnotes are a hybrid of standard footnotes and Harvard-style parenthetical referencing. They use inline citations that link to a shortened reference in a list with a separate reference list with full citations to the source. The shortened reference may link to the full reference.

Shortened footnotes are used for several reasons: they allow the editor to cite many different pages of the same source without having to copy the entire citation; they avoid the inevitable clutter when citations are inserted into the source text; they bring together all the full citations into a coherent block of markup rather than being strewn throughout the text which allows the list to be alphabetized and makes it easier to edit all the full citations at once.

Please read Help:Footnotes first, as this guide builds upon the methods described there.

Overview
In this short example, note that an inline citation such as links to the shortened footnote under "Notes", which in turn links to the long citation in the References list:

{{markup The Norwegian Blue Parrot will not move if its feet are nailed to the perch.{{sfn|Praline|1969|p=12}} Its metabolic processes are a matter of interest only to historians.{{sfn|Praline|1969|p=16}}
 * The brontosaurus is thin at one end.{{sfn|Elk|1972|p=5}} Then it becomes much thicker in the middle.{{sfn|Elk|1972|p=6}}

Inline citations
An inline citation can be created using standard tags, but this will not link to the long citation:

You can manually create a link to the long citation:

Using the sfn template along with harv allows linking with simplified markup:

The sfnp template places the date in parenthesis:

The sfnm template supports the inclusion of multiple sources in a single footnote.

Before sfn was developed, harvnb or a similar template was used in tags:

This method is still in place in many articles. Templates in this series include harvnb, harv, harvtxt, harvcoltxt, harvcol and harvcolnb. When used with Citation Style 1 templates, all require harv set inside the template in order to link to the full citation. The differences are in the use of parenthesis and colons; see Harvard citation documentation.

The link is normally created from the authors' last names and the year of publication.

List of footnotes
The list of footnotes is created by using reflist. When only shortened footnotes are used, then will show the list in an appropriate number of columns. Where shortened and long footnotes are mixed, use.

Linking
Citations in the References list are usually created with a citation template. When linking is desired between the shortened and long citations, the citation template must create an anchor. When using citation, an anchor is always created. When using one of the Help:Citation Style 1 templates, ref must be set, usually to harv (See Help:Citation Style 1 for details). By setting harv, the anchor is automatically created from the author's last name and the year of publication:



In many cases, there is no author, therefore the link and anchor must be created in a different manner. For example:



Here the inline citation can be created as:

And the anchor for the citation created with sfnRef:

References list
Full citations in the references list may be formatted manually or by use of templates. See the Wikipedia referencing navbox below for various citation styles.

The reference list is formatted by placing the citations in an unordered list using the * markup. Entries may be sorted by the author's last name. The text size may be formatted with refbegin and refend. The references list is normally displayed in one column with no indenting.



Date
The inline citation should include only the year. The full citation may include the year only or the full date. Most citation templates will extract the year from a full date to form the anchor. If both a date and a year are included, then the date is displayed, but the anchor is formed from the year.

If an author has multiple works in the same year, regardless of whether is a full date or only a year, then duplicate anchors will be generated. To resolve this, suffix the year with an alpha character. For example:

No author
Some sources do not have a single author with a last name, such as a magazine article or a report from a government institution. Options include:
 * For a newspaper or periodical, use the name of the publication and the date, or set the author parameter to "publication name staff".
 * For a publication by an institution, use the name of the institution.
 * Some style guides recommend using the title of the article (title-date).
 * Other style guides recommend using "Anonymous" or "Anon."

Explanatory notes
Explanatory or content notes are used to add explanations, comments or other additional information relating to the main content. One of the reasons they may be used is to avoid making the text too long or awkward to read. Such notes may include supporting references.

Shortened footnotes mixed with explanatory notes
This section uses sfn and efn. {{markup
 * The Sun is pretty big.{{sfn|Miller|2005|page=23|ps=. But Miller points out that the Sun is not as large as some other stars.}} But the Moon{{efn|The Moon goes by other names, such as Selena - see, for example Jones, The Solar System, MacMillan, 2005, p 623.}} is not so big.{{sfn|Brown|2001|page=46|ps=. Historically the Moon was not always considered to be large, see, for example {{harvnb|Peterson|2004|page=623}}}} The Sun is also quite hot.{{sfn|Smith|2005|page=334}}

Shortened footnotes with separate explanatory notes
This example creates a separate notes section by using Citing sources and Help:Footnotes.

{{markup
 * The Sun is pretty big. But the Moon is not so big.  The Sun is also quite hot.

Shortened footnotes with separate explanatory notes with references
This method uses sfn to create the main footnotes, refn to create the explanatory notes and sfn to create footnotes in the explanatory notes.

{{markup
 * The Sun is pretty big.{{sfn|Miller|2005|p=23}}{{refn|group=lower-alpha|But Miller points out that the Sun is not as large as some other stars.{{sfn|Miller|2005|p=23}}}} But the Moon{{refn|group=lower-alpha|The Moon goes by other names, such as Selena.{{sfn|Brown|2001|p=63}}}} is not so big.{{sfn|Brown|2001|p=46}}{{refn|group=lower-alpha|Historically the Moon was not always considered to be large.}} The Sun is also quite hot.{{sfn|Smith|2005|p=334}}

Errors
Errors involving tags will be automatically displayed in article, user, template, category, help and file pages. To show error messages on talk and other pages, see Help:Reference display customization.

It is very possible to create an inline citation that does not link to the full citation and to create full citations that do not have a matching inline citation. Often the link and anchor may not match for some reason. When an inline citation does not have a matching full citation and cannot be readily resolved, then it can be tagged with Citation not found.

It is also possible to create duplicate IDs for the inline citation, resulting in invalid HTML.

Examples
These articles exemplify the use of shortened footnotes:
 * QF 3.7 inch AA gun (Wikipedia); uses manually crafted short citations in tags
 * NBR 224 and 420 Classes (Wikipedia); uses sfn

sfn template use notes
Sfn} and variant templates form the link from the author last name and the year. Up to four authors are supported, for example,. The full citation must create an anchor that matches the sfn link. templates use harv to create the anchor; always creates the anchor. An "anchor" is a landing place for a link to jump to. It is automatically created by/from certain parameters in the full citation template.

If there is a need to cite two works by the same author published in the same year see more than one work in a year for advice on what to do.