Template:Clyde ships
Details of Template:PAGENAMEBASE at the Caledonian Maritime Research Trust's database of Scottish built ships.
The Caledonian Maritime Research Trust has a database of ships built in scotland. This template generates an external link to a specific ship on that database.
Usage
One parameter:
{{Clyde ships | ID }}{{Clyde ships | id= ID }}
Two parameters:
{{Clyde ships | ID | NAME }}{{Clyde ships | id= ID | name= NAME }}
Instructions
- Go to Template:URL and search for the ship you want
- Copy the number (ref) to the left of the ship's name
- Add to the external links section the text:
{{Clyde ships|id=#####|name=Name}}- where "#####" is the number you've copied, and "Name" is the ship's name
One parameter
If only the id parameter is used the name parameter defaults to the name of the page on which the template is placed. Usage:
{{Clyde ships | 2183 }}{{Clyde ships | id= 2183 }}
Output:
- Details of Template:PAGENAMEBASE at the Caledonian Maritime Research Trust's database of Scottish built ships.
- Details of Template:PAGENAMEBASE at the Caledonian Maritime Research Trust's database of Scottish built ships.
Two parameters
Usage:
{{Clyde ships | 2183 | Virginia }}{{Clyde ships | id= 2183 | name= Virginia }}
Output:
- Details of Virginia at the Caledonian Maritime Research Trust's database of Scottish built ships.
- Details of Virginia at the Caledonian Maritime Research Trust's database of Scottish built ships.
Template data
TemplateData for Clyde ships
This template generates an external link to the database of ships at the Caledonian Maritime Research Trust.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 id | ID number used in the URL, including any leading zeros. | Number | required |
| Name | 2 name | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
| The above documentation is transcluded from Template:Clyde ships/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |