| Line 86: |
Line 86: |
| | | | |
| | ==Using the same footnote several times== | | ==Using the same footnote several times== |
| − | You shouldn't overdo this, but sometimes it is useful to have the same (presumably complex) footnote referred to from more than one place in the text. In that case you can give it a name when it is first written, and just invoke it by that name on subsequent occasions. When the footnote is first written, write <nowiki><ref name="mylabel"></nowiki> instead of just <nowiki><ref></nowiki>. The quotes on the label are required. Follow it by the footnote itself and the <nowiki></ref></nowiki> in the usual way. Then, on subsequent occasions, just write <nowiki><ref name="mylabel"/></nowiki>. Note the slash after the label. | + | You shouldn't overdo this, but sometimes it is useful to have the same (presumably complex) footnote referred to from more than one place in the text. In that case you can give it a name when it is first written, and just invoke it by that name on subsequent occasions. When the footnote is first written, write <nowiki><ref name="mylabel"></nowiki> instead of just <nowiki><ref></nowiki>. The quotes on the label are required if the label name contains a space. Follow it by the footnote itself and the <nowiki></ref></nowiki> in the usual way. Then, on subsequent occasions, just write <nowiki><ref name="mylabel"/></nowiki>. Note the slash after the label. |
| | | | |
| | This: | | This: |
| Line 92: |
Line 92: |
| | will come out looking like this: | | will come out looking like this: |
| | :I like to talk of many things.<ref name="jabber">Sealing wax, etc.</ref> I really do.<ref name="jabber"/> | | :I like to talk of many things.<ref name="jabber">Sealing wax, etc.</ref> I really do.<ref name="jabber"/> |
| | + | ==Templates guarantee properly formatted footnotes== |
| | + | Official citation formats can change over time and it is a burden to have to go back and edit every article. So, we have two useful templates that guarantee that your footnotes will be in the proper form: {{tl|cite news}} and {{tl|cite web}}. Each supports separate parameters for date and accessdate to note both the day that the source was published and the date that you found it on the internet. For example, |
| | + | :<nowiki>{{cite web |url=http://www.theodoreroosevelt.org/TR%20Web%20Book/TR_CD_to_HTML571.html | title= Theodore Roosevelt Cyclopedia |accessdate= June 10, 2007 | last1 = Hart |first1 =Albert B. | first2 =Herbert R | last2 = Ferleger |year=1989 |format=CD-ROM |publisher = Theodore Roosevelt Association |pages= 534–35}}</nowiki> |
| | + | will come out looking like this: |
| | + | :{{cite web |url=http://www.theodoreroosevelt.org/TR%20Web%20Book/TR_CD_to_HTML571.html | title= Theodore Roosevelt Cyclopedia |accessdate= June 10, 2007 | last1 = Hart |first1 =Albert B. | first2 =Herbert R | last2 = Ferleger |year=1989 |format=CD-ROM |publisher = Theodore Roosevelt Association |pages= 534–35}} |
| | + | because each parameter is identified by its name, the parameters can be given in any order. |
| | | | |
| | ==References== | | ==References== |