https://wiki.hisgis.nl/index.php?title=Sjabloon:Rp/doc&feed=atom&action=historySjabloon:Rp/doc - Bewerkingsoverzicht2024-03-29T11:12:13ZBewerkingsoverzicht voor deze pagina op de wikiMediaWiki 1.38.2https://wiki.hisgis.nl/index.php?title=Sjabloon:Rp/doc&diff=1289&oldid=prevThomas: 1 versie geïmporteerd2019-09-05T18:31:02Z<p>1 versie geïmporteerd</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="nl">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Oudere versie</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Versie van 5 sep 2019 19:31</td>
</tr><tr><td colspan="2" class="diff-notice" lang="nl"><div class="mw-diff-empty">(geen verschil)</div>
</td></tr></table>Thomashttps://wiki.hisgis.nl/index.php?title=Sjabloon:Rp/doc&diff=1290&oldid=prev78.137.87.145: /* Function */2019-06-30T20:03:31Z<p><span dir="auto"><span class="autocomment">Function</span></span></p>
<p><b>Nieuwe pagina</b></p><div>{{Documentation subpage}}<br />
{{Hatnote|[[Template:Refpage]] and [[Template:Refpages]] redirect here.}}<br />
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----><br />
"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.<br />
<br />
== Function ==<br />
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:<br />
: <code><nowiki><ref name="aardvark"></nowiki></code>... details of cited source ...<code><nowiki></ref>{{rp|23}}</nowiki></code><br />
which would be used to refer to a fact on page 23 of reference [1]:<br />
: 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}} <br />
<br />
This second example sentence shows the formatting produced by:<br />
:<code><nowiki><ref name="aardvark" />{{rp|56}}</nowiki></code><br />
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:<br />
:Porridge, usually eaten for breakfast, can also serve as a dessert.<ref name="aardvark" />{{rp|56}}<br />
<br />
This template is for appending page numbers to [[WP:FN|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 [[WP:CITESHORT|shortened footnotes]]; it does not require the reader to follow two links to see the source.<br />
<br />
===Notice===<br />
This template should not be used unless necessary. In the vast majority of cases, citing page numbers in the {{tag|ref}} code is just fine. This template is only intended for sources that are used {{em|many}} times in the same article, to such an extent that normal citation would produce a useless line in <code>&lt;references /></code> or too many individual ones. <br />
<br />
Overuse of this template is seen by some editors as making prose harder to read. Used judiciously, however, other editors say that it&nbsp;is less interruptive to the visual flow than complete implementation of the reference citation styles that inspired it, particularly [[Wikipedia:Harvard referencing|full Harvard referencing]] and [[AMA Manual of Style|AMA style]].<br />
<br />
If an article has an established citation style that uses an alternative to this template (e.g. Harvard style or another style using {{tlx|sfn}} shortened footnote templates), then {{em|do not}} 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]].<br />
<br />
== How to use ==<br />
<br />
===With colon===<br />
{{tlx|rp|page number(s)}}<br />
<br />
The <code>page number(s)</code> 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.<br />
<br />
This template is for appending page numbers to [[WP:FN|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:<br />
# Regular use of <code><nowiki>&lt;ref&nbsp;...>...&lt;/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>&lt;references&nbsp;/></nowiki></code> in the "Notes" or "References" section. <br />
# Using a single <code><nowiki>&lt;ref&nbsp;...>...&lt;/ref></nowiki></code> and followup <code><nowiki>&lt;ref&nbsp;...&nbsp;/></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>&lt;references&nbsp;/></nowiki></code> entry for this source giving no way for readers to tell which facts were sourced from which pages in the work.<br />
<br />
This template works around both of these problems. Doing so is important, because [[WP:FA|Featured Article]] as well as [[WP:GA|Good Article]] reviews generally insist upon specific facts being cited with specific page numbers.<br />
<br />
{{tnull|Rp}} is an alternative to the more common method of using [[WP:CITESHORT|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 <code><nowiki><ref&nbsp;...></nowiki></code> footnoting system is less tedious to use and more difficult to break with incorrect formatting than the {{tl|ref label}} and {{tl|note label}} system (although, in other situations, those templates are not particularly difficult and may be quite useful). <br />
<br />
{{tnull|Rp}} 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|Rp}} to the new code.<br />
<br />
====Example====<br />
The example below shows {{tnull|Rp}} in use both at a first occurrence [<code><nowiki><ref&nbsp;...>...</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&nbsp;...&nbsp;/></nowiki></code>] occurrence.<br />
<br />
{{Aligned table<br />
|class=wikitable<br />
|col1style=width:5.0em;background:whitesmoke;vertical-align:middle;text-align:center;font-weight:bold;<br />
|col2style=padding-left:0.5em;padding-right:0.5em;<br />
<!------------------------------(80 characters)--------------------------------><br />
| Code<br />
| <pre><br />
An asserted fact.{{Clarifyme|date=August 2014}}<ref name="Jackson 1999">{{cite <br />
book |last=Jackson |first=Jennifer |title=The Unlightable Being of Bareness <br />
|publisher=Funky Publications |location=[[San Francisco]] |year=1999 <br />
|isbn=1-2345-6789-0}}</ref>{{rp|233&ndash;37}}<ref name="Smith 2000">{{cite book <br />
|last=Smith |first=Bob |title=Another Source |publisher=Another Publisher <br />
|location=[[Chicago, IL]] |year=2000 |isbn=0-0986-5432-1 |page=27}}</ref><ref <br />
name="NYT20060120">{{cite news |url=http://url.goes.here.tld/ |title=Some <br />
Article |last=Jones |first=Bill |work=The New York Times |page=S4, "Style" section <br />
|date=January 20, 2006 |accessdate=2007-03-17}}</ref><br />
<br />
[...]<br />
<br />
Another asserted fact.<ref name="Jackson 1999" />{{rp|27, 422}}<br />
</pre><br />
<br />
| Result<br />
|<br />
An asserted fact.{{Clarifyme|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&ndash;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><br />
<br />
[...]<br />
<br />
Another asserted fact.<ref name="Jackson 1999" />{{rp|27, 422}}<br />
<br />
}}<!--(end Aligned table)--><br />
<br />
;Example page:<br />
*{{sectionlink|Liouville number|Liouville numbers and measure}}<br />
<br />
===With parentheses===<br />
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''.<br />
<br />
{{Aligned table<br />
|class=wikitable<br />
|col1style=width:5.0em;background:whitesmoke;vertical-align:middle;text-align:center;font-weight:bold;<br />
|col2style=padding-left:0.5em;padding-right:0.5em;<br />
<!------------------------------(80 characters)--------------------------------><br />
| Code<br />
| <pre><br />
An asserted fact.<ref name="Jackson 1999">{{cite book |last=Jackson <br />
|first=Jennifer |title=The Unlightable Being of Bareness |publisher=Funky <br />
Publications |location=[[San Francisco]] |year=1999 |isbn=1-2345-6789-0}}<br />
</ref>{{rp|page=148}}<br />
<br />
[...]<br />
<br />
Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233&ndash;37}}<br />
<br />
[...]<br />
<br />
A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket}}<br />
</pre><br />
<br />
| Result<br />
|<br />
An asserted fact.<ref name="Jackson 1999" /><!--(this ref already defined in previous section)-->{{rp|page=148}}<br />
<br />
[...]<br />
<br />
Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233&ndash;37}}<br />
<br />
[...]<br />
<br />
A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket}}<br />
<br />
}}<!--(end Aligned table)--><br />
<br />
===Missing page numbers===<br />
If a reference needs a page number but it is missing, use <code>{{tlx|rp|needed&#61;y|<nowiki>{{subst:DATE}}</nowiki>}}</code> or <code>{{tlx|rp|needed&#61;y|date&#61;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</code>. This will automatically use the {{tlx|page needed}} template to add the article to [[:Category:Wikipedia articles needing page number citations|the appropriate category]]. 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)-->{{fix|link=Wikipedia:Citing sources|text=page&nbsp;needed}}<br />
<br />
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|page needed}} in articles that make use of {{tlx|rp}}, since it preserves the use of the {{tlx|rp}} syntax.<br />
<br />
Do not nest the {{tlx|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|page needed|date{{=}}November 2012}}}}</code> results in the undesirable: <ref name="Jackson 1999" />{{rp|{{fix|link=Wikipedia:Citing sources|text=page&nbsp;needed}}}}<br />
<br />
===With a quote===<br />
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 [[WP:offline source|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.<br />
<br />
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>.<br />
<br />
{{Aligned table<br />
|class=wikitable<br />
|col1style=width:5.0em;background:whitesmoke;vertical-align:middle;text-align:center;font-weight:bold;<br />
|col2style=padding-left:0.5em;padding-right:0.5em;<br />
<!------------------------------(80 characters)--------------------------------><br />
| Code<br />
| <pre><br />
An asserted fact.<ref name="Jackson 1999" />{{rp|27, 422|quote=This is a fact.}}<br />
<br />
[...]<br />
<br />
Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233&ndash;37|q=This is also a fact.}}<br />
<br />
[...]<br />
<br />
A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket|q=This too is a fact.}}<br />
</pre><br />
<br />
| Result<br />
|<br />
An asserted fact.<ref name="Jackson 1999" /><!--(this ref already defined in previous section)-->{{rp|422|quote=This is a fact.}}<br />
<br />
[...]<br />
<br />
Another asserted fact.<ref name="Jackson 1999" />{{rp|pages=233&ndash;37|q=This is also a fact.}}<br />
<br />
[...]<br />
<br />
A third asserted fact.<ref name="Jackson 1999" />{{rp|at=dust jacket|q=This too is a fact.}}<br />
<br />
}}<!--(end Aligned table)--><br />
<br />
===A note on spacing===<br />
Where multiple citations occur in series, <nowiki>{{rp}}</nowiki> prevents line breaks between the citations. The "[[Template:Zwnj|zero-width non-joiner]]" (U+200C, code <code>&amp;zwnj;</code> or <code><nowiki>{{zwnj}}</nowiki></code>) can be used to allow a line break, although this is discouraged by [[MOS:REFPUNCT]].<br />
<br />
===Hyphens===<br />
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&amp;ndash;29}}</nowiki></code>→<sup>[ref]</sup>{{rp|27&ndash;29}}) 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 {{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.<br />
<br />
== TemplateData ==<br />
{{TemplateData header}}<br />
<templatedata><br />
{<br />
"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.",<br />
"params": {<br />
"1": {<br />
"label": "Page numbers",<br />
"description": "Write the page number(s) referred to in this reference.",<br />
"type": "string",<br />
"required": true,<br />
"suggested": true<br />
},<br />
"needed": {<br />
"label": "Request page number"<br />
},<br />
"date": {<br />
"label": "Page request date"<br />
},<br />
"page": {<br />
"label": "AMA page number"<br />
},<br />
"nopp": {<br />
"label": "Hide \"pp\" for AMA?",<br />
"type": "unknown"<br />
},<br />
"pages": {<br />
"label": "AMA pages"<br />
},<br />
"at": {<br />
"label": "AMA custom text"<br />
},<br />
"quote": {<br />
"aliases": [<br />
"q"<br />
],<br />
"label": "Quote from source",<br />
"type": "string"<br />
}<br />
},<br />
"format": "inline"<br />
}<br />
</templatedata><br />
<br />
== See also ==<br />
* {{tlx|sfn}}, a more common way of citing multiple pages of the same source (described in detail in the "[[WP:CITESHORT|Shortened footnotes]]" section of [[Wikipedia:Citing sources]])<br />
* {{tlx|p.}} and {{tl|pp.}}, which emit "p." (or "pp."), and non-breaking space, then the page number(s): {{p.|2}} produces <code>p.&amp;nbsp;2</code>; {{pp.|2|4}} gives <code>pp.&nbsp;2–4</code><br />
* {{tlx|r}}, which allows both the reference name and page number to be specified. {{tlc|r|aardvark|3=p=56}} expands to <code><nowiki><ref name="aardvark"/>{{Rp|56}}</nowiki></code>.<br />
<br />
== References ==<br />
{{Reflist}}<br />
<br />
<includeonly><br />
{{#ifeq:{{SUBPAGENAME}}|sandbox | |<br />
<!----CATEGORIES BELOW THIS LINE, PLEASE:----><br />
[[Category:Footnote templates]]<br />
[[Category:Inline templates]]<br />
}}<br />
</includeonly></div>78.137.87.145