Template:Invisible reference/doc

ad

This template can be used to add footnotes at the bottom of a page. Under the hood, it uses a reference tag, which is wrapped inside a div styled with  to prevent it from showing. It is especially useful for adding footnotes for poems wrapped inside a  block. This is because, if you transcribe footnotes inside a poem block, the Poem extension will automatically convert newlines in wikitext into newlines in the footnotes, which is often undesirable.

Do note that, if you're using this in the Page namespace, the template should go in the main content, not in the header or footer (since, when the page is transcluded, this template must be transcluded as well for the footnotes to work in mainspace.)

Usage
As an example:

produces the following:

Lorem ipsum dolor sit amet,
 * Consectetur adipiscing elit,

Sed do euismod tempor incididunt ,
 * Ut labore et dolore magna aliqua.