Difference between revisions of "Help:References and page numbers"

From "PTTLink Wiki"
Jump to navigation Jump to search
Mediawiki>Shellwood
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:45, 21 January 2022

When citing sources in Wikipedia articles, the citation must clearly support the material as presented in the article, per the verifiability policy. It helps to give a page number or page range—or a section, chapter, or other division of the source—because then the reader does not have to carefully review the whole cited source to find the relevant supporting evidence, which promotes efficient source checking. This page shows examples of various ways to include a page number or page range in citations as well as various ways to cite the same source multiple times with different page numbers. It also summarizes ways to include other in-source locations.

The following examples use Citation Style 1 templates, but these are not required (see the section Inline citations in the guideline Citing sources for alternatives). For a basic introduction to citation templates, see Help:Referencing for beginners with citation templates.

Page numbers in the reference list

This example uses Footnotes.

This example is the most basic and includes unique references for each citation, showing the page numbers in the reference list. This repeats the citation, changing the page number. A disadvantage is that this can create a lot of redundant text in the reference list when a source is cited many times.

However, this style is deprecated in the Citing sources guideline (see the section Duplicate citations). So consider using one of the alternatives listed in the sections below this one.

Markup Renders as
The brontosaurus is thin at one end.<ref>{{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972 |page=5}}</ref> Then it becomes much thicker in the middle.<ref>{{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972 |pages=6–7}}</ref>

==References==
{{reflist}}

The brontosaurus is thin at one end.[1] Then it becomes much thicker in the middle.[2]

References
  1. Elk, Anne (November 16, 1972). Anne Elk's Theory on Brontosauruses. p. 5.
  2. Elk, Anne (November 16, 1972). Anne Elk's Theory on Brontosauruses. pp. 6–7.

Shortened footnotes

The following two examples use Shortened footnotes, showing the author(s) and date and page number(s) in the notes list and a separate list for the full reference. An advantage is that the list of full references can be sorted arbitrarily—for example, by author last name or by publication date. A disadvantage is that it is necessary to have two separate sections for short and full references.

Shortened footnotes using {{harvtxt}} or {{harvnb}}:
Markup Renders as
The brontosaurus is thin at one end.<ref>{{harvtxt|Elk|1972|p=5}}</ref> Then it becomes much thicker in the middle.<ref>{{harvnb|Elk|1972|p=6–7}}</ref>

==Notes==
{{reflist}}

==References==
{{refbegin}}
* {{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972}}
{{refend}}

The brontosaurus is thin at one end.[1] Then it becomes much thicker in the middle.[2]

Notes
  1. Elk 1972, p. 5
  2. Elk 1972, p. 6–7
References
Shortened footnotes using {{sfn}}:
Markup Renders as
The brontosaurus is thin at one end.{{sfn|Elk|1972a|p=5}} Then it becomes much thicker in the middle.{{sfn|Elk|1972a|p=6–7}}

==Notes==
{{reflist}}

==References==
{{refbegin}}
* {{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972a}}
{{refend}}

The brontosaurus is thin at one end.[1] Then it becomes much thicker in the middle.[2]

Notes
  1. Elk 1972a, p. 5.
  2. Elk 1972a, p. 6–7.
References

The next example shows that it is possible to mix Footnotes and Shortened footnotes with the full reference in the first footnote and shortened footnotes for subsequent references. An advantage is that it is not necessary to have two separate sections for short and full references. A disadvantage is that the full references cannot be sorted arbitrarily—for example, by author last name or by publication date—as in the previous two examples.

Markup Renders as
The brontosaurus is thin at one end.<ref>{{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972b |page=5}}</ref> Then it becomes much thicker in the middle.{{sfn|Elk|1972b|p=6–7}}

==References==
{{reflist}}

The brontosaurus is thin at one end.[1] Then it becomes much thicker in the middle.[2]

References
  1. Elk, Anne (November 16, 1972b). Anne Elk's Theory on Brontosauruses. p. 5.
  2. Elk 1972b, p. 6–7.

Inline page numbers

This example uses Footnotes with the addition of adjacent page numbers in the text by using {{rp}}. This allows named references to be used, combining multiple references to the same citation in a single footnote.

Markup Renders as
The brontosaurus is thin at one end.<ref name=elk1972>{{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972}}</ref>{{rp|5}} Then it becomes much thicker in the middle.<ref name=elk1972 />{{rp|6–7}}

==References==
{{reflist}}

The brontosaurus is thin at one end.[1]:&hairsp;5&hairsp; Then it becomes much thicker in the middle.[1]:&hairsp;6–7&hairsp;

References
  1. 1.0 1.1 Elk, Anne (November 16, 1972). Anne Elk's Theory on Brontosauruses.

Named references

The following two examples use {{r}}. Whether using List-defined references or inline named references, {{r}} compactly combines the functions of <ref /> and {{rp}}.

In this first example, {{rp}} must be used in tandem with the initial complete inline-citation, whereas {{r}} is used to duplicate the citation elsewhere with different page numbers:

Inline named references:
Markup Renders as
The brontosaurus is thin at one end.<ref name=elk1972>{{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972}}</ref>{{rp|5}} Then it becomes much thicker in the middle.{{r|elk1972|p=6–7}}

==References==
{{reflist}}

The brontosaurus is thin at one end.[1]:&hairsp;5&hairsp; Then it becomes much thicker in the middle.[1]:&hairsp;6–7&hairsp;

References
  1. 1.0 1.1 Elk, Anne (November 16, 1972). Anne Elk's Theory on Brontosauruses.

In this second example, {{r}} is used for all inline citations whilst the complete citation—rather than being written inline—is stored within the reference list itself. {{rp}} isn't used at all:

List-defined references:
Markup Renders as
The brontosaurus is thin at one end.{{r|elk1972|p=5}} Then it becomes much thicker in the middle.{{r|elk1972|p=6–7}}

==References==
{{reflist|refs=
<ref name=elk1972>{{cite book |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972}}</ref>
}}

The brontosaurus is thin at one end.[1]:&hairsp;5&hairsp; Then it becomes much thicker in the middle.[1]:&hairsp;6–7&hairsp;

References
  1. 1.0 1.1 Elk, Anne (November 16, 1972). Anne Elk's Theory on Brontosauruses.

Other in-source locations

Often, a page number is not appropriate such as when citing an audio or video source or a book that has no page numbers. The Citation Style 1 templates have an |at= parameter that can be used to include non-page locators. The Author-date citation templates use |loc=.

Some example locators: section (sec.), column (col.), paragraph (para.); track; hours, minutes and seconds; act, scene, canto, book, part, folio, stanza, back cover, liner notes, indicia, colophon, dust jacket, verse

See also