Template talk:Footnote

From the Super Mario Wiki, the Mario encyclopedia
Revision as of 14:27, February 19, 2024 by Jdtendo (talk | contribs) (→‎Grouped ref tags: use a permanent link for the SMBW staff example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Should the example be replaced with something thats related to Mario? Super-YoshiMust...eat...sig...Talk? C???

Oh... maybe. The example text here could work. - 2257(Talk) 15:14, 25 March 2009 (EDT)

Grouped ref tags[edit]

The page says that the use of the Foonote template "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." That statement is wrong. You can have multiple lists of ref tags, thanks to the group attribute. Typically, group-less ref tags are used for the actual references of the article, whereas ref tags with a named group (e.g., <ref group="n">…</ref>) are used for footnotes and are grouped together according to their group name:

===Notes===
<references group="n"/>

Grouped ref tags are already in use on the Wiki (see Mario Kart (series)#Notes) and are IMO neater than the Footnote template because they simply re-use the ubiquitous mechanism of ref tags, whereas the Footnote template relies on a completely different mechanism not used anywhere else. Moveover, mutliple grouped ref tags can refer to the same footnote using the name attribute (just like any ref tag), which does not seem possible with the Footnote template (see List of Super Mario Bros. Wonder staff where a footnote is duplicated because the Footnote template does not allow two refs pointing to the same footnote, which could instead be achieved using ref tags with <ref group="n" name="1.0.1"/>).

In conclusion, I think we should change the text on the template page so that it states that grouped ref tags are preferable to the Footnote template when we need multiple lists of footnotes on the same page. Jdtendo(T|C) 13:06, February 18, 2024 (EST)