Misplaced Pages

Help:Footnotes: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 18:38, 17 May 2006 view sourceFrancis Schonken (talk | contribs)Extended confirmed users68,468 edits rv, this definitely looks better← Previous edit Revision as of 18:45, 17 May 2006 view source Omniplex (talk | contribs)5,865 edits whatever is better, put it in the master copy for all, don't start numerous siblingsNext edit →
Line 1: Line 1:
{{H:h}}]
This page gives short introductions to two methods for making linked footnotes:
:''This page gives general documentation valid for all MediaWiki installations which use the ]. For use of this feature in the English Misplaced Pages see ], that page also includes more examples.
* Cite.php method, explained in detail at ], wikipedia's current best practice for numbered footnotes;
* Semi-automatic templates, explained in detail at ], '''apart for Harvard references this method is obsolete'''


==Cite.php method== ==Cite.php method==
* <code>&lt;ref&gt;</code>Reference text<code>&lt;/ref&gt;</code>
{{Help:How to use Cite.php references}}
* <code>&lt;ref name="</code>''id''<code>"&gt;</code>Reference text<code>&lt;/ref&gt;</code>
*: the quotes are only needed if ''id'' contains spaces.
* <code>&lt;ref name="</code>''id''<code>"/&gt;</code>
*: repeated use of same reference may be done as before or in this format with no need to repeat the reference text.
* <code>&lt;references/&gt;</code>
*: inserts the full text of all pending inline citations defined by <code>&lt;ref&gt;</code>, anywhere on the page.


===Multiple insertion of the same reference===
==Old system (with templates)==
{{Ph:Footnotes}}


References may be cited more than once using <code>&lt;ref name="</code>''id''<code>"/&gt;</code>.
==See also==
On the Edit page, this is placed at the first insertion point of citation:<br />
*] (cite.php method)


:'''<nowiki><ref name=Perry>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref></nowiki>'''
]

This is placed at the second insertion point of citation:<br>
:'''<nowiki><ref name=Perry/></nowiki>'''

This is placed at the third insertion point of citation:<br>
:'''<nowiki><ref name=Perry/></nowiki>''' ..... and so forth for further insertion points<br><br>

===Single insertion of a reference===

For the single insertion of a reference, the "name" parameter is not needed. On the Edit page, this is placed at the insertion point of citation:<br>

:'''<nowiki><ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref></nowiki>'''

===What is produced at the points of insertion===

These are what is produced and note that the reference numbers in blue are automatically generated. Clicking on any one of the reference numbers causes the screen display to scroll down to that reference number in the Reference List section:<br>

:First <ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> text word referenced to Perry's Handbook

:Second <ref name="Perry"/> text word referenced to Perry's Handbook

:Third <ref name="Perry"/> text word referenced to Perry's Handbook

:The only <ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref> text word referenced to the Excel book.

===Producing the reference or footnote list===

On the Edit page, this is placed in the References or the Footnotes section:<br />
::'''<nowiki><references/></nowiki>'''<br />

This is what it produces and note that the list numbers are automatically generated:<br />
<references/>

===Notes on the Cite.php method===

* Clicking on the blue superscript <font color="blue">a</font> causes the screen display to scroll back up to the point where the first reference to Perry's Handbook was inserted. Clicking on the blue superscript <font color=blue>b</font> causes the screen display to scroll back up to the point where the the second reference to Perry's Handbook was inserted. Clicking on the blue superscript <font color=blue>c</font> causes the screen display to scroll back up to the point where the the third reference to Perry's Handbook was inserted ... and so forth.

* Clicking on any caret (<font color="blue">^</font>) that has no associated superscripts cause the screen display to scroll back up to the point where that single-use references was inserted.

{{H:f|langs=|enname=Footnotes}}

Revision as of 18:45, 17 May 2006

Template:H:h

This page gives general documentation valid for all MediaWiki installations which use the cite extension. For use of this feature in the English Misplaced Pages see w:Misplaced Pages:Footnotes, that page also includes more examples.

Cite.php method

  • <ref>Reference text</ref>
  • <ref name="id">Reference text</ref>
    the quotes are only needed if id contains spaces.
  • <ref name="id"/>
    repeated use of same reference may be done as before or in this format with no need to repeat the reference text.
  • <references/>
    inserts the full text of all pending inline citations defined by <ref>, anywhere on the page.

Multiple insertion of the same reference

References may be cited more than once using <ref name="id"/>. On the Edit page, this is placed at the first insertion point of citation:

<ref name=Perry>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>

This is placed at the second insertion point of citation:

<ref name=Perry/>

This is placed at the third insertion point of citation:

<ref name=Perry/> ..... and so forth for further insertion points

Single insertion of a reference

For the single insertion of a reference, the "name" parameter is not needed. On the Edit page, this is placed at the insertion point of citation:

<ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref>

What is produced at the points of insertion

These are what is produced and note that the reference numbers in blue are automatically generated. Clicking on any one of the reference numbers causes the screen display to scroll down to that reference number in the Reference List section:

First text word referenced to Perry's Handbook
Second text word referenced to Perry's Handbook
Third text word referenced to Perry's Handbook
The only text word referenced to the Excel book.

Producing the reference or footnote list

On the Edit page, this is placed in the References or the Footnotes section:

<references/>

This is what it produces and note that the list numbers are automatically generated:

  1. ^ Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.
  2. Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.

Notes on the Cite.php method

  • Clicking on the blue superscript a causes the screen display to scroll back up to the point where the first reference to Perry's Handbook was inserted. Clicking on the blue superscript b causes the screen display to scroll back up to the point where the the second reference to Perry's Handbook was inserted. Clicking on the blue superscript c causes the screen display to scroll back up to the point where the the third reference to Perry's Handbook was inserted ... and so forth.
  • Clicking on any caret (^) that has no associated superscripts cause the screen display to scroll back up to the point where that single-use references was inserted.

Template:H:f

Category: