Jump to content

Template:Hms-test

From Mantipedia
Revision as of 18:37, 14 September 2026 by EJordan (talk | contribs)

Usage

Eliminates double-typing of ship-names in italics and simplifies namespace.

{{hms|Invincible}}

produces:

{{#if:
|[[HMS Invincible ({{{2}}})|HMS Invincible ({{{2}}})]]
|{{#if:
 |[[HMS Invincible ({{{2}}})|HMS Invincible]]
 |HMS Invincible

}}}}

{{hms|Invincible|SD-455}}

produces:

{{#if:
|HMS Invincible (SD-455)
|{{#if:SD-455
 |HMS Invincible
 |HMS Invincible

}}}}

{{hms|Invincible|SD-455|hcn}}

produces:

{{#if:hcn
|HMS Invincible (SD-455)
|{{#if:SD-455
 |HMS Invincible
 |HMS Invincible

}}}}


See also: , , , , , , .