Template:HIvMS/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- Please add categories at the bottom of this page. --> == Usage == This is a typing short cut for linking to Royal Illuverendian Navy ship a...") |
No edit summary |
||
Line 22: | Line 22: | ||
|- | |- | ||
| <nowiki>{{HIvMS|Inconstant|1760}}</nowiki> | | <nowiki>{{HIvMS|Inconstant|1760}}</nowiki> | ||
| <nowiki>[[HIvMS Inconstant ( | | <nowiki>[[HIvMS Inconstant (1810)|HIvMS ''Inconstant'' (1810)]]</nowiki> | ||
| {{HIvMS|Inconstant|1760}} | | {{HIvMS|Inconstant|1760}} | ||
|- | |- |
Revision as of 00:26, 16 October 2023
This is a documentation subpage for Template:HIvMS. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This is a typing short cut for linking to Royal Illuverendian Navy ship articles named in the format "HIvMS Ruby Scarlett (CAG-130)". Since ship names are italicized in article text, linking to them in the usual manner means typing everything twice, such as [[HIvMS Ruby Scarlett (CAG-130)|HIvMS ''Ruby Scarlett'' (CAG-130)]]. This template halves that to {{HIvMS|Ruby Scarlett|CAG-130}}.
Formal usage
- {{HIvMS|Ship Name}}
- {{HIvMS|Ship Name|ID}}, where ID can be the hull number, launch year, or pennant number, as specified in the article title.
Examples
Template usage | Equivalent wikicode | Final result |
---|---|---|
{{HIvMS|Ruby Scarlett|CAG-130}} | [[HIvMS Ruby Scarlett (CAG-130)|HSwMS ''Ruby Scarlett'' (CAG-130)]] | HIvMS Ruby Scarlett (CAG-130) |
{{HIvMS|Inconstant|1760}} | [[HIvMS Inconstant (1810)|HIvMS ''Inconstant'' (1810)]] | HIvMS Inconstant (1760) |
{{HIvMS|Iron Lady}} | [[HIvMS Iron Lady|HIvMS ''Iron Lady'']] | HIvMS Iron Lady |
Last example could be used to link to ship index (disambiguation) page