खाँचा:Rp
"Rp" stands for "reference page(s)". This is a relatively uncommon method of citing page numbers, usually used when other methods produce undesirable results. It is used in about one out of every 300 articles at the English Wikipedia.
Function
सम्पादनUse this template when you are referring to specific pages within a source which is cited many times in the same article. The following example sentence shows the formatting produced by:
<ref name="aardvark">
... details of cited source ...</ref>{{rp|23}}
which would be used to refer to a fact on page 23 of reference [1]:
- Apples should be eaten when they are ripe.[१]
This second example sentence shows the formatting produced by:
<ref name="aardvark" />{{rp|56}}
which would be used as citation for a statement supported by a fact on page 56 of the same reference [1], which will appear only once in the list of references:
- Porridge, usually eaten for breakfast, can also serve as a dessert.[१]
This template is for appending page numbers to notes. It is an alternative that can be used in articles with one or several sources that must be cited a large number of times, at numerous different pages. It is an alternative to the more common method of using shortened footnotes; it does not require the reader to follow two links to see the source.
Notice
सम्पादन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 खाँचा:Em 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 is seen by some editors as making prose harder to read. Used judiciously, however, other editors say that it is less interruptive to the visual flow than complete implementation of the reference citation styles that inspired it, particularly full Harvard referencing and AMA style.
If an article has an established citation style that uses an alternative to this template (e.g. Harvard style or another style using {{sfn}}
shortened footnote templates), then खाँचा:Em unilaterally start using this template in the article. Instead, you should discuss options for citation styles with other editors and try to reach a consensus, per WP:CITEVAR.
How to use
सम्पादनWith colon
सम्पादन{{rp|page number(s)}}
The 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 also be used for non-numeric pages, for example: "f. 29", "A7", and "back cover", etc., and can also be used for non-paginated sources, e.g., "0:35:12" for a video source.
This template is for appending page numbers to inline reference citations generated by Cite.php. It is a solution for the problem of a source that is cited many times, at numerous different pinpoint page numbers, in the same Wikipedia article. Cite.php's limitations pose two citation problems in such a case:
- Regular use of
<ref ...>...</ref>
to provide a separate citation for each fact/statement sourced from a different page or page range (as in this example) will result in numerous individual lines, each repeating the entire bibliographic citation of a source, generated by<references />
in the "Notes" or "References" section. - Using a single
<ref ...>...</ref>
and followup<ref ... />
's with the samename=
and simply listing all of the pages cited, would result in the single, very long<references />
entry for this source giving no way for readers to tell which facts were sourced from which pages in the work.
This template works around both of these problems. Doing so is important, because Featured Article as well as Good Article reviews generally insist upon specific facts being cited with specific page numbers.
खाँचा:Tnull 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. In cases of numerous citations to the same source, the Cite.php <ref ...>
footnoting system is less tedious to use and more difficult to break with incorrect formatting than the {{ref label}} and {{note label}} system (although, in other situations, those templates are not particularly difficult and may be quite useful).
खाँचा:Tnull may end up being a temporary solution to these problems, as Cite.php may be upgraded to resolve these issues, in which case a bot would be able to convert खाँचा:Tnull to the new code.
Example
सम्पादनThe example below shows खाँचा:Tnull 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.
- Example page
With parentheses
सम्पादनAMA style puts superscripted page numbers inside parenthesis instead of after a colon. For editors who prefer this style, this template has parameters page, pages, and at.
Missing page numbers
सम्पादनIf a reference needs a page number but it is missing, use
or {{rp|needed=y|{{subst:DATE}}}}
. This will automatically use the {{rp|needed=y|date=नवम्बर २०२४}}
{{page needed}}
template to add the article to the appropriate category. For example, <ref name="Jackson 1999" />{{rp|needed=y|date=November 2012}}
results in: [२][page needed]
This is preferable to something like
or {{rp|page number?}}
, since the cleanup categorization takes place. It is preferable to simply using {{rp|?}}
{{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; doing so introduces a stray colon and the displayed results are too small to be legible to many readers. For instance, <ref name="Jackson 1999" />{{rp|{{page needed|date=November 2012}}}}
results in the undesirable: [२]
With a quote
सम्पादनThe template can use the |quote=
or |q=
parameter to show a quote from the source when the mouse hovers over the location identifier. Use of these parameters provides some context for the reference, especially if the reference is to an offline source. This is especially important when using the off-line source to support a fact that might be controversial or is likely to be challenged.
Quotation marks are automatically inserted around the quote, and location identifiers with a quote will display with a dashed underline.
A note on spacing
सम्पादनWhere multiple citations occur in series, {{rp}} prevents line breaks between the citations. The "zero-width non-joiner" (U+200C, code ‌
or {{zwnj}}
) can be used to allow a line break, although this is discouraged by .
Hyphens
सम्पादनPer , page ranges should normally be declared with an ndash ({{rp|27–29}}
→[ref] ) rather than a hyphen. Tools like WP:AWB will automatically convert hyphens to dashes in such instances. If the hyphen is desired for whatever reason, use {{hyphen}} ({{rp|27{{hyphen}}29}}
→[ref] ) rather than the -
of your keyboard.
TemplateData
सम्पादनTemplateData for Rp
This template is used to refer to specific page numbers when citing a source multiple times within the same article. It should be placed immediately after a reference.
पैरामीटर | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Page numbers | 1 | Write the page number(s) referred to in this reference. | स्ट्रिंग | आवश्यक |
Request page number | needed | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
Page request date | date | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
AMA page number | page | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
Hide "pp" for AMA? | nopp | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
AMA pages | pages | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
AMA custom text | at | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
Quote from source | quote q | कोई विवरण नहीं | स्ट्रिंग | वैकल्पिक |
See also
सम्पादन{{sfn}}
, a more common way of citing multiple pages of the same source (described in detail in the "Shortened footnotes" section of Wikipedia:Citing sources){{p.}}
and {{pp.}}, which emit "p." (or "pp."), and non-breaking space, then the page number(s): खाँचा:P. producesp. 2
; खाँचा:Pp. givespp. 2–4
{{r}}
, which allows both the reference name and page number to be specified.{{r|aardvark|p=56}}
expands to<ref name="aardvark"/>{{Rp|56}}
.
References
सम्पादन ऊपर दिए गए निर्देश खाँचा:Rp/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |