|
|
Line 21: |
Line 21: |
| {{rp|20, 30}} | | {{rp|20, 30}} |
| | | |
− | For a range of pages, use a –: | + | For a range of pages, use a – as the separator (not checked): |
| | | |
| <pre style="font-size: 85%"> | | <pre style="font-size: 85%"> |
Revision as of 19:03, 18 December 2016
:[page range required]
This is a simplified implementation of the rp template found on Wikipedia. It is for added page ranges after citations.
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: