Help:Cite
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 <ref></ref> tags
- The <references /> tag
- The
{{bref}}
template
The easiest way to add a reference to an article is by adding <ref>This is a reference</ref>. It will appear like this [1]
If you try and save the article now, you might get the following error:
Cite error: <ref> tags exist, but no <references/> tag was found
This is because it wants to add a list of all the references you've added to the article, but you havent told it where to do this. The best and most preferred place for them is at the end of the article in a section called Notes, along with any Categories and Information tables. To do this, add a section at the end as follows
== Notes == <references /> info tables categories
This will produce a list as follows
Notes
- ↑ This is a reference
Named references
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<ref name=NAME>this is a reference that gets used multiple times</ref>[1]
This is another fact that needs the sane reference<ref name=NAME />[1]
Notes
Notes versus References
Some articles have points which aren't references, but still need to be notation rather than part of the article proper. This can be accomplished with the group tag.
This is a statement which needs notating
<ref group=nb>And this is a notation</ref>[nb 1]
Where as this needs a reference
<ref>This tag doesnt even have a group</ref>[1]
Notes
<references />
- ↑ This tag doesnt even have a group
notations:
<references group=nb />
- ↑ And this is a notation