Difference between revisions of "Help:Footnotes"

From Detective Conan Wiki
Line 1: Line 1:
'''Footnotes''' is a supplementary ornament used within MediaWiki-based documenting. This can be divided into both '''Notes''' and '''References''' segments where respective information can be specified.
+
'''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 <code><nowiki><ref>...</ref></nowiki></code>, <code><nowiki><references /></nowiki></code> and <code><nowiki><references>...</references></nowiki></code> (the latter ones are analogous). To ease editing, some useful templates can be used, for example, the most common instance is the template <code><nowiki>{{reflist}}</nowiki></code> whereby it acts as a better replacement of the <code><nowiki><references /></nowiki></code> (yet their effects are interchangeable).
 
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 <code><nowiki><ref>...</ref></nowiki></code>, <code><nowiki><references /></nowiki></code> and <code><nowiki><references>...</references></nowiki></code> (the latter ones are analogous). To ease editing, some useful templates can be used, for example, the most common instance is the template <code><nowiki>{{reflist}}</nowiki></code> whereby it acts as a better replacement of the <code><nowiki><references /></nowiki></code> (yet their effects are interchangeable).
Line 5: Line 5:
 
== How to use it  ==
 
== How to use it  ==
 
The general format for ref tags is <code><nowiki><ref>text</ref></nowiki></code>. 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 <code><nowiki>name="xx"</nowiki></code>, thus it can be reused on the same page with <code><nowiki><ref name="xx" /></nowiki></code>, rather than citing it again, which would cause unnecessary duplication within the references section.
 
The general format for ref tags is <code><nowiki><ref>text</ref></nowiki></code>. 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 <code><nowiki>name="xx"</nowiki></code>, thus it can be reused on the same page with <code><nowiki><ref name="xx" /></nowiki></code>, rather than citing it again, which would cause unnecessary duplication within the references section.
 +
 +
<div style="display: flex; gap: 10px;"><div style="padding: 10px; width: 45%;"><h4>Markup</h4><pre>
 +
Shinichi Kudo solves the roller coaster case.<ref>Episode 1</ref>
 +
{{reflist}}</pre></div><div style="padding: 10px; width: 45%;"><h4>Renders as</h4>
 +
Shinichi Kudo solves the roller coaster case.<ref>Episode 1</ref>
 +
{{reflist}}</div></div>
  
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 18:30, 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>
{{reflist}}

Renders as

Shinichi Kudo solves the roller coaster case.[1]

  1. ^ Episode 1