Difference between revisions of "Help:Cite"
Jump to navigation
Jump to search
(Created page with '__NOTOC__ This help article explains how to add a reference or footnote to an article. There are a few items you will need to know about: * The <nowiki><ref></ref></nowiki> tags…') |
m (updated to use {{ref}}}) |
||
There are a few items you will need to know about:
* The
* The <nowiki><references /></nowiki> tag
The easiest way to add a reference to an article is by adding <nowiki><ref>This is a reference</ref></nowiki>.▼
It will appear like this <ref>This is a reference</ref>▼
▲The easiest way to add a reference to an article is by adding <nowiki>
If you try and save the article now, you might get the following error:
<strong class=error><nowiki>Cite error: <ref> tags exist, but no <references/> tag was found</nowiki></strong>
If you want to reuse a reference, say two parts of the article refer to the same chapter, you can add a name to the reference which allows you to reuse it somewhere else. This is done as follows
This is the first fact<nowiki>
This is another fact that needs the sane reference<nowiki>{{ref|name=NAME|empty=true}}</nowiki>{{ref|name=NAME|empty=true}} or <nowiki><ref name=NAME /></nowiki><ref name=NAME />
The empty=true argument is optional, and should only be used to defer the text to a following named reference.<nowiki>{{ref|name=NAME}}</nowiki>{{ref|name=NAME}}
=== Notes ===
This is a statement which needs notating
<nowiki>
Where as this needs a reference
<nowiki>
=== Notes ===
<nowiki><references /></nowiki>
<references />
<nowiki><references group=nb /></nowiki>
<references group=nb />
|