Editing Template talk:Footnote

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:


:Oh... maybe. The example text [[MarioWiki:Manual of Style|here]] could work. {{User:Twentytwofiftyseven/sig|}} 15:14, 25 March 2009 (EDT)
:Oh... maybe. The example text [[MarioWiki:Manual of Style|here]] could work. {{User:Twentytwofiftyseven/sig|}} 15:14, 25 March 2009 (EDT)
== Grouped ref tags ==
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 <code>group</code> attribute. Typically, group-less ref tags are used for the actual references of the article, whereas ref tags with a named group (e.g., <code><nowiki><ref group="n">…</ref></nowiki></code>) are used for footnotes and are grouped together according to their group name:
<pre><nowiki>
===Notes===
<references group="n"/>
</nowiki></pre>
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 <code>name</code> attribute (just like any ref tag), which does not seem possible with the Footnote template (see [https://www.mariowiki.com/index.php?title=List_of_Super_Mario_Bros._Wonder_staff&oldid=4130605#Notes 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 <code><nowiki><ref group="n" name="1.0.1"/></nowiki></code>).
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. {{User:Jdtendo/sig}} 13:06, February 18, 2024 (EST)

Please note that all contributions to the Super Mario Wiki are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see MarioWiki:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)