Difference between revisions of "Template:Ship"

From Eat Every Plant
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision: Maclura pomifera)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template sandbox notice}}</noinclude><includeonly>{{safesubst:#if:{{{up|}}}
+
<includeonly><noinclude><!-- add unlinked prefix:
| {{{1}}}&#32;
+
--></noinclude>{{safesubst:<noinclude />#switch:{{safesubst:<noinclude />lc:{{{up|no}}}}}|yes|y|1|true={{{1|}}}&#32;}}<noinclude><!-- prefix outside the link
}}[[{{safesubst:#if:{{{1|}}}|{{{1}}}&#32;}}{{{2}}}{{safesubst:#if:{{{3|}}}| &#32;({{{3}}})}}|{{safesubst:#switch:{{{4|7}}}
+
 
|1 = {{safesubst:#if:{{{3|}}}|{{{3}}}|Hull Number Missing}}
+
build the wikilink:
|2 = ''{{{2}}}''
+
--></noinclude>{{safesubst:<noinclude />Yesno|{{safesubst:<noinclude />#if:{{{wl|}}}|{{{wl|}}}|yes}}|no=|yes={{safesubst:<noinclude />Square bracket open|2}}<noinclude><!--
|3 = ''{{{2}}}''&nbsp;{{safesubst:#if:{{{3|}}}|({{{3}}})|Hull Number Missing}}
+
target page: --></noinclude>{{safesubst:<noinclude />#if:{{{1|}}}|{{{1}}}&#32;}}{{{2|}}}{{safesubst:<noinclude />#if:{{{3|}}}|&#32;({{{3|}}})}}{{safesubst:<noinclude />!}}}}<noinclude><!--
|4 = Invalid Optional Parameter
+
 
|5 = {{{1}}}&nbsp;{{safesubst:#if:{{{3|}}}|({{{3}}})|Hull Number Missing}}
+
wikilabel:  --></noinclude>{{safesubst:<noinclude />#switch:{{{4|}}}
|6 = {{safesubst:#if:{{{1|}}}|{{{1}}}&nbsp;}}''{{{2}}}''
+
||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
| {{safesubst:#if:{{{1|}}}|{{{1}}}&nbsp;}}''{{{2}}}''{{safesubst:#if:{{{3|}}}|&nbsp;({{{3}}})}}
+
--></noinclude>|#default={{{1|}}}&nbsp;}}}}''{{{2|}}}''{{safesubst:<noinclude />#if:{{{3|}}}|&nbsp;({{{3}}})}}
}}]]</includeonly><noinclude>
+
|1 = {{{3|}}}
{{Documentation}}  
+
|2 = ''{{{2|}}}''
<!-- Add categories to the /doc subpage, not here! -->
+
|3 = ''{{{2|}}}''{{safesubst:<noinclude />#if:{{{3|}}}|&nbsp;({{{3}}})}}
</noinclude>
+
|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>

Latest revision as of 12:12, 23 November 2018

Template documentation[create]