Template:Reference page/doc
- แก้ไข*
stands for reference page"This is a method of citing page numbers usually used when other methods produce undesirable results. https://www.google.com One of its benefits is that is supported in the Wikipedia unlik which
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 which would be used to refer to a fact on page 23 of reference Apples should be eaten when they are ripe.
This second example sentence shows the which would be used as citation for a statement supported by a fact on page of the same reference which will appear only once in the list
Intent
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 are cited multiple times, at numerous different pages.
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 to provide a separate citation for each statement sourced from a different page or page range will result in numerous individual lines, each repeating the entire bibliographic citation of a source, generated 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.
is an alternative to the 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 footnoting system is less tedious to use and more difficult to break with incorrect formatting than the note label system although, in other situations, those templates are not particularly difficult and may be quite useful
In most cases, citing page numbers in the is just fine. This template is intended for sources that are used times in the same article, but with differing page numbers.
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 Wikipedia.com If an article has an established citation style that uses an alternative to this template Harvard style or another style using shortened footnote templates then 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,of the given page information will be ambiguous in some cases and thus the resulting tooltip has to remain somewha While typically only one of these three types of parameters is given, it is also possible to combine them to suit more special use cases. If both, singular and plural page parameters are given at the same time, the plural page info is assumed to be the span of the article, whereas the singular page info is considered to be the page within that span supporting the statement. The template will indicate this by framing the singular page in square brackets following the plural page info. If an in-source-location is given in addition to the page info, the template assumes it to further detail the preceding page info rather than representing some kind of stand-alone in-source location info.
Do not attempt to use multiple aliases of a parameter at the same time. Only one will be chosen and the others may be ignored without
Template:Aligned table
Note: If it is desirable to have the quotation present in the local tooltip as well as in the full citation, consider switching to use {{r}} with its |annotation=quote|quote=Quotation
parameter instead of using {{rp}}.
Spacing
Where multiple citations occur in series, {{rp}} prevents line breaks between the citations. In this case, |wrap=yes
can be used to allow a line break. Alternatively, if line breaks should be allowed also inside a long page / location information, |wrap=forced
can be used instead (however, if this actually results in line breaks also depends on the browser, CSS and the skin selected).
Hyphens
Per MOS:DASH, page ranges should normally be declared with an ndash ({{rp|pages=27–29}}
→[ref]: 27–29 ) rather than a hyphen. Tools like WP:AWB will automatically convert hyphens to dashes in such instances. For the plural page parameters |pages=
, |pp=
and |quote-pages=
and aliases, {{rp}} will automatically translate hyphens into ndashes for display purposes. (This does not apply to the singular and other in-source-location parameters |page=
, |p=
, |at=
, |loc=
, |quote-page=
and aliases.) If the hyphen is actually desired for whatever reason, the "accept-this-as-written-markup" (which is also supported by {{ran}} and {{r}}, the family of {{sfn}}- and {{harv}}-style templates, and all CS1/CS2 citation templates) can be used to indicate this ({{rp|pages=((27-29)), 41}}
→[ref]: 27-29, 41 ).
TemplateData
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page number(s) | 1 | Write the page number(s) referred to in this reference. Do not add 'Page', 'p.', 'pp.', etc.; just the number(s). (This parameter is supported for backward compatibility, but if the numerus is known, use one of the more specific parameters 'page'/'p', 'pages'/'pp', 'location'/'at' instead to eliminate any potential ambiguity and improve the tooltip.)
| String | deprecated |
Singular page number | page p | If the page number referred to in this reference is singular, specify the single page number using this parameter. Do not add 'Page', 'p.', etc.; just the number.
| String | suggested |
Plural pages | pages pp | If there are multiple page numbers referred to in this reference, specify them using this parameter. Do not add 'Pages', 'pp.', etc.; just the numbers.
| String | suggested |
In-source-location | location loc at | Specify the in-source-location referred to in this reference, if it is not a normal page or number of pages.
| String | suggested |
Quote (in original language) from source | quote q quotation | no description | String | optional |
Singular quote page | quote-page qp quotation-page | Write the page number referred to in the quote (only if different from page). Do not add 'Page', 'p.', 'pp.', etc.; just the number. (Special token 'page'/'p' refers to page.)
| String | optional |
Plural quote pages | quote-pages qpp quotation-pages | Write the page numbers referred to in the quote (only if different from pages). Do not add 'Page', 'p.', 'pp.', etc.; just the numbers. (Special token 'pages'/'pp' refers to pages.)
| String | optional |
Quote location | quote-location quote-loc quote-at quotation-location | Write the in-source-location referred to in the quote (only if different from pages). Do not add 'Page', 'p.', 'pp.', etc.; (Special token 'pages'/'pp'/'page'/'p' refers to pages.)
| String | optional |
Language of quote | language lang l ql quote-language quotation-language quote-lang quotation-lang | Optional language code for quote, if not English.
| Content | optional |
English translation of a quote | translation trans t tq translation-quote translation-quotation trans-quotation xlat | no description | String | optional |
Hide "pp" for AMA? | no-pp nopp | no description | Unknown | optional |
Display control | style | no description
| Content | optional |
Wrapping control | wrap | no description
| Content | optional |
Request page number | needed | no description | Unknown | optional |
Page request date | date | no description | Content | optional |
Page request reason | reason | no description | String | optional |
See also
- {{sfn}}, another 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): Template:P. produces
p. 2
; Template: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}}
. - {{ran}}, a wrapper for {{rp}} to work with references manually anchored through {{rma}} (to control the names of the superscript link labels according to custom naming schemes or sort orders)
- Help:References and page numbers
- Template:Section link
References