Template:HIvMS/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
  | <nowiki>{{HIvMS|Inconstant|1760}}</nowiki>  
  | <nowiki>{{HIvMS|Inconstant|1760}}</nowiki>  
  | <nowiki>[[HIvMS Inconstant (1810)|HIvMS ''Inconstant'' (1810)]]</nowiki>  
  | <nowiki>[[HIvMS Inconstant (1810)|HIvMS ''Inconstant'' (1810)]]</nowiki>  
  | {{HIvMS|Inconstant|1760}}
  | {{HIvMS|Inconstant|1810}}
  |-
  |-
  | <nowiki>{{HIvMS|Iron Lady}}</nowiki>
  | <nowiki>{{HIvMS|Iron Lady}}</nowiki>

Revision as of 00:27, 16 October 2023

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