Template:USS: Difference between revisions
Appearance
wikademia>J Clear try 32 |
wikademia>J Clear try to eliminate inserted <br> at end of template |
||
| Line 1: | Line 1: | ||
[[ USS {{{1}}}{{#if:{{{2|}}}| ({{{2}}})}}|USS ''{{{1}}}''{{#if:{{{2|}}}| ({{{2}}})}}]] | <includeonly>[[ USS {{{1}}}{{#if:{{{2|}}}| ({{{2}}})}}|USS ''{{{1}}}''{{#if:{{{2|}}}| ({{{2}}})}}]]</includeonly><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. | ||
Usage:<br> | Usage:<br> | ||
{{USS|Ship Name|type-number}}< | <nowiki>{{USS|Ship Name|type-number}}</nowiki> | ||
Example:< | Example: | ||
<nowiki>{{USS|Enterprise|CVN-65}} yields [[USS Enterprise (CVN-65)|USS ''Enterprise'' (CVN-65)]]</nowiki> | |||
or< | or | ||
<nowiki>{{USS|Constellation|1797}} yields [[USS Constellation (1797)|USS ''Constellation'' (1797]]</nowiki> | |||
or< | |||
or | |||
<nowiki>{{USS|Contitution}} yields [[USS Constitution|USS ''Constitution]]</nowiki> | |||
Last example could be used to link to ship index (dab) page<br> | Last example could be used to link to ship index (dab) page<br> | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:16, 24 September 2006
This is a short cut for linking to US Navy ship articles.
Usage:
{{USS|Ship Name|type-number}}
Example:
{{USS|Enterprise|CVN-65}} yields [[USS Enterprise (CVN-65)|USS ''Enterprise'' (CVN-65)]]
or
{{USS|Constellation|1797}} yields [[USS Constellation (1797)|USS ''Constellation'' (1797]]
or
{{USS|Contitution}} yields [[USS Constitution|USS ''Constitution]]
Last example could be used to link to ship index (dab) page