Citations: Difference between revisions
From Wayne's Dusty Box of Words
| Line 30: | Line 30: | ||
<code><nowiki>==Notes==</nowiki></code><br /> | <code><nowiki>==Notes==</nowiki></code><br /> | ||
<code><nowiki><references group="footnotes" /></nowiki></code> | <code><nowiki><references group="footnotes" /></nowiki></code><br /> | ||
<code><nowiki>==References==</nowiki></code><br /> | <code><nowiki>==References==</nowiki></code><br /> | ||
<code><nowiki><references /></nowiki></code> | <code><nowiki><references /></nowiki></code> | ||
Revision as of 15:31, 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
|