The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Footnote

From The Codex
Revision as of 19:40, 13 March 2024 by GiverOfThePeace (talk | contribs) (Created page with "{{#ifeq:{{{1}}}|main|<sup id="footnote_inline_{{{2}}}">''{{{2}}}''</sup>}}{{#ifeq:{{{1}}}|note|<sup id="footnote_note_{{{2}}}">''{{{2}}}''</sup>{{#if:{{{3|}}}|<small> - {{{3}}}<br></small>}}}}<noinclude> This is a template that emulates the function of the <nowiki><ref> and <references/></nowiki> tags. Although this template is commonly used on the wiki to create a list of notes, it is also possible to have multiple...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a template that emulates the function of the <ref> and <references/> tags. Although this template is commonly used on the wiki to create a list of notes, it is also possible to have multiple lists of footnotes in a single article by using grouped references.

Usage

{{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.

Example

The Codex Wiki

Super Mario Wiki logo§.

Notes

§ - This is an image.