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
m Protected "Template:Ship" ([edit=sysop] (expires 11:28, 4 October 2011 (UTC)) [move=sysop] (expires 11:28, 4 October 2011 (UTC)))
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.
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Usage Guide==
<includeonly>{{ #if:{{{1|}}}
in progress.. please don't use this template until it's finished!
| {{ :{{{1}}}|mode= {{#if: {{{2|}}} | {{{2}}} | tooltip }} }}
 
| {{Co|red|!!}} No ship name specified [[Template:Ship/doc|(please read the documentation.)]] {{Co|red|!!}}
 
}}</includeonly><noinclude>
<onlyinclude><includeonly>{{
{{documentation}}
#if:{{{1|}}}
</noinclude>
|{{#if: {{{2}}}
|{{:{{{1}}}|mode={{{2|tooltip}}}}}
|{{:{{{1}}}|mode=tooltip}}
}}
|[[Template:Ship#Usage Guide|no ship data specified (please read the usage guide!)]]
}}</includeonly></onlyinclude>