Difference between revisions of "Help:Footnotes"
Line 25: | Line 25: | ||
{{Reflist|30em}}</div></div> | {{Reflist|30em}}</div></div> | ||
− | Aside from directly inserting the ref tags in the main text of the wiki page, another notation of references can be applied where all the text to be cited are moved to the bottom of the page, namely, the footnotes section as a mediagraphy. This version attains the exact same appearance with the above methods yet it makes the source code itself more user-friendly, since at times the citation links may get huge. | + | Aside from directly inserting the ref tags in the main text of the wiki page, another notation of references can be applied where all the text to be cited are moved to the bottom of the page, namely, the footnotes section as a mediagraphy. This version attains the exact same appearance with the above methods yet it makes the source code itself more user-friendly, since at times the citation links may get huge. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
<references> | <references> | ||
Line 44: | Line 33: | ||
</references> | </references> | ||
</pre> | </pre> | ||
+ | |||
+ | The same logic goes for the notes section; it is allowed to assign specific "groups" for ref tags, in the format of <code><nowiki><ref group="groupname" name="name">...</ref></nowiki></code>. Many notations can be used for notes, the most common one is '''Note'''; occasionally solely '''N''' is utilised as well (this substantially diminishes the ambiguity as a four-character superscript may become too long; in Japanese Wikipedia, '''注''' is used, which is of one character only). | ||
+ | |||
+ | <div style="display: flex; gap: 10px;"><div style="padding: 10px; width: 45%;"><h4>Markup</h4><pre> | ||
+ | The Mystery Tour is a series in which the anime-original episodes undergo special planning<ref group="Note">The referred "Mystery Tour" (ミステリー ツアー) is a tourism event in Japan that contains mystery elements conceived by the organizer, thereby bringing the sensation of commitment within a deduction. This event has always been organised by JR West; started in 2001, and runs almost annually.</ref>. | ||
+ | |||
+ | == Notes == | ||
+ | <references group="Note" /></pre></div><div style="padding: 10px; width: 45%;"><h4>Renders as</h4> | ||
+ | The Mystery Tour is a series in which the anime-original episodes undergo special planning<ref group="Note">The referred "Mystery Tour" (ミステリー ツアー) is a tourism event in Japan that contains mystery elements conceived by the organizer, thereby bringing the sensation of commitment within a deduction. This event has always been organised by JR West; started in 2001, and runs almost annually.</ref>. | ||
+ | |||
+ | == Notes == | ||
+ | <references group="Note" /></div></div> | ||
+ | |||
+ | '''{{red|Note that in this wiki, ref tags with group of "N" are utilised in all the anime pages, where as ref tags with group of "Note" are utilised in all the staff pages.}}''' | ||
+ | |||
+ | == Introducing footnotes == | ||
+ | Now, by combining the two sections, footnotes can be formed. | ||
[[Category:Help]] | [[Category:Help]] |
Revision as of 19:13, 22 November 2024
Footnotes is a supplementary ornament used in MediaWiki-based documenting. This can be divided into both Notes and References segments where respective information can be specified.
In short, the references section provides citations of reliable sources of any kind of information; meanwhile the scope of notes can be slightly loose as some explanatory or inferred content can be addressed. The references feature is a built-in HTML-like function that can be called directly using <ref>...</ref>
, <references />
and <references>...</references>
(the latter ones are analogous). To ease editing, some useful templates can be used, for example, the most common instance is the template {{reflist}}
whereby it acts as a better replacement of the <references />
(yet their effects are interchangeable).
How to use it
The general format for ref tags is <ref>text</ref>
. If utilised, a square-bracketed number will appear as a superscript; when the wiki user clicks on it, they will be automatically redirected to the references section. However, each ref tag can be assigned a unique identifier, using name="xx"
, thus it can be reused on the same page with <ref name="xx" />
, rather than citing it again, which would cause unnecessary duplication within the references section.
Markup
Shinichi Kudo solves the roller coaster case<ref>Episode 1</ref>. <references />
The template {{reflist}}
can be used instead of <references />
as it contains many more features. Using this template, the column width of the references' list can be regulated by assigning it with a parameter {{Reflist|xxem}}
. For example, {{Reflist|30em}}
will force the list columns to be of a width of 30 em.
Markup
Kenji Kodama directed the series at an early stage<ref>[https://www.ytv.co.jp/conan/staff/ Detective Conan Staff]</ref>; however, he is currently not involved in the production<ref>[https://www.ytv.co.jp/conan/news/ Detective Conan News]</ref>. ==References== {{Reflist|30em}}
Aside from directly inserting the ref tags in the main text of the wiki page, another notation of references can be applied where all the text to be cited are moved to the bottom of the page, namely, the footnotes section as a mediagraphy. This version attains the exact same appearance with the above methods yet it makes the source code itself more user-friendly, since at times the citation links may get huge.
<references> <ref name="name1">Content</ref> <ref name="name2">Content</ref> <ref name="name...n">Content</ref> </references>
The same logic goes for the notes section; it is allowed to assign specific "groups" for ref tags, in the format of <ref group="groupname" name="name">...</ref>
. Many notations can be used for notes, the most common one is Note; occasionally solely N is utilised as well (this substantially diminishes the ambiguity as a four-character superscript may become too long; in Japanese Wikipedia, 注 is used, which is of one character only).
Markup
The Mystery Tour is a series in which the anime-original episodes undergo special planning<ref group="Note">The referred "Mystery Tour" (ミステリー ツアー) is a tourism event in Japan that contains mystery elements conceived by the organizer, thereby bringing the sensation of commitment within a deduction. This event has always been organised by JR West; started in 2001, and runs almost annually.</ref>. == Notes == <references group="Note" />
Renders as
The Mystery Tour is a series in which the anime-original episodes undergo special planning[Note 1].
Notes
- ^ The referred "Mystery Tour" (ミステリー ツアー) is a tourism event in Japan that contains mystery elements conceived by the organizer, thereby bringing the sensation of commitment within a deduction. This event has always been organised by JR West; started in 2001, and runs almost annually.
Note that in this wiki, ref tags with group of "N" are utilised in all the anime pages, where as ref tags with group of "Note" are utilised in all the staff pages.
Introducing footnotes
Now, by combining the two sections, footnotes can be formed.