Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
Template:Rp/doc
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} "Rp" stands for "reference page(s)". This is a method of citing page numbers. == 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: : <code><nowiki><ref name="aardvark"></nowiki></code>... details of cited source ...<code><nowiki></ref>{{rp|23}}</nowiki></code> which would be used to refer to a fact on page 23 of reference [1]: : Apples should be eaten when they are ripe.<ref name="aardvark">Aardvark, A. A. (1999). ''The Best Moments for Eating''. Green Press.</ref>{{rp|23}} This second example sentence shows the formatting produced by: :<code><nowiki><ref name="aardvark" />{{rp|56}}</nowiki></code> 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.<ref name="aardvark" />{{rp|56}} ===Use with '''at'''=== :<code><nowiki>A third asserted fact.<ref name="aardvark" />{{rp|at=dust jacket|q=This too is a fact.}}</nowiki></code> :A third asserted fact.<ref name="aardvark" />{{rp|at=dust jacket|q=This too is a fact.}} This template is for appending page numbers to [[Help:footnotes]]. 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 a method of using [[Help:shortened footnotes]]; it does not require the reader to follow two links to see the source. ==Translations == The use of "at" may need translations. ==How to use == ===With colon=== {{tlx|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 article. Cite.php's limitations pose two citation problems in such a case: # Regular use of <code><nowiki><ref ...>...</ref></nowiki></code> to provide a separate citation for each fact/statement sourced from a different page or page range (as in [https://en.wikipedia.org/w/index.php?title=Delaware_Basin&oldid=328167809#References this example]) will result in numerous individual lines, each repeating the entire bibliographic citation of a source, generated by <code><nowiki><references /></nowiki></code> in the "Notes" or "References" section. # Using a single <code><nowiki><ref ...>...</ref></nowiki></code> and followup <code><nowiki><ref ... /></nowiki></code>'s with the same <code>name=</code> and simply listing all of the pages cited, would result in the single, very long <code><nowiki><references /></nowiki></code> 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. ====Example==== The example below shows {{tl|Rp}} in use both at a first occurrence [<code><nowiki><ref ...>...</ref></nowiki></code>], with other references and inline superscript templates present so one can see how it looks when used in series, and at a later [<code><nowiki><ref ... /></nowiki></code>] occurrence. {{Aligned table |class=wikitable |col1style=width:5.0em;background:whitesmoke;vertical-align:middle;text-align:center;font-weight:bold; |col2style=padding-left:0.5em;padding-right:0.5em; <!------------------------------(80 characters)--------------------------------> | Code | <pre> An asserted fact.{{Clarify|date=August 2014}}<ref name="Jackson 1999">{{cite book |last=Jackson | first = Jennifer |title=The Unlightable Being of Bareness |publisher=Funky Publications |location=San Francisco |year=1999 |isbn=1-2345-6789-0}}</ref>{{rp|233–37}}<ref name="Smith 2000">{{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=The New York Times |page=S4, "Style" section |date=January 20, 2006 |accessdate=2007-03-17}}</ref> [...] Another asserted fact.<ref name="Jackson 1999" />{{rp|27, 422}} </pre> | Result | An asserted fact.{{Clarify|date=August 2014}}<ref name="Jackson 1999">{{cite book |last=Jackson | first = Jennifer |title=The Unlightable Being of Bareness |publisher=Funky Publications |location=San Francisco |year=1999 |isbn=1-2345-6789-0|ignore-isbn-error=true<!-- adding template-doc-demo in 2016 to remove this article from the error category while preserving the error message -->|template-doc-demo=true}}</ref>{{rp|233–37}}<ref name="Smith 2000">{{cite book |last=Smith | first = Bob |title=Another Source |publisher=Another Publisher |location=Chicago, IL |year=2000 |isbn=0-0986-5432-1|ignore-isbn-error=true<!-- adding template-doc-demo in 2016 to remove this article from the error category while preserving the error message -->|template-doc-demo=true |page=27}}</ref><ref name="NYT20060120">{{cite news |url=http://url.goes.here.tld/ |title=Some Article |last=Jones | first = Bill |work=The New York Times |page=S4, "Style" section |date=January 20, 2006 |accessdate=2007-03-17}}</ref> [...] Another asserted fact.<ref name="Jackson 1999" />{{rp|27, 422}} }}<!--(end Aligned table)--> ===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''. {{Aligned table |class=wikitable |col1style=width:5.0em;background:whitesmoke;vertical-align:middle;text-align:center;font-weight:bold; |col2style=padding-left:0.5em;padding-right:0.5em; <!------------------------------(80 characters)--------------------------------> | Code | <pre> An asserted fact.<ref name="Jackson 1999">{{cite book |last=Jackson | first = Jennifer |title=The Unlightable Being of Bareness |publisher=Funky Publications |location=San Francisco |year=1999 |isbn=1-2345-6789-0}} </ref>{{rp|page=148}} [...] Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233–37}} [...] A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket}} </pre> | Result | An asserted fact.<ref name="Jackson 1999" /><!--(this ref already defined in previous section)-->{{rp|page=148}} [...] Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233–37}} [...] A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket}} }}<!--(end Aligned table)--> ===Missing page numbers=== If a reference needs a page number but it is missing, use <code>{{tlx|rp|needed=y|date=<nowiki>{{subst:Date}}</nowiki></code> or <code>{{tlx|rp|needed=y|date=<nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</nowiki>}}</code>. This will automatically use the {{tlx|Cleanup/Page needed}} template to add the article to [[:Category:All articles needing page number citations]]. For example, <code><nowiki><ref name="Jackson 1999" /></nowiki>{{tlp|rp|needed{{=}}y|date{{=}}November 2012}}</code> results in: <ref name="Jackson 1999" /><!--(this ref already defined in previous section)-->{{rp|needed=y|date=November 2012}} This is preferable to something like <code>{{tlx|rp|page number?}}</code> or <code>{{tlx|rp|?}}</code>, since the cleanup categorization takes place. It is preferable to simply using {{tlx|Cleanup/Page needed}} in articles that make use of {{tlx|rp}}, since it preserves the use of the {{tlx|rp}} syntax. Do not nest the {{tlx|Cleanup/Page needed}} template inside the {{tlx|rp}} template; doing so introduces a stray colon and the displayed results are too small to be legible to many readers. For instance, <code><nowiki><ref name="Jackson 1999" /></nowiki>{{tlp|rp|{{tlp|Cleanup/Page needed|date{{=}}November 2012}}}}</code> results in the undesirable: <ref name="Jackson 1999" />{{rp|{{fix|link=MEpedia:Citing sources|text=page needed}}}} ===With a quote=== The template can use the {{para|quote}} or {{para|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 <span style="border-bottom: 1px dashed;" title="dashed underline">dashed underline</span>. {{Aligned table |class=wikitable |col1style=width:5.0em;background:whitesmoke;vertical-align:middle;text-align:center;font-weight:bold; |col2style=padding-left:0.5em;padding-right:0.5em; <!------------------------------(80 characters)--------------------------------> | Code | <pre> An asserted fact.<ref name="Jackson 1999" />{{rp|27, 422|quote=This is a fact.}} [...] Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233–37|q=This is also a fact.}} [...] A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket|q=This too is a fact.}} </pre> | Result | An asserted fact.<ref name="Jackson 1999" /><!--(this ref already defined in previous section)-->{{rp|422|quote=This is a fact.}} [...] Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233–37|q=This is also a fact.}} [...] A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket|q=This too is a fact.}} }}<!--(end Aligned table)--> ===A note on spacing=== Where multiple citations occur in series, <nowiki>{{rp}}</nowiki> prevents line breaks between the citations. The '''zero-width non-joiner''' (U+200C, code <code>&zwnj;</code> or <code><nowiki>{{zwnj}}</nowiki></code>) can be used to allow a line break, although this is discouraged. ===Hyphens=== Per [[MOS:DASH#In ranges that might otherwise be expressed with to or through|MOS:DASH]], page ranges should normally be declared with an ndash (<code><nowiki>{{rp|27&ndash;29}}</nowiki></code>β<sup>[ref]</sup>{{rp|27–29}}) rather than a hyphen. Tools like ''AWB'' will automatically convert hyphens to dashes in such instances. If the hyphen is desired for whatever reason, use {{tl|hyphen}} (<code><nowiki>{{rp|27{{hyphen}}29}}</nowiki></code>β<sup>[ref]</sup>{{rp|27{{hyphen}}29}}) rather than the <code>-</code> of your keyboard. == TemplateData == {{TemplateData header}} <templatedata> { "description": "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.", "params": { "1": { "label": "Page numbers", "description": "Write the page number(s) referred to in this reference.", "type": "string", "required": true, "suggested": true }, "needed": { "label": "Request page number" }, "date": { "label": "Page request date" }, "page": { "label": "AMA page number" }, "nopp": { "label": "Hide \"pp\" for AMA?", "type": "unknown" }, "pages": { "label": "AMA pages" }, "at": { "label": "AMA custom text" }, "quote": { "aliases": [ "q" ], "label": "Quote from source", "type": "string" } }, "format": "inline" } </templatedata> == See also == * {{tlx|sfn}}, another common way of citing multiple pages of the same source (see "[[Help:Shortened footnotes]]" section of [[MEpedia:Citing sources]]) == References == {{Reflist}} <includeonly> {{#ifeq:{{SUBPAGENAME}}|sandbox | | [[Category:Footnote templates]] [[Category:Citation templates]] }} </includeonly>
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Aligned table
(
edit
)
Template:Category handler
(
edit
)
Template:Cite book
(
edit
)
Template:Cite news
(
edit
)
Template:Clarify
(
edit
)
Template:Cleanup/Clarify
(
edit
)
Template:Cleanup/Page needed
(
edit
)
Template:Colon
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Fix
(
edit
)
Template:GetFallback
(
edit
)
Template:Hyphen
(
edit
)
Template:LangSwitch
(
edit
)
Template:Main other
(
edit
)
Template:Mbox
(
edit
)
Template:Para
(
edit
)
Template:Reflist
(
edit
)
Template:Rp
(
edit
)
Template:Strong
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template error report
(
view source
) (protected)
Template:Template link expanded
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Tlp
(
edit
)
Template:Tlx
(
edit
)
Template:Trim quotes
(
edit
)
Template:Uselang
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Aligned table
(
edit
)
Module:Arguments
(
edit
)
Module:Category handler
(
edit
)
Module:Category handler/blacklist
(
edit
)
Module:Category handler/config
(
edit
)
Module:Category handler/data
(
edit
)
Module:Category handler/shared
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Citation/CS1
(
edit
)
Module:Citation/CS1/COinS
(
edit
)
Module:Citation/CS1/Configuration
(
edit
)
Module:Citation/CS1/Date validation
(
edit
)
Module:Citation/CS1/Identifiers
(
edit
)
Module:Citation/CS1/Suggestions
(
edit
)
Module:Citation/CS1/Utilities
(
edit
)
Module:Citation/CS1/Whitelist
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Namespace detect/config
(
edit
)
Module:Namespace detect/data
(
edit
)
Module:No globals
(
edit
)
Module:String
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Unsubst
(
edit
)
Module:Yesno
(
edit
)
This page is a member of a hidden category:
Category:All articles needing cleanup for clarification
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs