Help:References

From P2P Foundation
Jump to navigation Jump to search

Adding Information from 3rd Party Sources

Fair Dealing and Fair Use

Before you copy material from elsewhere onto this wiki, please read the Fair Use and Fair Dealing policies.

Formatting Quotes on the Wiki

When quoting someone else please:

  1. either start and end your quote with quotation marks
  2. or, if you are quoting a longer passage, use <blockquote> before and </blockquote> after.
  3. For quoting short passages, "using italics" helps readers see which words are quoted.
  4. Immediately following the quote, cite your source by placing a link url, or a <ref>, or other citation information (in parentheses).

Using <ref> tags

All the notes you put inside <ref> tags appear together as footnotes, wherever you put the tag <references />. Usually you will want to do this in the "More Information" section, or a section called "Notes" or similar.

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.

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 the "Edit" tab, you can see how this example works.

Example of using <ref>

If you type

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>

it comes out as:

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

Whatever you have typed in the <ref> tags is displayed where you type

<references />

You will find an example below.

Multiple uses of the same footnote

To give a footnote a unique identifier, use <ref name="name">. You can then refer to the same footnote again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can either copy the whole footnote, or you can use a terminated empty ref tag that looks like this: <ref name="name" />.

In the following example, the same source is cited three times.

This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref>

Such references are particularly useful when citing sources, if different statements come from the same source.<ref name="multiple">Don't put anything here, as it won't show up anywhere.</ref>

For multiple references, just use empty ref tags, which have a slash at the end. But please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.<ref name="multiple" />

==Notes==
<references />

The text above gives the following result in the article (see also section below):

This is an example of multiple references to the same footnote.[4]

Such references are particularly useful when citing sources, when different statements come from the same source.[4]

For multiple references, just use empty ref tags, which have a slash at the end. But please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.[4]

Note: name= identifiers require alphabetic characters; solely relying on numerals will generate an error message

<references />

Placing <references /> inserts the text everything you have put inside <ref> tags, in the place you choose. For example, based on all the citations above, the code:

<references />

will give you:

  1. This footnote is used as an example in the "Using <ref> tags" section.
  2. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  3. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.
  4. 4.0 4.1 4.2 Remember that when you refer to the same footnote multiple times, the text from the first reference is used. Cite error: Invalid <ref> tag; name "multiple" defined multiple times with different content

Notice how clicking on the up-arrows ("↑") takes you to where the original <ref> was. For multiple references, clicking on each of the small numbers does the same thing. This is one of the reasons that using <ref> is so helpful to readers.