Help us get to over 8,756 articles in 2024.

If you know of a magician not listed in MagicPedia, start a New Biography for them. Contact us at magicpediahelp@gmail.com

Help:Citations: Difference between revisions

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to navigation Jump to search
(New page: MagicPedia is by its very nature a work by people with widely different knowledge and skills. The reader needs to be assured that the material within it is reliable: this is especially imp...)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
MagicPedia is by its very nature a work by people with widely different knowledge and skills. The reader needs to be assured that the material within it is reliable: this is especially important where statements are made about controversial issues or living persons. The purpose of citing sources is:
MagicPedia is by its very nature a work by people with widely different knowledge and skills. The reader needs to be assured that the material within it is reliable: this is especially important where statements are made about controversial issues or living persons. The purpose of citing sources is:
    * To ensure that the content of articles can be checked by any reader or editor.
* To ensure that the content of articles can be checked by any reader or editor.
    * To avoid claims of plagiarism.
* To avoid claims of plagiarism.
    * To show that your edit is not original research and to reduce editorial disputes.
* To show that your edit is not original research and to reduce editorial disputes.
    * To help users find additional information on the topic.
* To help users find additional information on the topic.
    * To improve the credibility of MagicPedia.
* To improve the credibility of MagicPedia.


Help out by added any sources you know to backup any controversial statements you see.
Help out by added any sources you know to backup any controversial statements you see.
== How to add references as footnotes ==
To add references as footnotes, you can use the <ref> tag. The basic concept 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 <references />. 
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 [{{fullurl:{{FULLPAGENAME}}|action=edit}} view the source] of this page by clicking "Edit this page", you can see a working example of footnotes.
=== Example ===
<blockquote>
<tt>
According to scientists, the Sun is pretty big.<font color=red>'''&lt;ref>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''&lt;/ref>'''<br/></font>
The Moon, however, is not so big.<font color=red>'''&lt;ref>'''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.'''&lt;/ref>'''<br/></font>
<br/>
&#61;=Notes==
<br/>
<font color=red>'''&lt;references/></font>
</tt>
</blockquote>
=== Multiple uses of the same footnote ===
To give a footnote a unique identifier, use '''&lt;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: '''&lt;ref name="name" />'''.
In the following example, the same source is cited three times.
<blockquote>
<tt>
This is an example of multiple references to the same footnote.<font color=red>'''&lt;ref name&#61;"multiple">'''Remember that when you refer to the same footnote multiple times, the text from the first reference is used.'''&lt;/ref>'''</font>
<br/>
<br/>
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>
<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.<font color=red>'''&lt;ref name&#61;"multiple" />'''</font>
<br/>
<br/>
&#61;=Notes==
<br/>
<font color=red>'''&lt;references/>'''</font>
</tt>
</blockquote>
The text above gives the following result in the article (see also section below):
<blockquote>
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>
<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>
<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" />
</blockquote>
=== &lt;references /&gt; ===
Placing <code>&lt;references /></code> inserts the full text of all pending inline citations defined by <code>&lt;ref></code>, anywhere on the page. For example, based on the citations above, the code:
:<code>&lt;references /&gt;</code>
will yield:
<references/>
===Grouped references===
This may be disabled by <code>$wgAllowCiteGroups = false;</code> if desired. However, it is enabled on the foundation wikis.
The following example generates separate reference lists for citations and miscellaneous footnotes:
<blockquote>
<tt>
According to scientists, the Sun is pretty big <font color=red>'''&lt;ref>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''&lt;/ref>'''</font>.<br/>
In fact, it is very big <font color=red>'''&lt;ref group="footnotes">'''Take their word for it. Don't look directly at the sun!'''&lt;/ref>'''</font>.<br/>
<br/>
&#61;=Notes==
<br/>
<font color=red>'''&lt;references group="footnotes"/></font>
<br/>
&#61;=References==
<br/>
<font color=red>'''&lt;references/></font>
</tt>
</blockquote>
The anonymous group works as before, while the named group reference will show up as <ref group="footnotes">Test of the group argument</ref>, and the references will look like this:
<references group="footnotes"/>
===Separating references from text===
In-text references make it easy to copy the text to another page; on the other hand, they make it hard to read. References containing a lot of data, quotes or elaborate citation templates can make up a significantly larger fraction of the source than the text that will actually be visible. To avoid this, recent versions of the extension allow moving some or all of the references into the <code>&lt;references /></code> section, to the place where they will actually appear to the reader. Thus,
<blockquote>
<tt>
According to scientists, the Sun is pretty big.<font color=red>'''&lt;ref name="miller"/>'''</font><br/>
The Moon, however, is not so big.<font color=red>'''&lt;ref name="smith"/>'''</font><br/>
<br/>
&#61;=Notes==
<br/>
<font color=red>'''&lt;references>'''<br/>
'''&lt;ref name="miller">'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''&lt;/ref>'''</br>
'''&lt;ref name="smith">'''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.'''&lt;/ref>'''<br/>
'''&lt;/references>'''</font>
</tt>
</blockquote>
will have the same output as the [[#Example|first example]] above.
<ref>http://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Usage</ref>
=== Helpful templates ===
Below are various helpful templates to cite a journal or website.
* [[:Template:Cite web]]
Usage:
<pre>
<nowiki>
{{cite web
|url = http://currentincarmel.com/?p=437
|title = Famous Carmel Illusionist Returns Home
|date = 12 February 2009
|accessdate = 2009-06-11
}}
</nowiki>
</pre>
* [[:Template:Cite journal]]
Usage:
<pre>
<nowiki>
{{cite journal
  | title = Cover page
  | journal = The Linking Ring
  | volume = 82
  | issue = 3
  | publisher = The International Brotherhood of Magicians
  |date=March 1977
}}
</nowiki>
</pre>
== References ==
<references />

Latest revision as of 07:35, 11 March 2010

MagicPedia is by its very nature a work by people with widely different knowledge and skills. The reader needs to be assured that the material within it is reliable: this is especially important where statements are made about controversial issues or living persons. The purpose of citing sources is:

  • To ensure that the content of articles can be checked by any reader or editor.
  • To avoid claims of plagiarism.
  • To show that your edit is not original research and to reduce editorial disputes.
  • To help users find additional information on the topic.
  • To improve the credibility of MagicPedia.

Help out by added any sources you know to backup any controversial statements you see.


How to add references as footnotes

To add references as footnotes, you can use the <ref> tag. The basic concept 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 <references />.

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 "Edit this page", you can see a working example of footnotes.

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/>

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">This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.</ref>

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" />

==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.[2]

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

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.[2]

<references />

Placing <references /> inserts the full text of all pending inline citations defined by <ref>, anywhere on the page. For example, based on the citations above, the code:

<references />

will yield:

  1. This footnote is used as an example in the "How to use" section.
  2. 2.0 2.1 2.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


Grouped references

This may be disabled by $wgAllowCiteGroups = false; if desired. However, it is enabled on the foundation wikis.

The following example generates separate reference lists for citations and miscellaneous footnotes:

According to scientists, the Sun is pretty big <ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>.
In fact, it is very big <ref group="footnotes">Take their word for it. Don't look directly at the sun!</ref>.

==Notes==
<references group="footnotes"/>
==References==
<references/>

The anonymous group works as before, while the named group reference will show up as [footnotes 1], and the references will look like this:

  1. Test of the group argument

Separating references from text

In-text references make it easy to copy the text to another page; on the other hand, they make it hard to read. References containing a lot of data, quotes or elaborate citation templates can make up a significantly larger fraction of the source than the text that will actually be visible. To avoid this, recent versions of the extension allow moving some or all of the references into the <references /> section, to the place where they will actually appear to the reader. Thus,

According to scientists, the Sun is pretty big.<ref name="miller"/>
The Moon, however, is not so big.<ref name="smith"/>

==Notes==
<references>
<ref name="miller">E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>
<ref name="smith">R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>
</references>

will have the same output as the first example above.

[1]

Helpful templates

Below are various helpful templates to cite a journal or website.

Usage:


{{cite web
 |url = http://currentincarmel.com/?p=437
 |title = Famous Carmel Illusionist Returns Home
 |date = 12 February 2009
 |accessdate = 2009-06-11
}}

Usage:


{{cite journal
  | title = Cover page
  | journal = The Linking Ring
  | volume = 82
  | issue = 3 
  | publisher = The International Brotherhood of Magicians
  |date=March 1977
}}

References