Template:Cite plimsoll
Appearance
This template is a wrapper template around {{cite encyclopedia}}
intended to cite information from Lloyd's Register in the period 1930–1945 available as individual page scans at the Southampton City Council website.
This template depends on the filename that is the last portion of the Lloyd's Register url. For example, given this url:
https://plimsoll.southampton.gov.uk/shipdata/pdfs/34/34b0628.pdf
the filename is: 34b0628.pdf
The format of the filename 34b0628.pdf is: YYvssss.pdf
where:
- YY – least significant two digits of four-digit first year in a two-year range
- 34 → translated by the template to 1934–1935 for
|date=
- allowed values are all integers between and including 30–45
- 34 → translated by the template to 1934–1935 for
- v – volume; a single lowercase letter 'a' or 'b' where:
- 'a' → translated by the template to I for
|volume=
- 'b' → translated by the template to II for
|volume=
- 'a' → translated by the template to I for
- ssss - scan number begins with 0001; 0000 not allowed
Usage
[edit]This template:
- supports all of the
{{cite encyclopedia}}
parameters - requires one parameter
|filename=
which is the last bit after the last/
in the url Plimsoll url - calculates the value for
|date=
from|filename=
- supports unique parameters (all of these are optional):
|ship-name=
– the name of the ship as listed in the register|lr-number=
– the Numero d'Ordre or 'No. in Book' number from the leftmost column – not available on 'List of Vessels Fitted with Refrigerating Appliances' (Liste des Navires Pourvus de Machines Frigorifiques) scans|guide=
– guidewords from the upper corner of the page in lieu of page numbers|subtitle=
– this parameter takes a keyword (1–3 uppercase-characters) that represents the subtitle. If the value assigned to|subtitle=
is not a keyword, that value is used as the subtitle. There are several common 'subtitles' used in currently existing LR citations. Known subtitles, with their associated keywords, are:C
→ Chalutiers &c.F
→ Liste des Navires Pourvus de Machines FrigorifiquesNV
→ Navires a VoilesNVM
→ Navires a Vapeur et a MoteursR
→ List of Vessels Fitted with Refrigerating AppliancesSM
→ Steamers & MotorshipsSV
→ Sailing VesselsT
→ Trawlers &c.
Example of a fully populated template:
{{cite plimsoll |ship-name=Herbert N. Edwards |lr-number=57979 |subtitle=C |guide=HEN-HEU |filename=30a0310.pdf}}
- "Herbert N. Edwards (57979)" (PDF). Lloyd's Register: Chalutiers &c. HEN-HEU (in English and French). London: Lloyd's Register. 1930–1931 – via Southampton City Council.
minimal implementation:
{{cite plimsoll |filename=30a0310.pdf}}
- Lloyd's Register (PDF) (in English and French). London: Lloyd's Register. 1930–1931 – via Southampton City Council.
there is also crude error handling:
{{cite plimsoll |filename=30a0310}}
- {{cite plimsoll}} missing or malformed: |filename=