Help:References: Difference between revisions

From P2P Foundation
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 11: Line 11:
# or, if you are quoting a longer passage, use <blockquote> before and </blockquote> after.
# or, if you are quoting a longer passage, use <blockquote> before and </blockquote> after.
# For quoting short passages, ''"using italics"'' helps readers see which words are quoted.
# For quoting short passages, ''"using italics"'' helps readers see which words are quoted.
# Immediately following the quote place a link url, or a <ref>, or other citation information (in parentheses)
# Immediately following the quote, cite your source by placing a link url, or a <ref>, or other citation information (in parentheses).


===Using <ref> tags===
===Using <ref> tags===
Line 20: Line 20:
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.
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.<ref>This footnote is used as an example in the "How to use" section.</ref> If you view the source of this page by clicking the "Edit" tab, you can see how this example works.
This page itself uses footnotes, such as the one at the end of this sentence.<ref>This footnote is used as an example in the "Using &lt;ref&gt; tags" section.</ref> If you view the source of this page by clicking the "Edit" tab, you can see how this example works.


=== Example of using &lt;ref&gt; ===
=== Example of using &lt;ref&gt; ===
Line 37: Line 37:
"Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref>
"Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref>


What you have put in the &lt;ref&gt; tags is shown where you put
Whatever you have typed in the &lt;ref&gt; tags is displayed where you type
<pre>
<pre>
<references />
<references />
</pre>
</pre>


which you will find below.
You will find an example below.


=== Multiple uses of the same footnote ===
=== Multiple uses of the same footnote ===
Line 56: Line 56:
<br/>
<br/>
Such references are particularly useful when citing sources, if different statements come from
Such references are particularly useful when citing sources, if different statements come from
the same source.<font color=red>'''&lt;ref name&#61;"multiple">'''This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.'''&lt;/ref>'''</font>
the same source.<font color=red>'''&lt;ref name&#61;"multiple"&gt;'''Don't put anything here, as it won't show up anywhere.'''&lt;/ref&gt;'''</font>
<br/>
<br/>
<br/>
<br/>
A concise way to make multiple references is to use empty ref tags, which have a slash at the
For multiple references, just use empty ref tags, which have a slash at the end.  
end. Although this may reduce redundant work, 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.<font color=red>'''&lt;ref name&#61;"multiple" />'''</font>
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.<font color=red>'''&lt;ref name&#61;"multiple" /&gt;'''</font>
<br/>
<br/>
<br/>
<br/>
&#61;=Notes==
&#61;=Notes==
<br/>
<br/>
<font color=red>'''&lt;references />'''</font>
<font color=red>'''&lt;references /&gt;'''</font>
</tt>
</tt>
</blockquote>
</blockquote>
Line 74: Line 75:
<br/>
<br/>
<br/>
<br/>
Such references are particularly useful when citing sources, when different statements come from the same source.<ref name="multiple">This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.</ref>
Such references are particularly useful when citing sources, when different statements come from  
the same source.<ref name="multiple">Don't put anything here, as it won't show up anywhere.</ref>
<br/>
<br/>
<br/>
<br/>
A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, 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" />
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" />
</blockquote>
</blockquote>


Line 83: Line 87:


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


Line 91: Line 95:
<references />
<references />


==Markup Your Submission==
Notice how clicking on the up-arrows ("&uarr;") takes you to where the original &lt;ref&gt; was.
* Do add wiki links to relevant words or phrases in the quote
For multiple references, clicking on each of the small numbers does the same thing.
* Do add your citation information to the bottom of the article as well
This is one of the reasons that using &lt;ref&gt; is so helpful to readers.
 
You can see in the example above that [[Cooperative Ecology Project]] is linked.  Try a search to see if you can find other ways to link your submission.
 
==Use the More Information Section==
 
The more information section is useful at the bottom of most pages.
 
It looks like this, if you need to add it yourself:
<pre><nowiki>
==More Information==
* [[Cooperative Ecology Project]]
 
* [http://commonstransition.org/ Commons Transition]
</nowiki></pre>
 
Once you have added it, it looks like this for the reader,
 
==More Information==
* [[Cooperative Ecology Project]]
 
* [http://commonstransition.org/ Commons Transition]
 
and shows up in the index at the head of the page.
 


[[Category:P2P Foundation Wiki How-To]]
[[Category:P2P Foundation Wiki How-To]]

Latest revision as of 10:09, 13 February 2017

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.