Template:Rp: Difference between revisions
meta>SMcCandlish m →Usage: Typo fix. |
meta>SMcCandlish m →Usage: Typo fix. |
||
| Line 8: | Line 8: | ||
"Page number(s)" can be a single page number (287), several (xii, 287, 292, 418) or a range (287-8) 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. | "Page number(s)" can be a single page number (287), several (xii, 287, 292, 418) or a range (287-8) 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. | ||
This template (the name of which stands for "reference pages") is for appending [[WP:HARV|Harvard referencing]]-style page numbers to [[WP:FN|Cite.php-generated inline reference citations]]. It is presently the only solution for the problem of | This template (the name of which stands for "reference pages") is for appending [[WP:HARV|Harvard referencing]]-style page numbers to [[WP:FN|Cite.php-generated inline reference citations]]. It is presently the only solution for the problem of an article with a source that must be cited many, many times, at numerous different pages, yet the Cite.php <nowiki><ref ...></nowiki> footnoting system is desired to be used instead of the incredibly tedious and easy-to-break {{tl|ref label}} and {{tl|note label}} system (tedious and fragile in ''this'' context; the templates are easy to use and quite useful in other situations). | ||
The problem of course is that a work cited 100 times with page numbers in each appearance, with individual <nowiki><ref ...></nowiki>'s will result in more than 100 lines generated for the same source by <nowiki><references /></nowiki>, while using a single <nowiki><ref ...>...</ref></nowiki> and followup <nowiki><ref.../></nowiki>'s with the same <code>name=</code> and simply mentioning all of the pages cited, in the single line generated by <nowiki><references /></nowiki> could result in at least 100 pages being specficially cited in a single reference citation footnote, rendering it basically unreadable and certainly useless. Given that [[WP:FA|Featured Article]] and sometimes even [[WP:GA|Good Article]] review generally insists upon specific facts being cited with specific page numbers, Cite.php's limitations are in fact a severe problem for editors. Even more importantly, either of the two results above is a severe problem for encyclopedia readers. | The problem of course is that a work cited 100 times with page numbers in each appearance, with individual <nowiki><ref ...></nowiki>'s will result in more than 100 lines generated for the same source by <nowiki><references /></nowiki>, while using a single <nowiki><ref ...>...</ref></nowiki> and followup <nowiki><ref.../></nowiki>'s with the same <code>name=</code> and simply mentioning all of the pages cited, in the single line generated by <nowiki><references /></nowiki> could result in at least 100 pages being specficially cited in a single reference citation footnote, rendering it basically unreadable and certainly useless. Given that [[WP:FA|Featured Article]] and sometimes even [[WP:GA|Good Article]] review generally insists upon specific facts being cited with specific page numbers, Cite.php's limitations are in fact a severe problem for editors. Even more importantly, either of the two results above is a severe problem for encyclopedia readers. | ||
Revision as of 21:17, 17 March 2007
Usage
{{rp|page number(s)}}
"Page number(s)" can be a single page number (287), several (xii, 287, 292, 418) or a range (287-8) 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.
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 presently the only solution for the problem of an article with a source that must be cited many, many times, at numerous different pages, yet 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 easy to use and 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 />, 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 specficially cited in a single reference citation footnote, rendering it basically unreadable and certainly useless. Given that Featured Article and sometimes even Good Article review generally insists upon specific facts being cited with specific page numbers, Cite.php's limitations are in fact a severe problem for editors. Even more importantly, either of the two results above is a severe problem for encyclopedia readers.
This template solves this problem (perhaps temporarily, as Cite.php may be upgraded at some future date to account for this problem, in which case a bot can be created to convert {{Rp}} instances to the new improved super-<ref ...>).
Example
- Code
An asserted fact.<ref name="Jackson1999">Jackson, Jennifer. ''The Unlightable Being of Bareness'', Funky Publications, [[New York, NY]], 1999, ISBN 1-2345-6789-0</ref>{{rp|233-7}}<ref name="Smith2000">Smith, Bob. ''Another Source'', Another Publisher, [[Chicago, IL]], 2000, ISBN 0-0986-5432-1. Page 27</ref><ref name="NYT20060120">[http://url.goes.here.int/ "Some Article"]. Jones, Bill. ''New York Times'' (online edition), "Style" section, page S4, [[20 January]] [[2006]]; accessed [[17 March]] [[2007]]</ref>
...
Another asserted fact.<ref name="Jackson1999" />{{rp|27, 422}}
...
<references />
- Results
An asserted fact.[1][2][3]
...
Another asserted fact.[1]
...
- ↑ 1.0 1.1 Jackson, Jennifer. The Unlightable Being of Bareness, Funky Publications, New York, NY, 1999, ISBN 1-2345-6789-0
- ↑ Smith, Bob. Another Source, Another Publisher, Chicago, IL, 2000, ISBN 0-0986-5432-1. Page 27
- ↑ "Some Article". Jones, Bill. New York Times (online edition), "Style" section, page S4, 20 January 2006; accessed 17 March 2007