Difference between revisions of "Template:Ship"
Jump to navigation
Jump to search
blackwiki>DePiep (add preview-warning message) |
m (37 revisions imported) |
||
| (8 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly><!-- add unlinked prefix: | + | <includeonly><noinclude><!-- add unlinked prefix: |
| − | -->{{#switch:{{lc:{{{up|no}}}}}|yes|y|1|true={{{1|}}} }}<!-- prefix outside the link | + | --></noinclude>{{safesubst:<noinclude />#switch:{{safesubst:<noinclude />lc:{{{up|no}}}}}|yes|y|1|true={{{1|}}} }}<noinclude><!-- prefix outside the link |
build the wikilink: | build the wikilink: | ||
| − | --> | + | --></noinclude>{{safesubst:<noinclude />Yesno|{{safesubst:<noinclude />#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{safesubst:<noinclude />Square bracket open|2}}<noinclude><!-- |
| − | target page: -->{{#if:{{{1|}}}|{{{1}}} }}{{{2|}}}{{#if:{{{3|}}}| ({{{3|}}})}} | + | target page: --></noinclude>{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}} }}{{{2|}}}{{safesubst:<noinclude />#if:{{{3|}}}| ({{{3|}}})}}{{safesubst:<noinclude />!}}}}<noinclude><!-- |
| − | wikilabel: -->{{#switch:{{{4|}}} | + | wikilabel: --></noinclude>{{safesubst:<noinclude />#switch:{{{4|}}} |
| − | ||4|#default={{#if:{{{1|}}}|{{#switch:{{lc:{{{up|no}}}}}|yes|y|true|1=<!-- prefix not part of the link | + | ||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 |
| − | -->|#default={{{1|}}} }}}}''{{{2|}}}''{{#if:{{{3|}}}| ({{{3}}})}} | + | --></noinclude>|#default={{{1|}}} }}}}{{safesubst:<noinclude />#if:{{{2|}}}|''{{{2|}}}''}}{{safesubst:<noinclude />#if:{{{3|}}}| {{nowrap|({{{3}}})}}}} |
| − | |1 = | + | |1 = {{{3|}}} |
| − | |2 = ''{{{2|}}}'' | + | |2 = {{safesubst:<noinclude />#if:{{{2|}}}|''{{{2|}}}''}} |
| − | |3 = ''{{{2|}}}''{{#if:{{{3|}}}| ({{{3}}})}} | + | |3 = {{safesubst:<noinclude />#if:{{{2|}}}|''{{{2|}}}''}}{{safesubst:<noinclude />#if:{{{3|}}}| {{nowrap|({{{3}}})}}}} |
| − | |5 = {{#if:{{{1|}}}|{{{1|}}} }}''{{{3|}}}'' | + | |5 = {{safesubst:<noinclude />#if:{{{1|}}}|{{{1|}}} }}''{{nowrap|{{{3|}}}}}'' |
| − | |6 = {{#ifeq:{{{up|no}}}|yes||{{#if:{{{1|}}}|{{{1}}} }}}}''{{{2}}}''}}<!-- | + | |6 = {{safesubst:<noinclude />#ifeq:{{{up|no}}}|yes||{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}} }}}}{{safesubst:<noinclude />#if:{{{2|}}}|''{{{2|}}}''}}}}<noinclude><!-- |
close the wikilink: | close the wikilink: | ||
| − | --> | + | --></noinclude>{{safesubst:<noinclude />Yesno|{{safesubst:<noinclude />#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{safesubst:<noinclude />Square bracket close|2}}}}<noinclude><!-- |
tracking categories: | tracking categories: | ||
| − | -->{{ | + | --></noinclude>{{safesubst:<noinclude />Ship/maintenancecategory|message=<noinclude><!-- |
| − | -->{{#if:{{{2|}}}||{{#switch:{{{4|0}}}|1|5=|#default=N}}}}<!-- | + | --></noinclude>{{safesubst:<noinclude />#if:{{{2|}}}||{{safesubst:<noinclude />#switch:{{{4|0}}}|1|5=|#default=N}}}}<noinclude><!-- |
| − | -->{{#switch:{{{4|}}} | + | --></noinclude>{{safesubst:<noinclude />#switch:{{{4|}}} |
|= | |= | ||
| − | |1 = {{#if:{{{3|}}}||A}} | + | |1 = {{safesubst:<noinclude />#if:{{{3|}}}||A}} |
|2 = | |2 = | ||
| − | |3 = {{#if:{{{3|}}}||C}} | + | |3 = {{safesubst:<noinclude />#if:{{{3|}}}||C}} |
| − | |4 = | + | |4 = |
| − | |5 = {{#if:{{{3|}}}||E}} | + | |5 = {{safesubst:<noinclude />#if:{{{3|}}}||E}} |
|6 = | |6 = | ||
| − | |#default=0}}<!-- | + | |#default=0}}<noinclude><!-- |
| − | -->{{#switch:{{lc:{{{up|}}}}}||yes|y|1|true=|no|0|false=|#default=W}}<!-- | + | --></noinclude>{{safesubst:<noinclude />#switch:{{lc:{{{up|}}}}}||yes|y|1|true=|no|0|false=|#default=W}}<noinclude><!-- |
| − | -->}} | + | --></noinclude>}}<noinclude><!-- eo subtemplate |
| − | -->{{#invoke:Check for unknown parameters|check|unknown={{main other|1=[[Category:Pages using Ship with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Ship]] with unknown parameter "_VALUE_"|ignoreblank=y|showblankpositional=1|1|2|3|4|up}}</includeonly><!-- | + | --></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>{{Documentation}}</noinclude> | + | --></noinclude><noinclude>{{Documentation}}</noinclude> |