Jump to content

Template:Hms

From Mantipedia
Revision as of 20:15, 27 April 2025 by Krbmp (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: Template:Tl, Template:Tl, Template:Tl, Template:Tl, Template:Tl, Template:Tl, Template:Tl.