Différences entre versions de « Help/References »

De Rich Annotator System
(Page créée avec « You can create references as footnotes on a page with the <code><nowiki><ref></nowiki></code> tag. {{#fas:caret-left}} Back to contents Category:Help… »)
 
Ligne 1 : Ligne 1 :
You can create references as footnotes on a page with the <code><nowiki><ref></nowiki></code> tag.
+
You can create '''references as footnotes''' on a page with the <code><nowiki><ref></nowiki></code> tag.
 +
 
 +
The basic concept of the <code><nowiki><ref></nowiki></code> 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 <code><nowiki><references /></nowiki></code>.
 +
 
 +
Additional placeholder tags <code><nowiki><references /></nowiki></code> can be inserted in the text, and all <code><nowiki><ref></nowiki></code> tags up to that point, in that group, will be inserted there.
 +
 
 +
If you forget to include <code><nowiki><references /></nowiki></code> in the article, the footnotes will not disappear, but the references will be displayed at the end of the page.
 +
{| class="wikitable"
 +
! width="50%" | Wikitext
 +
! Rendering
 +
|-
 +
|<pre>
 +
The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23–25.</ref> The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44–46.</ref>
 +
 
 +
'''Notes'''
 +
<references />
 +
</pre>
 +
|
 +
The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23–25.</ref> The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44–46.</ref>
 +
 
 +
<div style="font-weight:bold;font-family:sans-serif;">Notes</div>
 +
<references />
 +
|}
 +
 
 +
 
 +
 
 +
 
 +
 
  
  

Version du 26 octobre 2020 à 11:56

You can create references as footnotes on a page with the <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 />.

Additional placeholder tags <references /> can be inserted in the text, and all <ref> tags up to that point, in that group, will be inserted there.

If you forget to include <references /> in the article, the footnotes will not disappear, but the references will be displayed at the end of the page.

Wikitext Rendering
The Sun is pretty big.<ref>E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23–25.</ref> The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44–46.</ref>

'''Notes'''
<references />

The Sun is pretty big.[1] The Moon, however, is not so big.[2]

Notes
  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23–25.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44–46.





Back to contents