Content deleted Content added
TRANSWIKI from Meta |
Francis Schonken (talk | contribs) useful help |
||
Line 1: | Line 1: | ||
This page gives short introductions to two methods for making linked footnotes: |
|||
{{H:h|editor toc}} |
|||
* Cite.php method, explained in detail at [[wikipedia:footnotes]], wikipedia's current best practice for numbered footnotes; |
|||
* Semi-automatic templates, explained in detail at [[wikipedia:footnote3]], '''apart for Harvard references this method is obsolete''' |
|||
==Cite.php method== |
|||
:''This page gives general documentation valid for all MediaWiki installations which use the cite extension. For use of this feature in the English Wikipedia see [[w:Wikipedia:Footnotes]]. That page also includes more examples. |
|||
{{Help:How to use Cite.php references}} |
|||
==Old system (with templates)== |
|||
== Synopsis == |
|||
⚫ | |||
* <code><ref></code>Reference text<code></ref></code> |
|||
* <code><ref name="</code>''id''<code>"></code>Reference text<code></ref></code> |
|||
*: the quotes are only needed if ''id'' contains spaces. |
|||
* <code><ref name="</code>''id''<code>"/></code> |
|||
*: repeated use of same reference may be done as before or in this format with no need to repeat the reference text. |
|||
* <code><references/></code> |
|||
== |
==See also== |
||
*[[m:help:footnotes]] (cite.php method) |
|||
<code><ref></code> defines inline citations that are collected for later insertion in the page using <code><references></code>. For instance, try typing the following in an edit box and clicking "Save page": |
|||
<blockquote style="border:1px solid black;padding:1em;">AIDS is a collection of symptoms and infections resulting from the specific damage to the immune system caused by infection with the human immunodeficiency virus (HIV).'''<code><nowiki><ref name=Marx>Marx, J. L. New disease baffles medical community. Science. 1982;217(4560):618–621.</ref></nowiki></code>''' |
|||
<p>Most researchers believe that HIV originated in sub-Saharan Africa '''<code><nowiki><ref name=NYT>''New York Times''. [[January 14]], [[2010]] issue, page 16</ref></nowiki></code>'''; it is now a global epidemic. Some authorities '''<code><nowiki><ref>UNAIDS</ref></nowiki></code>''' estimate that AIDS has killed more than 25 million people since it was first recognized on December 1, 1981, making it one of the most destructive epidemics in recorded history. The folks at the NYT are worried sick about this.'''<code><nowiki><ref name=NYT/></nowiki></code>''' |
|||
</blockquote> |
|||
will result in the following text on the article page: |
|||
<blockquote style="padding:1em;">AIDS is a collection of symptoms and infections resulting from the specific damage to the immune system caused by infection with the human immunodeficiency virus (HIV).<ref name=Marx>Marx, J. L. New disease baffles medical community. Science. 1982;217(4560):618–621.</ref> |
|||
<p>Most researchers believe that HIV originated in sub-Saharan Africa;<ref name=NYT>''New York Times''. [[January 14]], [[2010]] issue, page 16</ref> it is now a global epidemic. Some authorities<ref>UNAIDS</ref> estimate that AIDS has killed more than 25 million people since it was first recognized on December 1, 1981, making it one of the most destructive epidemics in recorded history. The folks at the NYT are worried sick about this.<ref name=NYT/> |
|||
</blockquote> |
|||
Note that references may be cited more than once using <code><ref name="</code>''id''<code>"/></code>. In the example above, the ''New York Times'' article is cited twice. In the second instance, instead of typing out the full reference (<code><nowiki><ref name=NYT>''New York Times''. [[January 14]], [[2010]] issue, page 16</ref></nowiki></code>), one may simply use <code><nowiki><ref name=NYT/></nowiki></code>. Be careful not to forget the <code>/</code>. |
|||
== <references> == |
|||
Placing <code><references></code> inserts the full text of all pending inline citations defined by <code><ref></code>, anywhere on the page. For example, based on the citations above, the code: |
|||
:<code><references/></code> |
|||
will yield: |
|||
<references/> |
|||
⚫ |
Revision as of 09:08, 17 May 2006
This page gives short introductions to two methods for making linked footnotes:
- Cite.php method, explained in detail at wikipedia:footnotes, wikipedia's current best practice for numbered footnotes;
- Semi-automatic templates, explained in detail at wikipedia:footnote3, apart for Harvard references this method is obsolete
Cite.php method
This page gives short introductions to two methods for making linked footnotes:
- Cite.php method, explained in detail at wikipedia:footnotes, wikipedia's current best practice for numbered footnotes;
- Semi-automatic templates, explained in detail at wikipedia:footnote3, apart for Harvard references this method is obsolete
Cite.php method
Template loop detected: Help:How to use Cite.php references
Old system (with templates)
See also
- m:help:footnotes (cite.php method)
Old system (with templates)
See also
- m:help:footnotes (cite.php method)