Open main menu

Changes

Move {{main other}} inside {{Ship/maintenancecategory}}, add "wl" to parameter check
<includeonly><noinclude><!-- add unlinked prefix:
--></noinclude>{{safesubst:<noinclude />#switch:{{safesubst:<noinclude />lc:{{{up|no}}}}}|yes|y|1|true={{{1|}}}&#32;}}<noinclude><!-- prefix outside the link

build the wikilink:
--></noinclude>{{safesubst:<noinclude />Yesno|{{safesubst:<noinclude />#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{safesubst:<noinclude />Square bracket open|2}}<noinclude><!--
target page: --></noinclude>{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}}&#32;}}{{{2|}}}{{safesubst:<noinclude />#if:{{{3|}}}|&#32;({{{3|}}})}}{{safesubst:<noinclude />!}}}}<noinclude><!--

wikilabel: --></noinclude>{{safesubst:<noinclude />#switch:{{{4|}}}
||4|#default={{safesubst:<noinclude />#if:{{{1|}}}|{{safesubst:<noinclude />#switch:{{safesubst:<noinclude />lc:{{{up|no}}}}}|yes|y|true|1=<noinclude><!-- prefix not part of the link
--></noinclude>|#default={{{1|}}}&nbsp;}}}}''{{{2|}}}''{{safesubst:<noinclude />#if:{{{3|}}}|&nbsp;({{{3}}})}}
|1 = {{{3|}}}
|2 = ''{{{2|}}}''
|3 = ''{{{2|}}}''{{safesubst:<noinclude />#if:{{{3|}}}|&nbsp;({{{3}}})}}
|5 = {{safesubst:<noinclude />#if:{{{1|}}}|{{{1|}}}&#32;}}''{{{3|}}}''
|6 = {{safesubst:<noinclude />#ifeq:{{{up|no}}}|yes||{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}}&nbsp;}}}}''{{{2}}}''}}<noinclude><!--
close the wikilink:
--></noinclude>{{safesubst:<noinclude />Yesno|{{safesubst:<noinclude />#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{safesubst:<noinclude />Square bracket close|2}}}}<noinclude><!--

tracking categories:
--></noinclude>{{safesubst:<noinclude />Ship/maintenancecategory|message=<noinclude><!--
--></noinclude>{{safesubst:<noinclude />#if:{{{2|}}}||{{safesubst:<noinclude />#switch:{{{4|0}}}|1|5=|#default=N}}}}<noinclude><!--
--></noinclude>{{safesubst:<noinclude />#switch:{{{4|}}}
|=
|1 = {{safesubst:<noinclude />#if:{{{3|}}}||A}}
|2 =
|3 = {{safesubst:<noinclude />#if:{{{3|}}}||C}}
|4 =
|5 = {{safesubst:<noinclude />#if:{{{3|}}}||E}}
|6 =
|#default=0}}<noinclude><!--
--></noinclude>{{safesubst:<noinclude />#switch:{{lc:{{{up|}}}}}||yes|y|1|true=|no|0|false=|#default=W}}<noinclude><!--
--></noinclude>}}<noinclude><!-- eo subtemplate

--></noinclude>{{safesubst:<noinclude />#invoke:Check for unknown parameters|check|unknown={{main other|1=[[Category:Pages using Ship with unknown parameters|_VALUE_ {{safesubst:<noinclude />PAGENAME}}]]}}|preview=Page using [[Template:Ship]] with unknown parameter "_VALUE_"|ignoreblank=y|showblankpositional=1|1|2|3|4|up|wl}}</includeonly><noinclude><!--

--></noinclude><noinclude>{{Documentation}}</noinclude>
Anonymous user