Template:Rp
More actions
Usage
Inline page-locator for repeated citations to the same source. Place immediately after a named reference tag to attach a specific page number to a specific in-text claim, without redefining the citation or bloating the references list with duplicate metadata.
The template is the wiki's equivalent of Wikipedia's [[wikipedia:Template:Rp|{{Rp}}]] and renders the same way: a small superscript colon followed by the page number, immediately after the reference number.
Syntax
The page number is positional or named:
| Wikitext | Renders as |
|---|---|
{{rp|209}} |
: 209 |
{{rp|page=209}} |
: 209 |
{{rp|p=209}} |
: 209 |
{{rp|209–211}} |
: 209–211 |
Pattern
Define the citation once with a named ref, with the page-specific locator attached via {{rp}}:
text...<ref name="openshaw2002">{{cite book |last=Openshaw |first=Jeanne
|year=2002 |title=Seeking Bauls of Bengal |publisher=Cambridge University
Press |isbn=978-0-521-81125-5}}</ref>{{rp|209}}
For every subsequent reference to a different page of the same source, reuse the named ref and attach a new {{rp}}:
more text<ref name="openshaw2002" />{{rp|225}}
The references list shows only one entry for Openshaw 2002; the in-text superscripts read [1]: 209 and [1]: 225 respectively.
Page ranges and locators
Type the en dash directly for ranges: {{rp|209–211}}. The template does not auto-convert hyphens. House style is en dash for numerical ranges throughout the wiki.
For non-page locators (figures, tables, footnotes), pass the locator string in place of the page: {{rp|fn. 11}}, {{rp|Table 5}}.
When to use
- Three or more page-specific citations to the same source in a single article.
- Any case where defining the full
{{cite book}}multiple times would clutter the references list with duplicate metadata.
When not to use
- Single citation per source (just use the cite template directly inside a
<ref>...</ref>). - Citations to multiple sources that all happen to share a page number (each source needs its own cite).
See also