Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShipArticle/doc: Difference between revisions

Template page
Plebe (talk | contribs)
No edit summary
Plebe (talk | contribs)
Line 150: Line 150:
===Enclosing Tags===
===Enclosing Tags===


Ship articles actually start with the following, more complex block to handle their inclusion in other pages.
Ship articles actually start with the following, more complex block (instead of <tt>{{ShipArticle</tt>) to handle their inclusion in other pages.
The autogenerated template code will include this snippet.
The autogenerated template code will include this snippet.
<pre>
<pre>
<onlyinclude>{{{{#if:{{{mode|}}}|{{#switch:{{{mode}}}|box=ShipBoxLarge|#default=ShipBoxTooltip}}|ShipArticle}}  
<onlyinclude>{{{{#if:{{{mode|}}}|{{#switch:{{{mode}}}|box=ShipBoxLarge|#default=ShipBoxTooltip}}|ShipArticle}}  
</pre>
</pre>
===Helper tool===
===Helper tool===