Template:HIvMS/doc

< Template:HIvMS
Revision as of 00:27, 16 October 2023 by Tsumiki (talk | contribs)
Jump to navigation Jump to search

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 (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