Don't like the ads? Then create an account! Users with accounts have more options than anonymous users.

Difference between revisions of "Template:Footnote"

From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(The)
 
Line 12: Line 12:


==Attribution==
==Attribution==
Original template is from the [[mariowiki:Template:Footnote|Super Mario Wiki]].
The original template is from the [[mariowiki:Template:Footnote|Super Mario Wiki]].


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 11:37, March 1, 2022

This is a template that emulates the function of the <ref> and <references/> tags. It can sometimes be preferable to actual ref tags since it allows multiple lists of footnotes in a single article, while the ref tags do not. In an article where only one list of footnotes is needed, ref tags are usually preferable.

Usage[edit]

{{footnote|main|1}}

Will create a footnote tag like this: 1 Note that the one can be virtually anything, although some characters may need to be escaped. For example, [1] is escaped as {{footnote|main|&#‍91;1&#‍93;}}. This should be used in the main text to provide a link to the footnote.

{{footnote|note|1|Example footnote}}

Will create this:
1 - Example footnote
This should be used in a list of notes after the main text of an article or paragraph.

Attribution[edit]

The original template is from the Super Mario Wiki.