Difference between revisions of "Template:Ship"
Jump to navigation
Jump to search
blackwiki>Ahecht (Sync with sandbox per Template_talk:Ship#Unlink_option?) |
blackwiki>Ahecht (Make substable) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><!-- add unlinked prefix: | + | <includeonly><noinclude><!-- add unlinked prefix: |
| − | -->{{safesubst:<noinclude />#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: | ||
| − | -->{{Yesno|{{#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{Square bracket open|2}}<!-- | + | --></noinclude>{{safesubst:<noinclude />Yesno|{{safesubst:<noinclude />#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{safesubst:<noinclude />Square bracket open|2}}<noinclude><!-- |
| − | target page: -->{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}} }}{{{2|}}}{{safesubst:<noinclude />#if:{{{3|}}}| ({{{3|}}})}}{{!}}}}<!-- | + | target page: --></noinclude>{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}} }}{{{2|}}}{{safesubst:<noinclude />#if:{{{3|}}}| ({{{3|}}})}}{{safesubst:<noinclude />!}}}}<noinclude><!-- |
| − | wikilabel: -->{{safesubst:<noinclude />#switch:{{{4|}}} | + | wikilabel: --></noinclude>{{safesubst:<noinclude />#switch:{{{4|}}} |
| − | ||4|#default={{safesubst:<noinclude />#if:{{{1|}}}|{{safesubst:<noinclude />#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|}}}''{{safesubst:<noinclude />#if:{{{3|}}}| ({{{3}}})}} | + | --></noinclude>|#default={{{1|}}} }}}}''{{{2|}}}''{{safesubst:<noinclude />#if:{{{3|}}}| ({{{3}}})}} |
|1 = {{{3|}}} | |1 = {{{3|}}} | ||
|2 = ''{{{2|}}}'' | |2 = ''{{{2|}}}'' | ||
|3 = ''{{{2|}}}''{{safesubst:<noinclude />#if:{{{3|}}}| ({{{3}}})}} | |3 = ''{{{2|}}}''{{safesubst:<noinclude />#if:{{{3|}}}| ({{{3}}})}} | ||
|5 = {{safesubst:<noinclude />#if:{{{1|}}}|{{{1|}}} }}''{{{3|}}}'' | |5 = {{safesubst:<noinclude />#if:{{{1|}}}|{{{1|}}} }}''{{{3|}}}'' | ||
| − | |6 = {{safesubst:<noinclude />#ifeq:{{{up|no}}}|yes||{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}} }}}}''{{{2}}}''}}<!-- | + | |6 = {{safesubst:<noinclude />#ifeq:{{{up|no}}}|yes||{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}} }}}}''{{{2}}}''}}<noinclude><!-- |
close the wikilink: | close the wikilink: | ||
| − | -->{{Yesno|{{#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{Square bracket close|2}}}}<!-- | + | --></noinclude>{{safesubst:<noinclude />Yesno|{{safesubst:<noinclude />#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{safesubst:<noinclude />Square bracket close|2}}}}<noinclude><!-- |
tracking categories: | tracking categories: | ||
| − | -->{{main other|1={{Ship/maintenancecategory|message=<!-- | + | --></noinclude>{{main other|1={{Ship/maintenancecategory|message=<noinclude><!-- |
| − | -->{{safesubst:<noinclude />#if:{{{2|}}}||{{safesubst:<noinclude />#switch:{{{4|0}}}|1|5=|#default=N}}}}<!-- | + | --></noinclude>{{safesubst:<noinclude />#if:{{{2|}}}||{{safesubst:<noinclude />#switch:{{{4|0}}}|1|5=|#default=N}}}}<noinclude><!-- |
| − | -->{{safesubst:<noinclude />#switch:{{{4|}}} | + | --></noinclude>{{safesubst:<noinclude />#switch:{{{4|}}} |
|= | |= | ||
|1 = {{safesubst:<noinclude />#if:{{{3|}}}||A}} | |1 = {{safesubst:<noinclude />#if:{{{3|}}}||A}} | ||
| Line 28: | Line 28: | ||
|5 = {{safesubst:<noinclude />#if:{{{3|}}}||E}} | |5 = {{safesubst:<noinclude />#if:{{{3|}}}||E}} | ||
|6 = | |6 = | ||
| − | |#default=0}}<!-- | + | |#default=0}}<noinclude><!-- |
| − | -->{{safesubst:<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><!-- |
| − | -->}}}}<!-- eo main_other, eo subtemplate | + | --></noinclude>}}}}<noinclude><!-- eo main_other, 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_{{PAGENAME}}]]}}|preview=Page using [[Template:Ship]] with unknown parameter "_VALUE_"|ignoreblank=y|showblankpositional=1|1|2|3|4|up}}</includeonly><noinclude><!-- |
| − | --><noinclude>{{Documentation}}</noinclude> | + | --></noinclude><noinclude>{{Documentation}}</noinclude> |