Template:Rayment-bt/doc

Usage
This template is used to access Leigh Rayment's List of Baronets on Leigh Rayment's Peerage Pages http://www.leighrayment.com/baronetage.htm.

With just a 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].



Leigh Rayment's List of Baronets are listed by name of the baronetage of England, Ireland, Nova Scotia, Great Britain and the United Kingdom placed under http://www.leighrayment.com/baronetage/ and then a page name consisting of baronets followed by the first letter of the baronetage and then the part number. So baronets starting with an "A" and in part "1" are at http://www.leighrayment.com/baronetage/baronetsA1.htm, and constituencies starting with an "S" on page 2 are at http://www.leighrayment.com/baronetage/baronetsS2.htm and so on. Some baronetages such as those starting with the letter "V" are all on one page without a part number http://www.leighrayment.com/baronetage/baronetsV.htm.

This template takes one or two unnamed parameters in the order first letter of the constituency and then part (Whether they come before or after the named parameter  does not matter). So the two examples above would be entered like this:


 * {{|date=July 2024}|A|1}}
 * {{|date=July 2024}|A|1}}





All four together like this:

and without a part number like this:
 * {{{{BASEPAGENAME}}|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|external links=1|I}}
 * {{{{BASEPAGENAME}}|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|external links=1|I}}

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-Bt template as an external link
 * Category:Wikipedia articles incorporating an LRPP-Bt template with one unnamed parameter
 * Category:Wikipedia articles incorporating an LRPP-Bt template with two unnamed parameters
 * Category:Wikipedia articles incorporating an LRPP-Bt template without an unnamed parameter