Template:HIvMS/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
|- | |- | ||
| <nowiki>{{HIvMS|Ruby Scarlett|CAG-130}}</nowiki> | | <nowiki>{{HIvMS|Ruby Scarlett|CAG-130}}</nowiki> | ||
| <nowiki>[[HIvMS Ruby Scarlett (CAG-130)| | | <nowiki>[[HIvMS Ruby Scarlett (CAG-130)|HIvMS ''Ruby Scarlett'' (CAG-130)]]</nowiki> | ||
| {{HIvMS|Ruby Scarlett|CAG-130}} | | {{HIvMS|Ruby Scarlett|CAG-130}} | ||
|- | |- |
Latest revision as of 03:34, 6 December 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)|HIvMS ''Ruby Scarlett'' (CAG-130)]] | HIvMS Ruby Scarlett (CAG-130) |
{{HIvMS|Inconstant|1810}} | [[HIvMS Inconstant (1810)|HIvMS ''Inconstant'' (1810)]] | HIvMS Inconstant (1810) |
{{HIvMS|Iron Lady}} | [[HIvMS Iron Lady|HIvMS ''Iron Lady'']] | HIvMS Iron Lady |
Last example could be used to link to ship index (disambiguation) page