Template:Rayment/sandbox
Rayment, Leigh, The Peerages of England, Scotland, Ireland, Great Britain and the United Kingdom {{citation}}
: Cite has empty unknown parameter: |separator=
(help)CS1 maint: postscript (link)[self-published source] [better source needed]
This is the template sandbox page for Template:Rayment (diff). See also the companion subpage for test cases. |
This template is used on approximately 2,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]This template is used to access pages on Leigh Rayment's Peerage Pages
With just a date=month year
parameter this template links to that web site. But this template also takes three optional parameters.
There is one named parameter called external links
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].
{{Rayment|date=November 2024|external links=1}}
- Leigh Rayment's Peerage Pages
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 external links=1
does not matter). So the two examples above would be entered like this:
{{Rayment|date=November 2024|A|1}}
- Leigh Rayment's Peerage Pages – Peerages beginning with "A" (part 1)[self-published source] [better source needed]
{{Rayment|date=November 2024|S|2}}
- Leigh Rayment's Peerage Pages – Peerages beginning with "S" (part 2)[self-published source] [better source needed]
All four together like this:
{{Rayment|date=November 2024|external links=1|A|1}}
- Leigh Rayment's Peerage Pages – Peerages beginning with "A" (part 1)
Categories
[edit]This places articles into several hidden sub-categories of
The sub-categories are:
- 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
See also
[edit]- {{Rayment-bd}} This page incorporates information from Leigh Rayment's Baronetage Page which has further dates on it
- {{Rayment-bt}} This page incorporates information from Leigh Rayment's Baronetage page
- {{Rayment-hc}} Leigh Rayment's Historical List of MPs
- {{Rayment-hc-ie}} Leigh Rayment's historical List of Members of the Irish House of Commons
- {{Rayment-pc}} Leigh Rayment's Privy Council Page
- Wikipedia:AutoWikiBrowser/Dated templates This template will have the date parameter set by a bot if not set by hand.