Help:Cite

The cite feature allows you to add footnotes and references to articles, like this.

How to use it
To create a footnote or reference, simply switch to source mode while editing and then place your text inside   tags. In source mode, the first sentence on this page would look like this:


 * The 'cite' feature allows you to add footnotes and references to articles, like this. 

At the end of the page create a references, footnotes, or citations section and include the code '''. You can then refer to the same footnote again by using a ref tag with the same name. Note: the name cannot be a number, or it will return an error.

Only the first occurrence of text in a named ref will be used, although that occurrence may be located anywhere in the article. For legibility, putting the full footnote first is recommended.

For subsequent identical references, use a self-closing empty ref tag that looks like this:.

When deleting content with footnotes, make sure you do not delete the named citation which holds all the reference information. This will result in an error for all the other footnotes depending on it. Remember to copy the  to one of the identical references.

Grouped references
To separate different kinds of references into individual lists, use. To list the references in the group, use. In this way you can create multiple partial reference lists.

All reference lists have to be located after all the related references, otherwise they will render errors.

or  just after the text in question.

To create one of these templates, start a new page called Template:Fact. Switch to source mode, and use the following code:



This will create [citation needed].

More fun with citations
Eventually, you may want to create templates specifically for use within references to keep order - for example, a template for web addresses, another for book references.

Finally, you may wish to customize the references list design itself, such as giving it two columns or reducing the text size slightly. This can be done effectively with CSS, using the  class as a selector.

Citation templates
If your community deals with an academic subject, you may wish to have default citation templates. The non-Lua versions of these templates can be found on w:c:psiepsilon:Template:Cite book and w:c:psiepsilon:Template:Cite journal.

Next steps

 * Creating links
 * Templates

Further help and feedback
de:Hilfe:Einzelnachweise

es:Ayuda:Cita fr:Aide:Cite it:Aiuto:Note ja:ヘルプ:引用文献・出典・脚注 ko:도움말:인용 pt:Ajuda:Cite ru:Справка:Примечания tr:Yardım:Alıntı uk:Довідка:Примітки vi:Trợ giúp:Cước chú zh:Help:引用