Difference between revisions of "Template:Hms"

From TRMN
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{3|}}} |[[HMS {{{1}}} ({{{2}}})|HMS ''{{{1}}}''{{{3}}}]] |{{#if:{{{2|}}} |[[HMS {{{1}}} ({{{2}}})|HMS ''{{{1}}}'']] |[[HMS {{{1}}}|HMS ''{{{1}}}'']]...")
 
(Fixing redlink)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}
<includeonly>{{#if:{{{3|}}}
  |[[HMS {{{1}}} ({{{2}}})|HMS ''{{{1}}}''{{{3}}}]]
  |[[HMS {{{1}}} ({{{2}}})|HMS ''{{{1}}}'' ({{{2}}})]]
  |{{#if:{{{2|}}}
  |{{#if:{{{2|}}}
   |[[HMS {{{1}}} ({{{2}}})|HMS ''{{{1}}}'']]
   |[[HMS {{{1}}} ({{{2}}})|HMS ''{{{1}}}'']]
Line 8: Line 8:
Eliminates double-typing of ship-names in italics and simplifies namespace.
Eliminates double-typing of ship-names in italics and simplifies namespace.


  <nowiki>{{hms|Fearless}}</nowiki>
  <nowiki>{{hms|Invincible}}</nowiki>
produces:
produces:
:{{hms|Fearless}}
:{{hms|Invincible}}
 
<nowiki>{{hms|Invincible|SD-455}}</nowiki>
produces:
:{{hms|Invincible|SD-455}}
 
<nowiki>{{hms|Invincible|SD-455|hcn}}</nowiki>
produces:
:{{hms|Invincible|SD-455|hcn}}


<nowiki>{{hms|Nike|BC-413}}</nowiki>
:{{hms|Nike|BC-413}}


''See also: ''{{tl|gns}}, {{tl|sms}}, {{tl|pnv}}.
''See also: ''{{tl|hms}}, {{tl|gns}}, {{tl|sms}}, {{tl|rhns}}, {{tl|hmlac}}, {{tl|gsnlac}}, {{tl|rhlac}}.
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 13:12, 20 August 2022

Usage

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

{{hms|Invincible}}

produces:

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

produces:

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

produces:

HMS Invincible (SD-455)


See also: {{hms}}, {{gns}}, {{sms}}, {{rhns}}, {{hmlac}}, {{gsnlac}}, {{rhlac}}.