Jump to content

Template:USS: Difference between revisions

From IdeaWazaWiki
wikademia>J Clear
Add optional 3rd parameter to control display
wikademia>Wikademia
m 17 revisions
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>[[ USS {{{1}}}{{#if:{{{2|}}}|&#32;({{{2}}})}}|
<includeonly>{{ship|USS|{{{1}}}|{{#if:{{{2|}}}|{{{2}}}}}|{{#if:{{{3|}}}|{{{3}}}}}}}</includeonly><noinclude>{{template doc}}  
{{#switch:{{{3|7}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{pp-template|small=yes}}
|1 = {{#if:{{{2|}}}|{{{2}}}|Hull Number Missing}}
|2 = ''{{{1}}}''
|3 = ''{{{1}}}''&nbsp;{{#if:{{{2|}}}|({{{2}}})|Hull Number Missing}}
|5 = USS&nbsp;{{#if:{{{2|}}}|({{{2}}})|Hull Number Missing}}
|4 = Invalid Optional Parameter
|USS&nbsp;''{{{1}}}''{{#if:{{{2|}}}|&nbsp;({{{2}}})}}
}}]]</includeonly><noinclude>
This is a short cut for linking to [[US Navy]] ship articles.
 
See [[{{TALKPAGENAME}}|Talk Page]] for usage.
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 05:46, 19 March 2009