Template:Rayment/doc

Usage
This template is used to access pages on Leigh Rayment's Peerage Pages

With just a  parameter this template links to that web site. But this template also takes three optional parameters.

There is one named parameter called  which should be set to "1" if this template is being used in an "External links" or a "Further reading" section of an article. It will turn off the two messages warning that this is a [self-published source?] and [better source needed].



Peerage pages on the website Leigh Rayment's Peerage Pages are placed at www.leighrayment.com/peers/peers with two additional parameters. The first letter of Peerage name and a page number. So Peerages on page "1" of names starting with an "A" are at www.leighrayment.com/peers/peers/peersA1.htm and Peerages on page "2" of names starting with the letter S are at www.leighrayment.com/peers/peersS2.htm and so on.

This template takes two unnamed parameters in the order page and number (Whether they come before or after the named parameter  does not matter). So the two examples above would be entered like this:





All four together like this:



Categories
This places articles into several hidden sub-categories of The sub-categories are:
 * Category:Wikipedia articles incorporating a Leigh Rayment's Peerage Pages template
 * Category:Wikipedia articles incorporating an LRPP template as an external link
 * Category:Wikipedia articles incorporating an LRPP template with one unnamed parameter
 * Category:Wikipedia articles incorporating an LRPP template with two unnamed parameters
 * Category:Wikipedia articles incorporating an LRPP template without an unnamed parameter