Jump to content

Template:Ship: Difference between revisions

From IdeaWazaWiki
wikademia>Maelgwnbot
m Bot Updating template fields, {{tl|Template doc}}
wikademia>TomTheHand
copying in updated code, which adds features from USS and HMS templates
Line 1: Line 1:
<includeonly>[[{{{1}}} {{{2}}} {{#if:{{{3|}}}|&#32;({{{3}}})}}|{{{1}}} ''{{{2}}}'']]</includeonly><noinclude>
<includeonly><!-- link:
-->[[{{{1}}} <!--
-->{{{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>
This is a shortcut for linking to ship articles.
This is a shortcut for linking to ship articles.
{{Documentation, template}}
{{Documentation, template}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 21:09, 4 January 2008

This is a shortcut for linking to ship articles. Template:Documentation, template