Difference between revisions of "Template:USS"

From blackwiki
Jump to navigation Jump to search
blackwiki>J Clear
(add option 6, which seems more useful than 5)
blackwiki>Ms2ger
m (adding comments to make sure no linebreaks are inserted)
Line 1: Line 1:
<includeonly>[[ USS {{{1}}}{{#if:{{{2|}}}|&#32;({{{2}}})}}|
+
<includeonly><!-- link:
{{#switch:{{{3|7}}}
+
-->[[USS <!--
|1 = {{#if:{{{2|}}}|{{{2}}}|Hull Number Missing}}
+
-->{{{1}}}<!--
|2 = ''{{{1}}}''
+
-->{{#if:{{{2|}}}<!--
|3 = ''{{{1}}}''&nbsp;{{#if:{{{2|}}}|({{{2}}})|Hull Number Missing}}
+
then:-->|&#32;({{{2}}})<!--
|4 = Invalid Optional Parameter  
+
-->}}<!--
|5 = USS&nbsp;{{#if:{{{2|}}}|({{{2}}})|Hull Number Missing}}
+
-->|<!-- link text:
|6 = USS&nbsp;''{{{1}}}''
+
-->{{#switch:{{{3|7}}}<!--
|USS&nbsp;''{{{1}}}''{{#if:{{{2|}}}|&nbsp;({{{2}}})}}
+
    -->|1 = <!--
}}]]</includeonly><noinclude>
+
            -->{{#if:{{{2|}}}<!--
 +
            then:-->|{{{2}}}<!--
 +
            else:-->|Hull Number Missing<!--
 +
            -->}}<!--
 +
    -->|2 = ''{{{1}}}''<!--
 +
    -->|3 = ''{{{1}}}''&nbsp;<!--
 +
            -->{{#if:{{{2|}}}<!--
 +
            then:-->|({{{2}}})<!--
 +
            else:-->|Hull Number Missing<!--
 +
            -->}}<!--
 +
    -->|4 = Invalid Optional Parameter <!--
 +
    -->|5 = USS&nbsp;<!--
 +
            -->{{#if:{{{2|}}}<!--
 +
            then:-->|({{{2}}})<!--
 +
            else:-->|Hull Number Missing<!--
 +
            -->}}<!--
 +
    -->|6 = USS&nbsp;''{{{1}}}''
 +
    -->|USS&nbsp;''{{{1}}}''<!--
 +
            -->{{#if:{{{2|}}}<!--
 +
            then:-->|&nbsp;({{{2}}})
 +
            -->}}<!--
 +
-->}}<!--
 +
-->]]</includeonly><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.
  

Revision as of 08:22, 22 September 2007

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

See Talk Page for usage.