Jump to content

Template:Ship: Difference between revisions

From IdeaWazaWiki
wikademia>Maelgwnbot
m Bot Updating template fields, {{tl|Template doc}}
wikademia>Wikademia
m 15 revisions
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>[[{{{1}}} {{{2}}} {{#if:{{{3|}}}|&#32;({{{3}}})}}|{{{1}}} ''{{{2}}}'']]</includeonly><noinclude>
<includeonly><!-- link:
This is a shortcut for linking to ship articles.
-->{{#if:{{{up|}}}|{{{1}}}&#32;}}[[{{{1}}} <!--
{{Documentation, template}}
-->{{{2}}}<!--
-->{{#if:{{{3|}}}<!--
then:-->|&#32;({{{3}}})<!--
-->}}<!--
-->|<!-- link text:
-->{{#switch:{{{4|7}}}<!--
    -->|1 = <!--
            -->{{#if:{{{3|}}}<!--
            then:-->|{{{3}}}<!--
            else:-->|Hull Number Missing<!--
            -->}}<!--
    -->|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>
{{pp-template|small=yes}}
{{Documentation, template}}  
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 05:46, 19 March 2009