__EXPECTUNUSEDTEMPLATE__

Testing sandbox version

Does it work with the usual variety of ship-name forms?

Does it work with missing or empty {{{2}}}?

  • Photo gallery of Navsource/testcases at NavSource Naval History no nationality or prefix;
  • Photo gallery of Navsource/testcases at NavSource Naval History no nationality or prefix;

Does it work with existing work-around code?

  • Photo gallery of USS Houston (CA-30) at NavSource Naval History no nationality or prefix;

This works because it, in effect, mimics the operation of the old {{navsource}}. The {{noitalic}} work-around causes the tests in the new version for fail so the positional parameter {{{2}}} is treated like it doesn't have a proper ship prefix.

{{noitalic|USS}} Houston {{noitalic|(CA-30)}} → <syntaxhighlight lang="text" class="" style="" inline="1">USS Houston (CA-30)</syntaxhighlight>

Compare old and new with {{noitalic}} work-around:

<syntaxhighlight lang="text" class="" style="" inline="1">Photo gallery of USS Houston (CA-30) at NavSource Naval History no nationality or prefix;</syntaxhighlight>
<syntaxhighlight lang="text" class="" style="" inline="1">Photo gallery of USS Houston (CA-30) at NavSource Naval History no nationality or prefix;</syntaxhighlight>

Does it work with this variety of work around?

  • Photo gallery of USS 'Nashua' (YTB-774) at NavSource Naval History

Sort of. Still readable and doesn't display an untoward amound of markup.

<syntaxhighlight lang="text" class="" style="" inline="1">Photo gallery of USS 'Nashua' (YTB-774) at NavSource Naval History</syntaxhighlight>

Testing main template

Does it work with the usual variety of ship-name forms?

Does it work with missing or empty {{{2}}}?

  • Photo gallery of Navsource/testcases at NavSource Naval History no nationality or prefix;
  • Photo gallery of Navsource/testcases at NavSource Naval History no nationality or prefix;

Does it work with existing work-around code?

  • Photo gallery of USS Houston (CA-30) at NavSource Naval History no nationality or prefix;