If you wish to contribute or participate in the discussions about articles you are invited to contact the Editor

Help:Footnotes: Difference between revisions

From Navipedia
Jump to navigation Jump to search
Line 1: Line 1:
==Notes gathered at a single position==
==Notes gathered at a single position==
Note: This method will only work if you have installed the Cite Extension, which can be found here. [[mw:Extension:Cite]]:
This method gathers the notes at a single position marked with the  
This method gathers the notes at a single position marked with the  
<nowiki><references/></nowiki> tag.  If used multiple times, only the first works.
<nowiki><references/></nowiki> tag.  If used multiple times, only the first works.
Line 15: Line 13:


===Multiple insertion of the same reference===
===Multiple insertion of the same reference===
[[mw:Extension:Cite]]:
References may be cited more than once using <code>&lt;ref name="</code>''id''<code>"/&gt;</code>.
References may be cited more than once using <code>&lt;ref name="</code>''id''<code>"/&gt;</code>.
On the Edit page, this is placed at the first insertion point of citation:<br />
On the Edit page, this is placed at the first insertion point of citation:<br />
Line 29: Line 25:


===Single insertion of a reference===
===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>
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>


Line 39: Line 34:


===What is produced at the points of insertion===
===What is produced at the points of insertion===
The '''<nowiki><ref></nowiki>''' tags in the main text are converted to auto-numbered superscripts, like this:
The '''<nowiki><ref></nowiki>''' tags in the main text are converted to auto-numbered superscripts, like this:


Line 57: Line 51:


Clicking on a numbered superscript takes you straight to the text of the corresponding footnote or reference.
Clicking on a numbered superscript takes you straight to the text of the corresponding footnote or reference.
===Notes on the Cite.php method===
* Clicking on the blue superscript <font color="blue">1.0</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>1.1</font> causes the screen display to scroll back up to the point where the second reference to Perry's Handbook was inserted. Clicking on the blue superscript <font color=blue>1.2</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 vertical arrow (<font color="blue">↑</font>) that has no associated superscripts causes the screen display to scroll back up to the point where that single-use references was inserted.


==Notes at independent positions==
==Notes at independent positions==


The systems below require a note tag with id for each note, but they allow the position of each footnote text to be chosen independently. For example, footnotes in a table or section can be put at the bottom of the table or section.
The systems below require a note tag with id for each note, but they allow the position of each footnote text to be chosen independently. For example, footnotes in a table or section can be put at the bottom of the table or section.

Revision as of 16:53, 4 February 2011

Notes gathered at a single position

This method gathers the notes at a single position marked with the <references/> tag. If used multiple times, only the first works.

  • <ref>Reference text</ref>
    Produces a reference mark linking to the reference text, provided that the tag <references/> mentioned below is present on the page.
  • <ref name="id">Reference text</ref>
    Ditto; also assigns a name to the reference text; the quotes are only needed if id contains spaces or special characters.
  • <ref name="id"/>
    Produces a reference mark linking to a reference text defined before.
  • <references/>
    Inserts a list of reference texts, each preceded by a list of links to the positions in the page linking to the text; this applies for all texts inside <ref> tags in the wikitext of the page. A blank is needed before the backslash.

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>

To have the reference depend on a parameter, use e.g.:

{{#tag:ref|...{{tc}}...{{{1}}}...}} giving [1]

What is produced at the points of insertion

The <ref> tags in the main text are converted to auto-numbered superscripts, like this:

The only reference to Excel For Dummies.[2]
The first reference to Perry's Handbook.[3]
The second reference to Perry's Handbook.[3]   
The third reference to Perry's Handbook.[3]
Help:Footnotes/demo/ref

Clicking on a numbered superscript takes you straight to the text of the corresponding footnote or reference.

Notes at independent positions

The systems below require a note tag with id for each note, but they allow the position of each footnote text to be chosen independently. For example, footnotes in a table or section can be put at the bottom of the table or section.

  1. ^ ...in...{{{1}}}...
  2. ^ Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.
  3. ^ a b c Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.