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

Template:Ship: Difference between revisions

Template page
changed this template as main entry point to the ship template
m Rewrite. The old #if: {{{2}}} always tested true. Because the transcluded pages did/do their own testing for the value of mode that did not matter. It still does not matter, but the code here now at least functions as intended.
 
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{ShipDatabase|{{{1}}}|{{{2}}}}}
<includeonly>{{ #if:{{{1|}}}
| {{ :{{{1}}}|mode= {{#if: {{{2|}}} | {{{2}}} | tooltip }} }}
| {{Co|red|!!}} No ship name specified [[Template:Ship/doc|(please read the documentation.)]] {{Co|red|!!}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>