Muokataan sivua Malline:Rp

ApoWikistä
Varoitus: Et ole kirjautunut sisään. IP-osoitteesi näkyy julkisesti kaikille, jos muokkaat. Jos kirjaudut sisään tai luot tunnuksen, muokkauksesi yhdistetään käyttäjänimeesi ja saat paremman käyttökokemuksen.

Kumoaminen voidaan suorittaa. Varmista alla olevasta vertailusta, että haluat saada aikaan tämän lopputuloksen, ja sen jälkeen julkaise alla näkyvät muutokset.

Nykyinen versio Oma tekstisi
Rivi 1: Rivi 1:
#OHJAUS [[Malline:Raamatunpaikka]]
<span class="reference plainlinksneverexpand" style="white-space:nowrap"><sup>:{{{1}}}</sup> </span><noinclude><!--Yes that blank space IS intentional, though if someone wants to revert it we can see how it looks. -->
 
 
<noinclude>
{{Documentation subpage}}
<!--
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE
-->
==Usage==
 
{{tlx|rp|page number(s)}}
 
"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. &ndash; just the numbers.  It can of course also be used for non-numeric pages, for example "f. 29", "A7", "back cover", etc., and can also be used for non-paginated sources, e.g. "0:35:12" for a video source.
 
This template (the name of which stands for "reference pages") is for appending [[WP:HARV|Harvard referencing]]-style page numbers to [[WP:FN|Cite.php-generated inline reference citations]].  It is presently the only solution for the problem of an article with a source that must be cited many, many times, at numerous different pages, yet the Cite.php <code><nowiki><ref&nbsp;...></nowiki></code> footnoting system is desired to be used instead of the incredibly tedious and easy-to-break {{tl|ref label}} and {{tl|note label}} system (tedious and fragile in ''this'' context; the templates are not terribly difficult to use and are quite useful in other situations). 
 
The problem of course is that a work cited 100+ times with page numbers in each appearance, with individual <code><nowiki><ref&nbsp;...></nowiki></code>'s will result in more than 100 lines generated for the same source by <code><nowiki><references&nbsp;/></nowiki></code>, while using a single <code><nowiki><ref&nbsp;...>...</ref></nowiki></code> and followup <code><nowiki><ref&nbsp;...&nbsp;/></nowiki></code>'s with the same <code>name=</code> and simply mentioning all of the pages cited, in the single line generated by <code><nowiki><references&nbsp;/></nowiki></code> could result in at least 100 pages being specifically cited in a single reference citation footnote, rendering it basically unreadable and certainly useless.  Given that [[WP:FA|Featured Article]] and sometimes even [[WP:GA|Good Article]] review generally insist upon specific facts being cited with specific page numbers, Cite.php's limitations are in fact a severe problem for editors.  Even more importantly, either of the two results above is a severe problem for encyclopedia readers. 
 
This template solves this problem (perhaps temporarily, as Cite.php may be upgraded at some future date to account for this problem, in which case a bot can be created to convert {{tl|Rp}} instances to the new, improved "Super-<code><nowiki><ref&nbsp;...></nowiki></code>").
 
===Example===
The example below shows {{tl|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.
 
;Code:
<code>An asserted fact.<nowiki>{{</nowiki>Clarifyme|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki><nowiki><</nowiki>ref name="Jackson1999"><nowiki>{{</nowiki>Cite book<br />
|last=Jackson<br />
|first=Jennifer<br />
|title=The Unlightable Being of Bareness<br />
|publisher=Funky Publications|location=<nowiki>[[</nowiki>San Francisco, CA]]<br />
|year=1999<br />
|isbn=1-2345-6789-0<br />
}}<nowiki><</nowiki>/ref><nowiki>{{</nowiki>rp|233-7}}<nowiki><</nowiki>ref name="Smith2000"><nowiki>{{</nowiki>Cite book<br />
|last=Smith<br />
|first=Bob<br />
|title=Another Source<br />
|publisher=Another Publisher<br />
|location=<nowiki>[[</nowiki>Chicago, IL]]<br />
|year=2000<br />
|isbn=0-0986-5432-1<br />
|page=27<br />
}}<nowiki><</nowiki>/ref><nowiki><</nowiki>ref name="NYT20060120"><nowiki>{{</nowiki>Cite news<br />
|url= <nowiki>http://url.goes.here.tld/</nowiki> <br />
|title=Some Article<br />
|last=Jones<br />
|first=Bill<br />
|work=New York Times<br />
|page=S4, "Style" section<br />
|publisher=<nowiki>[[</nowiki>New York Times Company]]<br />
|location=<nowiki>[[</nowiki>New York, NY]]<br />
|date=January 20, 2006<br />
|accessdate=2007-03-17<br />
}}<nowiki><</nowiki>/ref></nowiki></code><br />
...<br />
<code><nowiki>Another asserted fact.<ref name="Jackson1999"&nbsp;/>{{rp|27, 422}}</nowiki></code><br />
...<br />
<code><nowiki><references&nbsp;/></nowiki></code>
 
;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}}</ref>{{rp|233-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|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|publisher=[[New York Times Company]]|location=[[New York, NY]]|date=January 20, 2006|accessdate=2007-03-17}}</ref><br />
...<br />
Another asserted fact.<ref name="Jackson1999" />{{rp|27, 422}}<br />
...<br />
<references />
 
===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.
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Citation templates]]
[[Category:Inline templates]]
</includeonly>
 
</noinclude>
Muutoksesi astuvat voimaan välittömästi. Kaikki ApoWikiin tehtävät tuotokset katsotaan julkaistuksi GNU Free Documentation License 1.3 or later -lisenssin mukaisesti (ApoWiki:Tekijänoikeudet). Jos et halua, että kirjoitustasi muokataan armottomasti ja uudelleenkäytetään vapaasti, älä tallenna kirjoitustasi. Tallentamalla muutoksesi lupaat, että kirjoitit tekstisi itse, tai kopioit sen jostain vapaasta lähteestä. ÄLÄ KÄYTÄ TEKIJÄNOIKEUDEN ALAISTA MATERIAALIA ILMAN LUPAA!
Peruuta Muokkausohjeet (avautuu uuteen ikkunaan)
Noudettu kohteesta ”https://apowiki.fi/wiki/Malline:Rp