Template:Rp/doc: Difference between revisions

clean up
(clean up)
(clean up)
 
Line 65: Line 65:


;Results:
;Results:
An asserted fact.<sup title="The text in the vicinity of this tag needs clarification or removal of jargon." class="noprint">&#91;[[Wikipedia:Please clarify|''clarify'']]&#93;</sup><ref name="Jackson1999">{{Cite book|last=Jackson|first=Jennifer|title=The Unlightable Being of Bareness|publisher=Funky Publications|location=[[San Francisco, CA]]|year=1999|isbn=1-2345-6789-0 |ignore-isbn-error=true}}</ref>{{rp|233&ndash;7}}<ref name="Smith2000">{{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 |page=27}}</ref><ref name="NYT20060120">{{Cite news|url= http://url.goes.here.tld/ |title=Some Article|last=Jones|first=Bill|work=New York Times|page=S4, "Style" section|date=January 20, 2006|accessdate=2007-03-17}}</ref><br />
An asserted fact.<sup title="The text in the vicinity of this tag needs clarification or removal of jargon." class="noprint">&#91;[[Sarkarverse:Please clarify|''clarify'']]&#93;</sup><ref name="Jackson1999">{{Cite book|last=Jackson|first=Jennifer|title=The Unlightable Being of Bareness|publisher=Funky Publications|location=[[San Francisco, CA]]|year=1999|isbn=1-2345-6789-0 |ignore-isbn-error=true}}</ref>{{rp|233&ndash;7}}<ref name="Smith2000">{{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 |page=27}}</ref><ref name="NYT20060120">{{Cite news|url= http://url.goes.here.tld/ |title=Some Article|last=Jones|first=Bill|work=New York Times|page=S4, "Style" section|date=January 20, 2006|accessdate=2007-03-17}}</ref><br />
...<br />
...<br />
Another asserted fact.<ref name="Jackson1999" />{{rp|27, 422}}<br />
Another asserted fact.<ref name="Jackson1999" />{{rp|27, 422}}<br />
Line 100: Line 100:


===Missing page numbers===
===Missing page numbers===
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 group="b" name="Jackson 1999 ex. 1" />{{tlx|rp|needed&#61;y|</nowiki>date=November 2012}}</code> results in: <ref group="b" name="Jackson1999">{{Cite book|last=Jackson|first=Jennifer|title=The Unlightable Being of Bareness|publisher=Funky Publications|location=[[San Francisco, CA]]|year=1999|isbn=1-2345-6789-0 |ignore-isbn-error=true}}</ref>{{fix|link=Wikipedia:Citing sources|text=page&nbsp;needed}}
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 group="b" name="Jackson 1999 ex. 1" />{{tlx|rp|needed&#61;y|</nowiki>date=November 2012}}</code> results in: <ref group="b" name="Jackson1999">{{Cite book|last=Jackson|first=Jennifer|title=The Unlightable Being of Bareness|publisher=Funky Publications|location=[[San Francisco, CA]]|year=1999|isbn=1-2345-6789-0 |ignore-isbn-error=true}}</ref>{{fix|link=Sarkarverse:Citing sources|text=page&nbsp;needed}}


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.
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.


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. The result of this nesting is demonstrated in the following example: <code><nowiki><ref group="b" name="Jackson 1999" />{{tlx|rp|{{tlx|page needed|</nowiki>date=November 2012}}</code> results in the undesirable: <ref group="b" name="Jackson1999">{{Cite book|last=Jackson|first=Jennifer|title=The Unlightable Being of Bareness|publisher=Funky Publications|location=[[San Francisco, CA]]|year=1999|isbn=1-2345-6789-0 |ignore-isbn-error=true}}</ref>{{rp|{{fix|link=Wikipedia:Citing sources|text=page&nbsp;needed}}}}
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. The result of this nesting is demonstrated in the following example: <code><nowiki><ref group="b" name="Jackson 1999" />{{tlx|rp|{{tlx|page needed|</nowiki>date=November 2012}}</code> results in the undesirable: <ref group="b" name="Jackson1999">{{Cite book|last=Jackson|first=Jennifer|title=The Unlightable Being of Bareness|publisher=Funky Publications|location=[[San Francisco, CA]]|year=1999|isbn=1-2345-6789-0 |ignore-isbn-error=true}}</ref>{{rp|{{fix|link=Sarkarverse:Citing sources|text=page&nbsp;needed}}}}


{{Reflist|group="b"}}
{{Reflist|group="b"}}
Line 112: Line 112:


===Warning===
===Warning===
This template should not be used unless necessary.  In the vast majority of cases, citing page numbers in the <code><nowiki><ref&nbsp;...>...</ref></nowiki></code> code is just fine.  This template is only intended for sources that are used many, many times in the same article, to such an extent that normal citation would produce a useless line in <code><nowiki><references&nbsp;/></nowiki></code> or too many individual ones.  Overuse of this template will make prose harder to read, and is likely to be reverted by other editors. Used judiciously, however, it is much less interruptive to the visual flow than [[Wikipedia:Harvard referencing|full Harvard referencing]] and some other reference citation styles.
This template should not be used unless necessary.  In the vast majority of cases, citing page numbers in the <code><nowiki><ref&nbsp;...>...</ref></nowiki></code> code is just fine.  This template is only intended for sources that are used many, many times in the same article, to such an extent that normal citation would produce a useless line in <code><nowiki><references&nbsp;/></nowiki></code> or too many individual ones.  Overuse of this template will make prose harder to read, and is likely to be reverted by other editors. Used judiciously, however, it is much less interruptive to the visual flow than [[Sarkarverse:Harvard referencing|full Harvard referencing]] and some other reference citation styles.


==See also==
==See also==
* [[SV:CITESHORT|Shortened footnotes]] in [[Wikipedia:Citing sources]], which describes the most common way of citing multiple pages of the same source.
* [[SV:CITESHORT|Shortened footnotes]] in [[Sarkarverse:Citing sources]], which describes the most common way of citing multiple pages of the same source.
* {{tl|sfn}}, a template that implements the most common way of citing multiple pages of the same source.
* {{tl|sfn}}, a template that implements the most common way of citing multiple pages of the same source.


14,061

edits