Difference between revisions of "Help:References"

From eagle-rock.org
Line 6: Line 6:
 
If you forget to include <nowiki><references /></nowiki> in the article, the footnotes will not appear, but a red error message will be displayed at the end of the page.
 
If you forget to include <nowiki><references /></nowiki> in the article, the footnotes will not appear, but a red error message will be displayed at the end of the page.
  
This page itself uses footnotes, such as the one at the end of this sentence.[1] If you view the source of this page by clicking "Edit this page", you can see a working example of footnotes.
 
 
=== Example ===
 
=== Example ===
 
According to scientists, the Sun is pretty big.<font color="red">'''<nowiki><ref></nowiki>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''<nowiki></ref></nowiki>'''
 
According to scientists, the Sun is pretty big.<font color="red">'''<nowiki><ref></nowiki>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''<nowiki></ref></nowiki>'''
Line 24: Line 23:
  
 
<references />
 
<references />
 
  
 
== See Also ==
 
== See Also ==
  
 
Extension:Cite/Cite.php - [http://www.mediawiki.org/wiki/Cite.php] For more information on the Cite.php Extension.
 
Extension:Cite/Cite.php - [http://www.mediawiki.org/wiki/Cite.php] For more information on the Cite.php Extension.

Revision as of 08:08, 9 January 2012


Usage

The basic concept of the <ref> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the placeholder tag . This format cannot be used interchangeably with the older format — you must pick one or the other.

If you forget to include <references /> in the article, the footnotes will not appear, but a red error message will be displayed at the end of the page.

Example

According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>
The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>

Notes

<references />


Sample Footnotes

According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]

Notes

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.

See Also

Extension:Cite/Cite.php - [1] For more information on the Cite.php Extension.