Difference between revisions of "Template:Infobox/Part/test subject"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (translations has been moved to a separate dictionary)
m (Fix duplicate caption)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Line|'''{{Infobox/Part/Dict|testing environments}}'''|style=text-align:center;text-decoration:underline;}}
+
</noinclude>{{Infobox/Line|'''{{Infobox/Part/Dict|testing environments}}'''|style=text-align:center;text-decoration:underline;}}
 
{{Infobox/Line|{{Infobox/Part/Dict|on the surface}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 1 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|on the surface}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 1 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|in the ocean}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 2 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|in the ocean}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 2 mod 2|{{Yes}}|{{No}}}}}}
Line 7: Line 7:
 
{{Infobox/Line|{{Infobox/Part/Dict|sub orbital}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 16 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|sub orbital}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 16 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|in an orbit}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 32 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|in an orbit}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 32 mod 2|{{Yes}}|{{No}}}}}}
{{Infobox/Line|{{Infobox/Part/Dict|on the launchpad}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 64 mod 2|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|on an escape}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 64 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|docked}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 128 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|docked}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 128 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|test by staging}}|{{#switch: {{lc:{{{staging<noinclude>|True</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|test by staging}}|{{#switch: {{lc:{{{staging<noinclude>|True</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|manually testable}}|{{#switch: {{lc:{{{event<noinclude>|False</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}<noinclude>
 
{{Infobox/Line|{{Infobox/Part/Dict|manually testable}}|{{#switch: {{lc:{{{event<noinclude>|False</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}<noinclude>
 
}}
 
}}
 +
 
{{Tl|Infobox/Part}} module for [[contract]] test subjects.
 
{{Tl|Infobox/Part}} module for [[contract]] test subjects.
  
Line 17: Line 18:
 
{{Parameter row|environments|The environments variable from “ModuleTestSubject” module}}
 
{{Parameter row|environments|The environments variable from “ModuleTestSubject” module}}
 
{{Parameter row|staging|Whether the part can be tested through staging (see <tt>useStaging</tt>; <tt>y</tt>, <tt>yes</tt>, <tt>t</tt>, <tt>true</tt>, <tt>n</tt>, <tt>no</tt>, <tt>f</tt>, <tt>false</tt>)}}
 
{{Parameter row|staging|Whether the part can be tested through staging (see <tt>useStaging</tt>; <tt>y</tt>, <tt>yes</tt>, <tt>t</tt>, <tt>true</tt>, <tt>n</tt>, <tt>no</tt>, <tt>f</tt>, <tt>false</tt>)}}
{{Parameter row|event|Whether the part can be tested manually by rightclicking (see <tt>useEvent</tt>; <tt>y</tt>, <tt>yes</tt>, <tt>t</tt>, <tt>true</tt>, <tt>n</tt>, <tt>no</tt>, <tt>f</tt>, <tt>false</tt>)}}
+
{{Parameter row|event|Whether the part can be tested manually by right-clicking (see <tt>useEvent</tt>; <tt>y</tt>, <tt>yes</tt>, <tt>t</tt>, <tt>true</tt>, <tt>n</tt>, <tt>no</tt>, <tt>f</tt>, <tt>false</tt>)}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 20:56, 12 September 2024

Testing Environments
On the surface Yes
In the ocean No
On the launchpad No
In the atmosphere Yes
sub orbital No
In an orbit No
On an escape No
Docked No
Test by staging Yes
Manually testable No

{{Infobox/Part}} module for contract test subjects.

Name Optional Description Default
environments No The environments variable from “ModuleTestSubject” module
staging No Whether the part can be tested through staging (see useStaging; y, yes, t, true, n, no, f, false)
event No Whether the part can be tested manually by right-clicking (see useEvent; y, yes, t, true, n, no, f, false)