Jump to content

Template:USS: Difference between revisions

From IdeaWazaWiki
wikademia>J Clear
try sp
wikademia>J Clear
try 32
Line 1: Line 1:
[[ USS {{{1}}}{{#if:{{{2|}}}|&sp;({{{2}}})}}|USS ''{{{1}}}''{{#if:{{{2|}}}| ({{{2}}})}}]]
[[ USS {{{1}}}{{#if:{{{2|}}}| ({{{2}}})}}|USS ''{{{1}}}''{{#if:{{{2|}}}| ({{{2}}})}}]]
<noinclude>
<noinclude>
This is a short cut for linking to [[US Navy]] ship articles.
This is a short cut for linking to [[US Navy]] ship articles.


<nowiki>
<nowiki>
Usage:
Usage:<br>
   {{USS|Ship Name|type-number}}
   {{USS|Ship Name|type-number}}<br>
 
<br>
Example:
Example:<br>
   {{USS|Enterprise|CVN-65}} yields [[USS Enterprise (CVN-65)|USS ''Enterprise'' (CVN-65)]]
   {{USS|Enterprise|CVN-65}} yields [[USS Enterprise (CVN-65)|USS ''Enterprise'' (CVN-65)]]<br>
 
<br>
or
or<br>
   {{USS|Constellation|1797}} yields [[USS Constellation (1797)|USS ''Constellation'' (1797]]
   {{USS|Constellation|1797}} yields [[USS Constellation (1797)|USS ''Constellation'' (1797]]<br>
or
or<br>
   {{USS|Contitution}} yields [[USS Constitution|USS ''Constitution]]
   {{USS|Contitution}} yields [[USS Constitution|USS ''Constitution]]<br>
Last example could be used to link to ship index (dab) page
Last example could be used to link to ship index (dab) page<br>
</nowiki>
</nowiki>
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 22:01, 23 September 2006

[[ USS {{{1}}}|USS {{{1}}}]]

This is a short cut for linking to US Navy ship articles.

Usage:<br> {{USS|Ship Name|type-number}}<br> <br> Example:<br> {{USS|Enterprise|CVN-65}} yields [[USS Enterprise (CVN-65)|USS ''Enterprise'' (CVN-65)]]<br> <br> or<br> {{USS|Constellation|1797}} yields [[USS Constellation (1797)|USS ''Constellation'' (1797]]<br> or<br> {{USS|Contitution}} yields [[USS Constitution|USS ''Constitution]]<br> Last example could be used to link to ship index (dab) page<br>