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:
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