Difference between revisions of "References - Mediawiki"
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | {{TwoColumn|lead= | ||
This page explains very briefly how to create numbered footnotes and references using the '''<nowiki><ref> ... </ref></nowiki>''' and '''<nowiki><references/></nowiki>''' syntax, which is the current best-practice method in most circumstances. See [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes] for more detail. | This page explains very briefly how to create numbered footnotes and references using the '''<nowiki><ref> ... </ref></nowiki>''' and '''<nowiki><references/></nowiki>''' syntax, which is the current best-practice method in most circumstances. See [http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia:Footnotes] for more detail. | ||
− | + | |content= | |
===Single citation of a reference or footnote=== | ===Single citation of a reference or footnote=== | ||
Line 63: | Line 64: | ||
=== Using templates to insert reference text === | === Using templates to insert reference text === | ||
A number of templates, such as '''<nowiki>{{cite book}}</nowiki>''' and '''<nowiki>{{cite web}}</nowiki>''', are available to format the text between the '''<nowiki><ref></nowiki>''' and '''<nowiki></ref></nowiki>''' tags in a more structured way. These are described at [http://en.wikipedia.org/wiki/Wikipedia:Citation_templates Citation Templates]. Their use is optional: they do aid with consistent formatting, but on the other hand they can make editing more cumbersome. | A number of templates, such as '''<nowiki>{{cite book}}</nowiki>''' and '''<nowiki>{{cite web}}</nowiki>''', are available to format the text between the '''<nowiki><ref></nowiki>''' and '''<nowiki></ref></nowiki>''' tags in a more structured way. These are described at [http://en.wikipedia.org/wiki/Wikipedia:Citation_templates Citation Templates]. Their use is optional: they do aid with consistent formatting, but on the other hand they can make editing more cumbersome. | ||
− | + | |sidebar= | |
== See also == | == See also == | ||
---- | ---- | ||
Line 69: | Line 70: | ||
* http://meta.wikimedia.org/wiki/Help:Footnotes (General MediaWiki footnotes documentation) | * http://meta.wikimedia.org/wiki/Help:Footnotes (General MediaWiki footnotes documentation) | ||
* http://www.mediawiki.org/wiki/Extension:Cite/Cite.php (technical details about cite.php technology) | * http://www.mediawiki.org/wiki/Extension:Cite/Cite.php (technical details about cite.php technology) | ||
+ | {{Mediawiki Help}} | ||
+ | {{GetHelp}} | ||
+ | }} | ||
− | |||
− | |||
[[category:Mediawiki]] | [[category:Mediawiki]] |
Revision as of 15:13, 15 November 2016
This page explains very briefly how to create numbered footnotes and references using the <ref> ... </ref> and <references/> syntax, which is the current best-practice method in most circumstances. See Wikipedia:Footnotes for more detail.
Single citation of a reference or footnote
At the point of citation in the main text, enter the reference or footnote like this:
- <ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref>
You can include formatting and links in the footnote or reference text in the usual way.
Multiple citations of the same reference or footnote
To cite the same reference or footnote several times, identify it using the name parameter of the <ref> tag.
At one of the citation points (it makes sense to choose the first), enter the reference like this:
- <ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>
Then, at all the other citation points just enter:
- <ref name="Perry"/>
Producing the reference or footnote list
At the point where you want the text of the footnotes or references to appear (usually at the end of the article in a "Notes" or "References" section), insert the tag:
- <references/>
What it looks like
The <ref> tags in the main text are converted to auto-numbered superscripts, like this:
{