|
Article on other languages:
|
This page explains footnote systems, implemented with sets of Wikipedia templates. The pairs of templates discussed in this guideline are:
Not all references are made using footnotes : Please see Wikipedia:Citing sources for guidance on references and alternative markup. Also, not all footnotes are citations of information sources. They are also used for clarification or other notes about material. Common uses include explaining the meaning of a table header, or an exception regarding a specific entry in a table, etc.
Footnote overviewA footnote is a note placed at the bottom of a page of a document that comments on, and may cite a reference for, a part of the main text. The connection between the relevant text and its footnote is often indicated with a number or symbol which is used both after the text fragment and before the footnote. Footnotes are sometimes useful for relevant text that would distract from the main point if embedded in the main text, yet are helpful in explaining a point in greater detail. Footnotes are also often used to cite references which are relevant to a text. Citation of sources is important in supporting Verifiability, a key aspect of Wikipedia. Footnote usageThe {{ref}} templates generate automatically-numbered links in text to connect to footnotes in the section, most commonly named Notes or References, and footnotes contain matching {{note}} templates which generate backlinks back to the referring text.
This method has the following disadvantages:
How to use
The basic use of the ref and note templates is just choosing a one word descriptive <name> for your reference and:
Use a separate note template for each reference template. There are three examples below: The first is for this basic use of the ref and note templates. The second example explains how to build identical references, referring to the same footnote, using the ref label and note label templates for additional references to a ref/note footnote. The third example is a combination of the two, but with the multiple references made only within the footnotes section for easier maintenance by editors and easier navigation by the reader. Example
According to scientists, the Sun is pretty big.{{ref|miller-23}}
The Moon, however, is not so big.{{ref|moonsize}}
==Notes==
# {{note|miller-23}} Miller, E: "The Sun.", page 23. Academic Press, 2005
# {{note|moonsize}} Smith, R: "Size of the Moon", ''Scientific American'', 46(78):46
The {{note}}'s in the Notes section must occur in the same order as the corresponding {{ref}}'s in the main text. This is an important issue to consider when adding more footnotes later. The {{ref label|<name>|<fixed number>}} template (where the numbers of the text references are fixed and not automatically assigned) can be used instead of the {{ref|<name>}} template, but this should only be used when necessary due to the lack of automatic numbering. It is encouraged that other, non-numbered references use citation templates such as shown in Wikipedia:Template messages/Sources of articles/Generic citations. Example with multiple references to the same footnoteFor the same footnote to be used several times, the additional template pairs now also include the footnote number, and a backlink label with which to identify the backlink (usually a letter "a" through "z").
This is an example of a whole document in wiki format.{{ref|myref-25}}
Another reference to the same source can be made.{{ref label|myref-25|1|a}}
In this case, "1" is the number in the References section and "a" is the backlink label.
==References==
# {{note|myref-25}}{{note label|myref-25|1|a}} and this is a note about the text from page 25
of a book. If known, give full reference including title, author, and ISBN.
Footnote [2] in this article is referred to multiple times in the text, as well as in latter sections of the article, following this example.[2] Example with multiple uses of the same footnoteAnother way to get to and use the same footnote is by travelling within the Footnotes section itself. Get to the footnotes section using the auto-numbered "ref/note" template pair, the basic template. Then use the "ref label/note label" template pair, exactly as in the preceding Example with multiple references.., but now entirely within the Footnotes section. Say something like "See above footnote 2c" to help the reader navigate. Future maintenance of footnote numbers and backlink labels is easier, within just the Footnote section, than trying to locate footnote references buried in a long text such as this article is. This alternative may cost the reader two extra clicks, a tradeoff against easier navigation. This approach is shown in this footnote. Finally, the original footnote could be multiply repeated in the Footnotes section, each time with a new number -- in this article footnote [2] would appear five times, with five different numbers. This alternative is acceptable if done judiciously -- but not in this article.
Style recommendations
Helping editors unfamiliar with footnote templatesAs the recommended footnote structure does not appear to be entirely intuitive to all editors, and as notes being placed in the wrong order can affect the order of all following notes, making notes appear as if they do not match up, this short HowTo description can be inserted at the top of the Footnotes section, marked off to hide it from the actual article:
<!-- <nowiki>
IMPORTANT:
Footnotes using {{ref}}/{{note}} templates (and their variants) are becoming obsolete:
A more up-to-date system uses MediaWiki software <ref>...</ref> and <references/> tags,
as explained in [[Wikipedia:Footnotes]].
IF CONTINUING TO USE {{ref}}/{{note}} FOOTNOTES ON THIS PAGE:
Footnotes in this article use names, not numbers. Please see [[Wikipedia:Footnote3]] for details.
How to add a *SEMI-AUTOMATICALLY NUMBERED* footnote:
1) Assign your footnote a unique name, for example TheSun_Dec9.
2) Add the macro {{ref|TheSun_Dec9}} to the body of the article, where you want the new footnote.
3) Take note of the name of the footnote that immediately precedes yours in the article body.
4) Add #{{Note|TheSun_Dec9}} to the list, immediately below the footnote you noted in step 3. No need to re-number anything!
5) Multiple footnotes to the same reference: see [[Wikipedia:Footnote3]] for a how-to.
NOTE: It is important to add footnotes in the right order in the list!
HARVARD REFERENCES
See:
* [[Wikipedia:Harvard referencing]]
* {{ref_harvard}}/{{ref_harv}} + {{note_label}} templates can be used as explained in [[Wikipedia:Footnote3]]
</nowiki> -->
Instead of copy-pasting this text, it is possible to insert the following: {{subst:Footnotestext}} (don't forget the "subst:" as only then is the template tag replaced by the commentary!). Other (obsolete) template namesOriginally this proposal used the {{an|<name>}} template and {{anb|<name>}}; these were made obsolete and have been deleted. The {{endnote|<name>}} template was used in another earlier proposal which was converted to use the same system as is listed here. Substituting {{endnote| with {{note| should update pages still using this system. Design goalsThe design goals behind this system were
Migration strategyThere is a perl script numlink2note.pl available which automatically converts numbered URL links in a page into footnotes with this system. The references should still be hand checked, but at least part of the work is done. Migration from old footnote systems should be reasonably easy to automate. As an intermediate measure, the embedded footnote numbers can be used as temporary footnote names until better ones are generated manually. The {{fn|<name>}} template and {{fnb|<name>}} template can be simply changed to match an and note templates. The following substitution (untested perl code).
m/\{\{fnb/ && /s/^\*/\#/ ;
will provide automatic numbering of footnote comments. The following code will warn about pages which use links without text. m,\[[a-z]://\W*\],i && warn "unprotected url in text"; How does it work?This section describes the technical implementation based upon characteristics of the current software. The {{ref|<name>}} uses tricks listed in m:Help:Variable to create an external wiki link back to a section in the same page (like [http://en.wikipedia.org/wiki/This_Page.html#footnote]). This external link is then automatically numbered by the normal numbering system for external links without link text. The link is surrounded in a sup tag which makes it look like a footnote and gives a reference that the footnote can link back to.
{{ref|Jefferson}}
becomes <span class="reference"><sup id="ref_Jefferson" class="plainlinksneverexpand"> [http://en.wikipedia.org/wiki/Page_name.html#endnote_Jefferson]</sup></span> The {{note|<name>}} is a bit simpler, and is basically a copy of the older {{fnb|<name>}}. This just creates a section link back to the location of the footnote.
# {{note|Jefferson}}
becomes # <cite id="endnote_Jefferson" style="font-style: normal;">[[#ref_Jefferson|'''^''']]</cite> Normal link and list numbering then produces automatic numbering of the footnotes. Converting citation stylesConverting citation styles should not be done without first gaining consensus for the change on the article's talk page. A December 2005 ArbCom case ruled that following scripts could no longer be used by a certain wikipedian:
Similarly, individual users may be forbidden to "manually convert citation styles on any articles." So, tread lightly, and seek consensus first, before converting citation styles. Disadvantages and future improvements
Footnotes
See also
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net