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
mNo edit summary
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.
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#if:{{{2|}}}
<includeonly>{{ #if:{{{1|}}}
|{{#ifexist:{{{1}}}|{{:{{{1}}}|mode={{{2|tooltip}}}}}|no_page_exist}}
| {{ :{{{1}}}|mode= {{#if: {{{2|}}} | {{{2}}} | tooltip }} }}
|no second var
| {{Co|red|!!}} No ship name specified [[Template:Ship/doc|(please read the documentation.)]] {{Co|red|!!}}
}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>