Wikipedia:Advanced footnote formatting: Difference between revisions
Content deleted Content added
m change source to syntaxhighlight |
m <syntaxhighlight lang="wikitext"> |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 9:
__TOC__
Also, indentation and line-splitting can be used, such as for long URL webpage names, when coding footnotes in an article. For example:
<syntaxhighlight lang="wikitext">
In [[digital imaging]], a pixel<ref>
Rudolf F. Graf, ''Modern Dictionary of Electronics'',
Line 15:
Google Books (''see below:'' References).</ref>
(or picture element) is the smallest part of an image.
</syntaxhighlight>
In the above example, each part of the ref-tag footnote is indented (3 spaces) from the left margin. Due to a Wikipedia quirk, the first footnote on a page cannot be indented, because it is treated as a quotebox.
Line 27:
The footnote's superscript <small>"[p]"</small> can be coded by just a short wikilink: <nowiki><sup>[[#Notes|[p] ]]</sup></nowiki>. The full, detailed content of that footnote text is not at the top of the article but, instead, is coded within the section named "Notes", thus shifting all that text into the Notes section, and deferring details away from the main text of an article. The ''Notes'' section could be coded as:
<syntaxhighlight lang="
==Notes==
<div style="font-size:89%">
Line 48:
An example (of footnotes within footnotes) would be:
::The term "time dilation"<sup>[[#Notes|[p] ]]</sup> refers to a slowing of elapsed duration.
::<div style="font-size:89%">'''Notes'''<!-- --><br> <small>[p]</small> – The word ''dilation'' is pronounced "dy-LAY-shun" [[#Notes|<sup>[a]</sup>]] and is the preferred term.[[#Notes|<sup>[b]</sup>]]<!-- --><br> <small>[a]</small> – Merriam-Webster <!-- -->Dictionary lists "dilation" with pronunciation: <!-- -->\dī-'lā-shən\.<sup>[<span></span>[[#Notes|c]]]</sup><!-- --><br> <small>[b]</small> – The term <!-- -->''"[[time dilation]]"'' has been used since 1934 but <!-- -->is sometimes called "time dilatation".<!-- --><sup>[<span></span>[[#Notes|d]]]</sup><!-- --><br> <small>[c]</small> – ''Merriam-Webster <!-- -->Online Dictionary'', 2009, webpage: [http://www.<!--
-->merriam-webster.com/dictionary/dilation MW-dilation].<!-- --><br> <small>[
-->webster.com/dictionary/time+dilation MW-time+dilation].</div>
Line 76 ⟶ 64:
<div style="width:auto; overflow:scroll">
<syntaxhighlight lang="
In [[digital imaging]], a '''pixel'''<ref>{{Cite book
| author=Rudolf Graf | date=1999
Line 99 ⟶ 87:
Because of a Wikipedia formatting quirk, the first footnote on a page might be treated as a quotebox when indented (as during May 2009). However, the indentation can be simulated, by line-splitting with HTML comments, between all lines within <ref>....</ref>:
<syntaxhighlight lang="
In digital imaging, a pixel<ref><!--
-->R. Graf, ''Modern Dictionary of<!--
Line 121 ⟶ 109:
==Deferring details==
Another major technique for clarifying text, containing many footnotes, is to defer the footnote details to later parts of the article, such as using named ref-tags and putting "see: External links" for URLs. For example, listing 3 footnotes:
<syntaxhighlight lang="
In digital imaging, a pixel<ref name=MD/><ref name=AD/><ref name=DE/>
(or picture element) is the smallest part of an image. The word
|