Citations: Difference between revisions
Line 70: | Line 70: | ||
== Citing different parts of the same source == | == Citing different parts of the same source == | ||
'''NOTE:''' Beta feature not yet implemented here. | |||
When several parts from the same work are used as references in an article, you can cluster them in the reference section. This gives readers a way to identify which references originate from the same source. It also allows you to cite different parts of the same source without repeating the entire source every time. | When several parts from the same work are used as references in an article, you can cluster them in the reference section. This gives readers a way to identify which references originate from the same source. It also allows you to cite different parts of the same source without repeating the entire source every time. | ||
Revision as of 16:02, 21 October 2020
Basic <ref> tag
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 <references />
. The <references />
tag inserts the text of all the citations which have defined in <ref>
tags up to that point in the page.
Wiki code | Render |
---|---|
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>
|
The Sun is pretty big.[1] The Moon, however, is not so big.[2]
Notes |
Grouped References
Generates separate reference lists for citations and miscellaneous footnotes
Wiki code | Render |
---|---|
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>
|
According to scientists, the Sun is pretty big.[1] In fact, it is very big [footnotes 1]
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" />
.
Pushing Details to References Section
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.
Wiki code | Render |
---|---|
According to scientists, the Sun is pretty big.<ref name="miller" /> The Moon, however, is not so big.<ref name="smith" />
|
According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]
Notes |
Citing different parts of the same source
NOTE: Beta feature not yet implemented here. When several parts from the same work are used as references in an article, you can cluster them in the reference section. This gives readers a way to identify which references originate from the same source. It also allows you to cite different parts of the same source without repeating the entire source every time.
Wiki code | Render |
---|---|
According to scientists, the Sun is pretty big. <ref name="Miller"> E. Miller, The Sun, (New York: Academic Press, 2005)</ref> In fact, it is very big. <ref extends="Miller">p. 123<code><nowiki></ref> Take their word for it. Don't look directly at the sun! <ref extends="Miller"> p. 42</ref>
|
According to scientists, the Sun is pretty big. [1] In fact, it is very big. Cite error: Invalid <ref> tag; invalid names, e.g. too many Take their word for it. Don't look directly at the sun! Cite error: Invalid <ref> tag; invalid names, e.g. too many
References
|