Difference between revisions of "Template:Ship"

From blackwiki
Jump to navigation Jump to search
blackwiki>Magioladitis
m (Updated link to documentation, replaced: {{Documentation, template}} → {{Documentation}} using AWB (7694))
blackwiki>R'n'B
(revised to make the template substitutable; tested on /sandbox with no impact on /testcases)
Line 1: Line 1:
<includeonly><!-- link
+
<noinclude>{{Template sandbox notice}}</noinclude><includeonly>{{safesubst:#if:{{{up|}}}
-->{{#if:{{{up|}}}|{{{1}}}&#32;}}[[{{{1}}} <!--
+
| {{{1}}}&#32;
-->{{{2}}}<!--
+
}}[[{{{1}}} {{{2}}}{{safesubst:#if:{{{3|}}}| &#32;({{{3}}})}}|{{safesubst:#switch:{{{4|7}}}
-->{{#if:{{{3|}}}<!--
+
|1 = {{safesubst:#if:{{{3|}}}|{{{3}}}|Hull Number Missing}}
then:-->|&#32;({{{3}}})<!--
+
|2 = ''{{{2}}}''
-->}}<!--
+
|3 = ''{{{2}}}''&nbsp;{{safesubst:#if:{{{3|}}}|({{{3}}})|Hull Number Missing}}
-->|<!-- link text:
+
|4 = Invalid Optional Parameter
-->{{#switch:{{{4|7}}}<!--
+
|5 = {{{1}}}&nbsp;{{safesubst:#if:{{{3|}}}|({{{3}}})|Hull Number Missing}}
    -->|1 = <!--
+
|6 = {{{1}}}&nbsp;''{{{2}}}''
            -->{{#if:{{{3|}}}<!--
+
| {{{1}}}&nbsp;''{{{2}}}''{{safesubst:#if:{{{3|}}}|&nbsp;({{{3}}})}}
            then:-->|{{{3}}}<!--
+
}}]]</includeonly><noinclude>
            else:-->|Hull Number Missing<!--
+
{{Documentation, template}}  
            -->}}<!--
+
<!-- Add categories and interwikis to the /doc subpage, not here!  -->
    -->|2 = ''{{{2}}}''<!--
 
    -->|3 = ''{{{2}}}''&nbsp;<!--
 
            -->{{#if:{{{3|}}}<!--
 
            then:-->|({{{3}}})<!--
 
            else:-->|Hull Number Missing<!--
 
            -->}}<!--
 
    -->|4 = Invalid Optional Parameter <!--
 
    -->|5 = {{{1}}}&nbsp;<!--
 
            -->{{#if:{{{3|}}}<!--
 
            then:-->|({{{3}}})<!--
 
            else:-->|Hull Number Missing<!--
 
            -->}}<!--
 
    -->|6 = {{{1}}}&nbsp;''{{{2}}}''<!--
 
    -->|{{{1}}}&nbsp;''{{{2}}}''<!--
 
            -->{{#if:{{{3|}}}<!--
 
            then:-->|&nbsp;({{{3}}})<!--
 
            -->}}<!--
 
-->}}<!--
 
-->]]</includeonly><noinclude>
 
{{Documentation}}  
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revision as of 19:53, 15 August 2012


Template documentation[create]