|
|
(2 intermediate revisions by one user not shown) |
Line 1: |
Line 1: |
− | <sup style="white-space: nowrap">:[{{{1|{{orange|page range required}}}}}]</sup><noinclude> | + | <sup style="white-space: nowrap">:{{{1|{{orange|page range required}}}}}</sup><noinclude> |
| <br> | | <br> |
− | This is a simplified implementation of the '''rp''' template found on Wikipedia. It is for added page ranges after citations. | + | This is a simplified implementation of the '''rp''' template found on Wikipedia. It is used to added page details after a citation. It should be placed directly after the final <nowiki></ref></nowiki> tag. |
| | | |
| '''Usage''': | | '''Usage''': |
Line 21: |
Line 21: |
| {{rp|20, 30}} | | {{rp|20, 30}} |
| | | |
− | For a range of pages, use a &ndash;: | + | For a range of pages, use a &ndash; as the separator (not checked): |
| | | |
| <pre style="font-size: 85%"> | | <pre style="font-size: 85%"> |
Latest revision as of 19:06, 18 December 2016
:page range required
This is a simplified implementation of the rp template found on Wikipedia. It is used to added page details after a citation. It should be placed directly after the final </ref> tag.
Usage:
Simply pass a single page as a string:
{{rp|10}}
:10
Or multiple pages as a string:
{{rp|20, 30}}
:20, 30
For a range of pages, use a – as the separator (not checked):
{{rp|40–50}}
:40–50
The template issues an error if no parameter is given:
{{rp}}
:page range required
See also: