Today, Template:MS continues to be a topic of great interest and relevance in today's society. Whether due to its impact on people's daily lives, its influence on popular culture or its importance in academia and science, Template:MS continues to be the subject of constant analysis and debate. In this article, we will explore different aspects related to Template:MS, from its history and evolution to its current state and possible future developments. Through this analysis, we hope to shed light on the importance and relevance of Template:MS today and its impact on different aspects of society.
| This template is used on approximately 5,800 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. |
This is a typing short cut for linking to steamship articles named in the format "MS Shipname (Year)". Since ship names are italicized in article text, linking to them in the usual manner means typing everything twice, such as ]. This template halves that to {{MS|Shipname|ID}}.
{{MS|Ship Name}}{{MS|Ship Name|ID}}, where ID can be the hull number, launch year, or pennant number, as specified in the article title.| Template usage | Equivalent wikicode | Final result |
|---|---|---|
{{MS|Antenor|1957}}
|
]
|
MS Antenor (1957) |
{{MS|Queen Victoria|ship}}
|
]
|
MS Queen Victoria (ship) |
{{MS|Princess of Norway}}
|
]
|
MS Princess of Norway |
By default, the wikilink is build like this:
{{MS|Antenor|1957}}, the targetpage is].]], showing as:The default label can be changed with a simple parameter. The extra third position, unnamed parameter allows setting which elements of the ship's full name are shown in the wikilink. It sets the label in the link:
For example, in your article, the hull number (disambiguator) may not be needed to show. In that case, add option |2, and the result is:
{{MS|Antenor|1957|2}} →] →The options are:
| Value | Will show | Example | Wikilink ] | Shows |
|---|---|---|---|---|
| (default) | PREFIX name (ID) | {{MS|Antenor|1957}} | ] | MS Antenor (1957) |
| 1 | ID | {{MS|Antenor|1957|1}} | ] | 1957 |
| 2 | name | {{MS|Antenor|1957|2}} | ] | Antenor |
| 3 | name (ID) | {{MS|Antenor|1957|3}} | ] | Antenor (1957) |
| 4 (dflt) | PREFIX name (ID) | {{MS|Antenor|1957|4}} | — | Error: {{MS}} invalid control parameter: 4 (help) |
| 5 | PREFIX ID | {{MS|Antenor|1957|5}} | ] | MS 1957 |
| 6 | PREFIX name | {{MS|Antenor|1957|6}} | ] | MS Antenor |
TemplateData
| |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:MS in articles based on its TemplateData.
TemplateData for MS This template provides a wikilink to a ship's page, with label options
| |||||||||||||||||||||||||