Usage
This template is used to access Leigh Rayment's Historical List of MPs on
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-hc|date=noyabr 2024|external links=1}}
Leigh Rayment's Historical List of MPs are listed by constituencies placed under and then a page name consisting of the first letter of constituency name, "commons" and then a part number. So constituencies starting with "A" and on page "1" are at /commons/Acommons1.htm, and constituencies starting with an "S" on page 2 are at /commons/Scommons2.htm and so on. Some constituencies names such as those starting with the letter "F" are all on one page without a part number commons/Fcommons.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 external links=1
does not matter). So the two examples above would be entered like this:
{{Rayment-hc|date=noyabr 2024|A|1}}
{{Rayment-hc|date=noyabr 2024|S|2}}
{{Rayment-hc|date=noyabr 2024|F}}
All four together like this:
{{Rayment-hc|date=noyabr 2024|external links=1|A|1}}
and without a part number like this:
{{Rayment-hc|date=noyabr 2024|external links=1|F}}</nowiki>