2,399 bytes added ,  11:46, 3 August 2007
no edit summary
Line 439: Line 439:  
</pre>
 
</pre>
 
|}
 
|}
 +
 +
===Extension:Cite===
 +
 
[http://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Usage www.mediawiki.org/wiki/Extension:Cite]
 
[http://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Usage www.mediawiki.org/wiki/Extension:Cite]
 +
 +
=== Multiple uses of the same footnote ===
 +
 +
To give a footnote a unique identifier, use '''&lt;ref name="name">'''. You can then refer to the same footnote again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can either copy the whole footnote, or you can use a terminated empty ref tag that looks like this: '''&lt;ref name="name" />'''.
 +
 +
In the following example, the same source is cited three times.
 +
 +
<blockquote>
 +
<tt>
 +
This is an example of multiple references to the same footnote.<font color=red>'''&lt;ref name&#61;"multiple">'''Remember that when you refer to the same footnote multiple times, the text from the first reference is used.'''&lt;/ref>'''</font>
 +
<br/>
 +
<br/>
 +
Such references are particularly useful when citing sources, if different statements come from
 +
the same source.<font color=red>'''&lt;ref name&#61;"multiple">'''This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.'''&lt;/ref>'''</font>
 +
<br/>
 +
<br/>
 +
A concise way to make multiple references is to use empty ref tags, which have a slash at the
 +
end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.<font color=red>'''&lt;ref name&#61;"multiple" />'''</font>
 +
<br/>
 +
<br/>
 +
&#61;=Notes==
 +
<br/>
 +
<font color=red>'''&lt;references/>'''</font>
 +
</tt>
 +
</blockquote>
 +
 +
The text above gives the following result in the article (see also section below):
 +
<blockquote>
 +
This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref>
 +
<br/>
 +
<br/>
 +
Such references are particularly useful when citing sources, when different statements come from the same source.<ref name="multiple">This text is superfluous, and won't show up anywhere. We may as well just use an empty tag.</ref>
 +
<br/>
 +
<br/>
 +
A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.<ref name="multiple" />
 +
</blockquote>
1,157

edits