Help:Creating Footnotes

From leaftidewiki
(Redirected from How To Make Footnotes)
Jump to navigation Jump to search


The basic concept of the <ref> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the placeholder tag <references />. The new format cannot be used interchangeably with the old format - you must pick one or the other.

If you forget to include <references /> in the article, the footnotes will not appear, but a red error message will be displayed at the end of the page.

This page itself uses footnotes, such as the one at the end of this sentence.<ref>This footnote is used as an example in the "How to use" section.</ref> If you view the source of this page by clicking "Edit this page", you can see a working example of footnotes.


The Falatacot diverge into two branches: the Dark Falatacot, dealing in the power of undeath and corruption in service to the Old Ones; and the Light Falatacot, working to protect what they consider to be worshipful spirits - the Deru Trees.<ref>2008/08 [[Ancient Powers]] - [[Knight Test]]</ref>

Primordial gods struggle with evil shadow creatures. After a long contest that exhausted their powers, the gods banish the shadows into the earth by creating the sun and stars.<ref>1999/11 [[Release]] - [[The Advocate Towers]]</ref>


Multiple uses of the same footnote

To give a footnote a unique identifier, use <ref name="name">. You can then refer to the same footnote again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can either copy the whole footnote, or you can use a terminated empty ref tag that looks like this: <ref name="name" />.

In the following example, the same source is cited three times.

This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref>

Such references are particularly useful when citing sources, if different statements come from the same source.<ref name="multiple">This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.</ref>

A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, please be aware that if a future contributor removes the first reference, this will result in the loss of all references using the empty ref tags.<ref name="multiple" />


<references />

Placing <references /> inserts the full text of all pending inline citations defined by <ref>, anywhere on the page. For example, based on the citations above, the code:

<references />

will yield:


Clicking a footnote will take you immediately to that footnote and highlight it, clicking the arrow key (or instance number if used several times) to the left of the footnote will take you to the place in the article where the footnote was used.