Help:Footnotes: Difference between revisions
tidying
(1. Intro bears little relation to what is actually in the article. 2. I do not see any need to confuse the reader with this "cite.php" tech-speak here.) |
(tidying) |
||
| Line 3: | Line 3: | ||
An older method, using '''<nowiki>{{ref}}</nowiki>''' and '''<nowiki>{{note}}</nowiki>''' templates is explained at [[Wikipedia:Footnote3]]. Apart from Harvard references, this method is obsolete. See [[Wikipedia:Embedded citations]] for a third approach. | An older method, using '''<nowiki>{{ref}}</nowiki>''' and '''<nowiki>{{note}}</nowiki>''' templates is explained at [[Wikipedia:Footnote3]]. Apart from Harvard references, this method is obsolete. See [[Wikipedia:Embedded citations]] for a third approach. | ||
=== | ===Single citation of a reference or footnote=== | ||
At the point of citation in the main text, enter the reference or footnote like this: | |||
:'''<nowiki><ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 3.</ref></nowiki>''' | |||
===Multiple citations of the same reference or footnote=== | |||
To cite the same reference or footnote several times, use the '''name''' [[parameter]] of the '''<nowiki><ref></nowiki>''' tag. At ''one'' of the citation points (it makes sense to choose the first), enter the reference like this: | |||
:'''<nowiki><ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref></nowiki>''' | :'''<nowiki><ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref></nowiki>''' | ||
At the second citation point enter: | |||
:'''<nowiki><ref name="Perry"/></nowiki>''' | :'''<nowiki><ref name="Perry"/></nowiki>''' | ||
At the third citation point again enter: | |||
:'''<nowiki><ref name="Perry"/></nowiki>''' | :'''<nowiki><ref name="Perry"/></nowiki>''' | ||
... and so on for further citations. | |||
===Producing the reference or footnote list=== | |||
: | At the point where you want the text of the footnotes to appear (usually at the end of the article in a "Notes" or "References" section) insert the tag: | ||
:'''<nowiki><references/></nowiki>''' | |||
===What it looks like === | |||
The '''<nowiki><ref></nowiki>''' tags in the main text are converted to auto-numbered superscripts, like this: | |||
: | :The only<ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref> reference to the Excel book. | ||
: | :The first<ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> reference to Perry's Handbook. | ||
:The | :The second<ref name="Perry"/> reference to Perry's Handbook. | ||
= | :The third<ref name="Perry"/> reference to Perry's Handbook. | ||
Clicking on the numbered superscript takes you straight to the text of the footnote or reference. | |||
The '''<nowiki><references/></nowiki>''' tag is expanded to show the text of the footnootes or references against their corresponding numbers, like this: | |||
<references/> | <references/> | ||
For single citations, clicking on the caret (<font color=blue>'''^'''</font>) takes you to the point of citation in the main text. | |||
For multiple citations, the links back to the main text are distinguished by letter superscripts (<font color=blue>'''''a'''''</font>, <font color=blue>'''''b'''''</font>, <font color=blue>'''''c'''''</font> etc.). Clicking on a letter superscript takes you to the corresponding citation in the main text. | |||
== See also == | == See also == | ||