Участник:Overmind/Справка по рефам
References
According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]
Notes
This is an example of multiple references to the same footnote.[1]
Such references are particularly useful when citing sources, if different statements come from the same source.[1]
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.[1]
Notes
Grouped references
This may be disabled by $wgAllowCiteGroups = false; if desired. However, it is enabled on the foundation wikis.
The following example generates separate reference lists for citations and miscellaneous footnotes:
According to scientists, the Sun is pretty big [1]. In fact, it is very big [footnotes 1].
Notes
- ↑ Take their word for it. Don't look directly at the sun!
References
- ↑ E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
The anonymous group works as before, while the named group reference will show up as [footnotes 1], and the references will look like this:
- ↑ Test of the group argument
Separating references from text
In-text references make it easy to copy the text to another page; on the other hand, they make it hard to read. References containing a lot of data, quotes or elaborate citation templates can make up a significantly larger fraction of the source than the text that will actually be visible. To avoid this, recent versions of the extension allow moving some or all of the references into the section, to the place where they will actually appear to the reader. Thus,
According to scientists, the Sun is pretty big.[1][1] The Moon, however, is not so big.[2][2]
Notes
will have the same output as the first example above.
The quick brown fox jumps over the lazy dog.[1]
Amazingly few discotheques provide jukeboxes.[2]
How razorback-jumping frogs can level six piqued gymnasts.[3]
References
Template: Reflist
<div class="references-small {{#if: {{{colwidth|}}} | references-column-width | {{#iferror: {{#ifexpr: {{{1|1}}}>1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}> {{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div>
- source
- [1]