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}}}'']]...")
 
m
(One intermediate revision by the same user 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 14: Line 14:
  <nowiki>{{hms|Nike|BC-413}}</nowiki>
  <nowiki>{{hms|Nike|BC-413}}</nowiki>
:{{hms|Nike|BC-413}}
:{{hms|Nike|BC-413}}
<nowiki>{{hms|Nike|BC-413|hcn}}</nowiki>
:{{hms|Nike|BC-413|hcn}}


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

Revision as of 02:05, 18 September 2018

Usage

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

{{hms|Fearless}}

produces:

HMS Fearless
{{hms|Nike|BC-413}}
HMS Nike
{{hms|Nike|BC-413|hcn}}
HMS Nike (BC-413)


See also: {{gns}}, {{sms}}, {{pnv}}.