Wikipedia:Advanced footnote formatting: Difference between revisions
Content deleted Content added
m Robot - Moving category How-to essays to Wikipedia how-to essays per CFD at Wikipedia:Categories for discussion/Log/2010 November 28. |
191 changes: moved superscript tags inside wikilink brackets as "<sup>[p]</sup>", more style="font-size:89%"; note LyricsTime as no pop-ups "5 years" |
||
Line 2:
{{nutshell|[[#Remote footnotes|Remote footnotes]] can be added for pronunciations or examples. Footnotes can be [[#Indenting and line-splitting|indented, line-split]] & shortened by [[#Deferring details|deferring details]] into References or External links. Due to a WP quirk, the 1st footnote on a page might not indent properly. Beware websites violating copyrights, but LyricsTime.com is proper.}}
The topic of '''advanced footnote formatting'''
::The term "time dilation"
::'''Notes'''<br><
The superscript <small>"[pron.]"</small> can be coded by just
__TOC__
Also, indentation and line-splitting can be used, such as for long URL webpage names, when coding footnotes in an article. For example:
Line 18:
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.
There are numerous styles for displaying [[footnotes]] (or endnotes) in a Wikipedia article. There are also many predefined footnote templates (see [[
==Remote footnotes==
Many terms could use a remote footnote, not cluttering the upper text of page, such as for explaining pronunciations or showing some detailed examples:
::The term "time dilation"
::<div style="font-size:89%">'''Notes'''<br> <small>[
Note that in the pronunciation footnote [p], the word "time" is considered obvious, and the syllables for "dy-LAY-shun" are shown with capital letters for emphasis, but there is also ample space to show the [[International Phonetic Alphabet|IPA]]-format within the same footnote as well.
The
<pre>
<nowiki>==Notes==
<div style="font-size:89%">
: <small>[
</div>
<references/><!--Show numbered footnotes from <ref> tags. -->
</pre>
Since the actual footnote text (of a remote footnote) is written at the bottom of an article, there is ample space to also compare formal versus local pronunciations of town names, without cluttering an article's top text.
Notice how several footnotes can all be linked to the section title "Notes" because that link goes to the entire ''Notes'' section. Each remote footnote can link "Notes" as in: <nowiki>[[#Notes|[a] ]] or [[#Notes|[b] ]] or [[#Notes|[example] ]]</nowiki>, displaying: <sup
: <nowiki><sup
All 3 superscripts "[x]" are combined within the tags "<sup>" & "</sup>". Perhaps 20 remote footnotes could be coded in a similar manner, all linked to the section title named "Notes". For logical placement, the remote footnotes should be defined above the "<references/>" tag (or {{Reflist}} ) which displays the other, numbered ref-tag footnotes.
Although there are other methods to link named-footnotes, the use of the remote footnotes is a very simple method to allow dozens of special footnotes, without depending on complex wiki-features which might change next week. In this case, the term "advanced footnotes" also means: ''sophisticated enough to still work when Wikipedia is changed'' (as typically happens every month). Also, the coding of remote footnotes is likely to work on ''any'' other wiki website, as well.
Line 47 ⟶ 48:
An example (of footnotes within footnotes) would be:
::The term "time dilation"
::<div style="font-size:89%">'''Notes'''<!--
--><br> <small>[
--><br> <small>[a]</small> – Merriam-Webster <!--
-->Dictionary lists "dilation" with pronunciation: <!--
Line 62 ⟶ 63:
--><br> <small>[d]</small> – ''Merriam-Webster <!--
-->Online Dict.'', 2009, webpage: [http://www.merriam-<!--
-->webster.com/dictionary/time+dilation MW-time+dilation].</div>
Nested footnotes can be used to address several common issues that would tend to clutter the top-text of an article:
Line 131 ⟶ 132:
In the above example, the 3 footnotes are reduced to just short ref-name tags at first, then later expanded to show more details. However, they defer the extreme details for publisher, ISBN, and webpage-URL links to be contained as entries under "External links". Using that advanced method, no publisher names, ISBN numbers or long URL names appear in the upper article text for those 3 footnotes.
Each full footnote is coded within 3 lines of text, even though indented and pinpointing the page numbers. The tedious details are all deferred into the section "External links" (or else "References") at the bottom of the article. That separation is possible by repeating the author name and title in each entry when listed in the bottom sections. So, full footnotes can become a 3-line indentation, rather than the typical 6 or 9-line blobs that clutter many articles.
==Beware linking websites that violate copyrights==
''
:* http://www.lyricstime.com/michael-jackson-billie-jean-lyrics.html
That webpage, for the Michael Jackson song ''"[[Billie Jean]]"'', has a bottom [[disclaimer]]:
: "DISCLAIMER: You must agree to the following statement or leave this website. All '''Michael Jackson - Billie Jean''' lyrics, artist names and images are copyrighted to their respective owners. All ''Michael Jackson - Billie Jean'' song lyrics are restricted for educational and personal use only." [bold type from original]
That [[disclaimer]] seems to sufficiently cover the copyright concerns, and plus having no sluggish pop-up ads (for over
==Recap of multi-level footnotes==
|