More actions
m More work on the error message. |
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. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{ #if:{{{1|}}} | ||
#if:{{{1|}}} | | {{ :{{{1}}}|mode= {{#if: {{{2|}}} | {{{2}}} | tooltip }} }} | ||
|{{ | | {{Co|red|!!}} No ship name specified [[Template:Ship/doc|(please read the documentation.)]] {{Co|red|!!}} | ||
|!! No ship name specified [[Template:Ship/doc|(please read the documentation.) !! | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||