Template:HIvMS/doc

< Template:HIvMS
Revision as of 00:19, 16 October 2023 by Tsumiki (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 (1760)|HIvMS ''Inconstant'' (1760)]] 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