Content deleted Content added
→Shortened footnotes: example |
→Footnote3: comparison |
||
Line 56:
===Footnote3===
{{main|Wikipedia:Footnote3}}
Footnote3 is a deprecated but still used method of referencing. Although it appears similar to the Footnotes system, it uses the {{tl|ref}} and {{tl|note}} templates.
{{markup
|<nowiki>According to scientists, the Sun is pretty big.{{ref|miller-23}}
The Moon, however, is not so big.{{ref|moonsize}}
==Notes==
# {{note|miller-23}} Miller, E: "The Sun.", page 23. Academic Press, 2005
# {{note|moonsize}} Smith, R: "Size of the Moon", ''Scientific American'', 46(78):46</nowiki>
|According to scientists, the Sun is pretty big.{{ref|miller-23}}
The Moon, however, is not so big.{{ref|moonsize}}
{{fake heading|sub=3|Notes}}
# {{note|miller-23}} Miller, E: "The Sun.", page 23. Academic Press, 2005
# {{note|moonsize}} Smith, R: "Size of the Moon", ''Scientific American'', 46(78):46
}}
{| class="wikitable"
|+ Comparison of Footnote3 and Cite.php Footnote
! !! Footnote3 !! Cite.php
|-
| Use || Deprecated for standard footnotes{{r|footnote3}} || Standard{{r|footnote}}
|-
| Number style || User applied, free style: can use numbers, alpha, Greek, etc. || Automatic with several styles{{r|citelabel}}
|-
| Reference list order || Manual || Automatic
|-
| Nesting || Can nest {{tag|ref}} and other templates || Nesting with limitations{{r|refnest}}
|-
| Reuse || Yes, but creates duplicate HTML ids{{r|htmlid}} || Yes, unique HTML ids{{r|citebacklinks}}
|-
| Target highlight || Backlink only || Backlink and citation
|-
| Error checking || No{{r|referror}} || Yes{{r|citeerror}}
|-
| Markup || Fairly terse || Can be a bit long, especially when using groups
|}
{{reflist |refs=
<ref name=citebacklinks>A large number of reuses of a cite will result in a long sequence of backlinks that are unwieldy and useless; see {{bug|23455}}.</ref>
<ref name=citeerror>See [[Help: Cite errors]].</ref>
<ref name=citelabel>See [[Help:Shortened footnotes]]</ref>
<ref name=referror>It is possible to define a Note without a matching Ref or vice versa. Example: {{oldid|Governor of New York|349745548|Governor of New York}} invokes Ref but never defines the references.</ref>
<ref name=footnote>See [[Help:Footnotes]]</ref>
<ref name=footnote3>See [[Wikipedia:Footnote3]]</ref>
<ref name=htmlid>{{tl|Ref}} creates an HTML id for the backlink using {{code|<nowiki>id="ref_{{{1}}}"</nowiki>}}; when using Ref multiple times, the id is the same.
*Per the HTML spec, ids must be unique, thus reuse causes Help:Markup validation|validation errors]] in the articles where the template is transcluded.
*Backlinks from the reference list to the inline cite are ambiguous— FireFox and Internet Explorer backlink only to the first inline cite, Opera backlinks to the last.
*Example: See the use of the dagger symbol in {{oldid|List of baryons|350423039|List of baryons}} and the [http://validator.w3.org/check?uri=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DList_of_baryons%26oldid%3D350423039&charset=%28detect+automatically%29&doctype=Inline&group=0 W3C validation]— the HTML id for the dagger is "ref_Undiscovered".</ref>
<ref name=refnest>See [[WP:REFNEST]]</ref>
}}
===Parenthetical referencing===
|