Citing sources: Difference between revisions
Line 19: | Line 19: | ||
Note well that named references begin with <tt><nowiki><ref</nowiki></tt> instead of the usual <tt><nowiki><ref></nowiki></tt>. | Note well that named references begin with <tt><nowiki><ref</nowiki></tt> instead of the usual <tt><nowiki><ref></nowiki></tt>. | ||
When choosing the ''name'', make sure that it is reasonably short, say four letters, otherwise the edit will be rejected. | |||
As an example, see [[Assam Valley Light Horse]] | As an example, see [[Assam Valley Light Horse]] | ||
[[Category:Help]] | [[Category:Help]] |
Revision as of 12:02, 14 February 2013
Using the citation template
Citation templates are used to format citations in a consistent way. See the CitationSandbox for a working example and space for testing.
Use in footnotes
For a citation to appear in a footnote, it needs to be enclosed in "ref" tags. You can add these by typing <ref> at the front of the citation and </ref> at the end.
Note, if this is a new page or if there are not already references previously cited, it is necessary to create a "References" section at the end of the page, thus:
- == References ==
- <references />
- == References ==
Using the same footnote multiple times
Optionally, one may add the name attribute by using <ref name=name>details of the citation</ref>. Thereafter, the same footnote may be used multiple times by adding <ref name=name/>.
Note well that named references begin with <ref instead of the usual <ref>.
When choosing the name, make sure that it is reasonably short, say four letters, otherwise the edit will be rejected.
As an example, see Assam Valley Light Horse