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)
Plebe (talk | contribs)
Line 150: Line 150:
===Enclosing Tags===
===Enclosing Tags===


Ship articles actually start with the following, more complex block, instead of "<tt>{{ShipArticle</tt>", to handle their inclusion in other pages.
Ship articles actually include the following wrapper, instead of just a <tt>ShipArticle</tt> tag, 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}}
...
}}</onlyinclude> <!-- Template marker : DON'T EDIT LINE -->
</pre>
</pre>