Template:Rp

From Wikipedia, the free encyclopedia
Jump to: navigation, search

:{{{1}}}

Documentation icon Template documentation[view] [edit] [history] [purge]

Function[change | change source]

Use this template when you are referring to a specific page within a cited source. This example sentence shows the formatting produced by <ref>(details of cited source)</ref>, which would be used to refer to a fact on page 23 of reference [1].[1]:23 This second sentence is supported by a fact on page 56 of the same reference, which will only appear once in the list of references.[1]:56

Usage[change | change source]

With colon[change | change source]

{{rp|page number(s)}}

"Page number(s)" can be a single page number (287), several (xii, 287, 292, 418) or a range (287–88) or any combination thereof. Do not add "Page", "pp.", etc. – just the numbers. It can of course also be used for non-numeric pages, for example "f. 29", "A7", "back cover", etc., and can also be used for non-paginated sources, e.g. "0:35:12" for a video source.

This template (the name of which stands for "reference pages") is for appending Harvard referencing-style page numbers to Cite.php-generated inline reference citations. It is a solution for the problem of an article with a source that must be cited many, many times, at numerous different pages. It is an alternative to the more common method of using shortened footnotes, that does not require the reader to follow two links to see the source. The Cite.php <ref ...> footnoting system is desired to be used instead of the incredibly tedious and easy-to-break {{ref label}} and {{note label}} system (tedious and fragile in this context; the templates are not terribly difficult to use and are quite useful in other situations).

The problem of course is that a work cited 100+ times with page numbers in each appearance, with individual <ref ...>'s will result in more than 100 lines generated for the same source by <references /> (or {{Reflist}}), while using a single <ref ...>...</ref> and followup <ref ... />'s with the same name= and simply mentioning all of the pages cited, in the single line generated by <references /> could result in at least 100 pages being specifically cited in a single reference citation footnote, rendering it basically unreadable and certainly useless.

Example[change | change source]

The example below shows {{Rp}} in use both at a first occurrence (<ref ...>...</ref>), with other references and inline superscript templates present so one can see how it looks when used in series, and at a later (<ref ... />) occurrence.

Code

An asserted fact.{{Clarifyme|date=October 2014}}<ref name="Jackson1999">{{Cite book
|last=Jackson
|first=Jennifer
|title=The Unlightable Being of Bareness
|publisher=Funky Publications|location=[[San Francisco, CA]]
|year=1999
|isbn=1-2345-6789-0
}}</ref>{{rp|233–7}}<ref name="Smith2000">{{Cite book
|last=Smith
|first=Bob
|title=Another Source
|publisher=Another Publisher
|location=[[Chicago, IL]]
|year=2000
|isbn=0-0986-5432-1
|page=27
}}</ref><ref name="NYT20060120">{{Cite news
|url= http://url.goes.here.tld/
|title=Some Article
|last=Jones
|first=Bill
|work=New York Times
|page=S4, "Style" section
|publisher=[[New York Times Company]]
|location=[[New York, NY]]
|date=January 20, 2006
|accessdate=2007-03-17
}}</ref></nowiki>

...
Another asserted fact.<ref name="Jackson1999" />{{rp|27, 422}}
...
{{Reflist}}

Results

An asserted fact.[clarify][2]:233–7[3][4]
...
Another asserted fact.[2]:27, 422
...

  1. 1.0 1.1 This reference would detail, for example, a full book.
  2. 2.0 2.1 Jackson, Jennifer (1999). The Unlightable Being of Bareness. San Francisco, CA: Funky Publications. ISBN 1-2345-6789-0 .
  3. Smith, Bob (2000). Another Source. Chicago, IL: Another Publisher. p. 27. ISBN 0-0986-5432-1 .
  4. Jones, Bill (January 20, 2006). "Some Article". New York Times (New York, NY: New York Times Company): p. S4, "Style" section. http://url.goes.here.tld/. Retrieved 2007-03-17.

With parenthesis[change | change source]

AMA style puts superscripted page numbers inside parenthesis instead of after a colon. For editors that prefer this style, this template has parameters page, pages, and at.

Code

An asserted fact.<ref name="Jackson1999">{{Cite book
|last=Jackson
|first=Jennifer
|title=The Unlightable Being of Bareness
|publisher=Funky Publications|location=[[San Francisco, CA]]
|year=1999
|isbn=1-2345-6789-0
}}</ref>{{rp|page=148}}

...
Another asserted fact.<ref name="Jackson1999" />{{rp|pages=233–7}}
...
A third asserted fact.<ref name="Jackson1999" />{{rp|at=dust jacket}}
...
{{Reflist}}

Results

An asserted fact.[a 1](p148)
...
Another asserted fact.[a 1](pp233–7)
...
A third asserted fact.[a 1](dust jacket)
...

  1. 1.0 1.1 1.2 Jackson, Jennifer (1999). The Unlightable Being of Bareness. San Francisco, CA: Funky Publications. ISBN 1-2345-6789-0 .

Missing page numbers[change | change source]

If a reference needs a page number but it is missing, use {{rp|needed=y|{{subst:DATE}}}} or {{rp|needed=y|date=October 2014}}. This will automatically use the {{page needed}} template to add the article to the appropriate category. For example, <ref group="example1" name="Jackson 1999"/>{{rp|needed=y|{{subst:DATE}}}} results in: [example1 1][page needed]

This is preferable to something like {{rp|page number?}} or {{rp|?}}, since the cleanup categorization takes place. It is preferable to simply using {{page needed}} in articles that make use of {{rp}}, since it preserves the use of the {{rp}} syntax.

Do not nest the {{page needed}} template inside the {{rp}} template, or the results are too small to be legible for many readers, and with a stray colon: <ref group="example2" name="Jackson 1999"/>{{rp|{{page needed|{{subst:DATE}}}}}} results in: [example2 1]:[page needed]

Warning[change | change source]

This template should not be used unless necessary. In the vast majority of cases, citing page numbers in the <ref ...>...</ref> code is just fine. This template is only intended for sources that are used many, many times in the same article, to such an extent that normal citation would produce a useless line in <references /> or too many individual ones. Overuse of this template will make prose harder to read, and is likely to be reverted by other editors. Used judiciously, however, it is much less interruptive to the visual flow than full Harvard referencing and some other reference citation styles.

References[change | change source]

  • Example 1: