Jump to content

Template:USS: Difference between revisions

From IdeaWazaWiki
wikademia>J Clear
try to eliminate inserted <br> at end of template
wikademia>Wikademia
m 17 revisions
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>[[ USS {{{1}}}{{#if:{{{2|}}}|&#32;({{{2}}})}}|USS&nbsp;''{{{1}}}''{{#if:{{{2|}}}|&nbsp;({{{2}}})}}]]</includeonly><noinclude>
<includeonly>{{ship|USS|{{{1}}}|{{#if:{{{2|}}}|{{{2}}}}}|{{#if:{{{3|}}}|{{{3}}}}}}}</includeonly><noinclude>{{template doc}}  
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{pp-template|small=yes}}
This is a short cut for linking to [[US Navy]] ship articles.
 
 
Usage:<br>
  <nowiki>{{USS|Ship Name|type-number}}</nowiki>
 
Example:
  <nowiki>{{USS|Enterprise|CVN-65}} yields [[USS Enterprise (CVN-65)|USS ''Enterprise'' (CVN-65)]]</nowiki>
 
or
  <nowiki>{{USS|Constellation|1797}} yields [[USS Constellation (1797)|USS ''Constellation'' (1797]]</nowiki>
 
or
  <nowiki>{{USS|Contitution}} yields [[USS Constitution|USS ''Constitution]]</nowiki>
 
Last example could be used to link to ship index (dab) page<br>
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 05:46, 19 March 2009