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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Fix environments)
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|</noinclude>
 
<noinclude>{{Infobox/Part/preview|</noinclude>
{{Infobox/Line|{{lang|en=On the surface|hu=Felszínen|ru=На поверхности}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 1 mod 2|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{lang|en=On the surface}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 1 mod 2|{{Yes}}|{{No}}}}}}
{{Infobox/Line|{{lang|en=On the ocean|hu=Tengereken|ru=В океане}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 2 mod 2|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{lang|en=In the ocean}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 2 mod 2|{{Yes}}|{{No}}}}}}
{{Infobox/Line|{{lang|en=In atmosphere|hu=Légkörben|ru=В атмосфере}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 4 mod 2|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{lang|en=On the launchpad}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 4 mod 2|{{Yes}}|{{No}}}}}}
{{Infobox/Line|{{lang|en=In space|hu=Űrben|ru=В пустоте}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 8 mod 2|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{lang|en=In the atmosphere}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 8 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang|en=Sub orbital}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 16 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang|en=In an orbit}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 32 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang|en=On an escape}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 64 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang|en=Docked}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 128 mod 2|{{Yes}}|{{No}}}}}}
 
{{Infobox/Line|{{lang|en=Test by staging|hu=Fokozat|ru=Ступень}}|{{#switch: {{lc:{{{staging<noinclude>|True</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}
 
{{Infobox/Line|{{lang|en=Test by staging|hu=Fokozat|ru=Ступень}}|{{#switch: {{lc:{{{staging<noinclude>|True</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}
 
{{Infobox/Line|{{lang|en=Manually testable|hu=Esemény|ru=Событие}}|{{#switch: {{lc:{{{event<noinclude>|False</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}<noinclude>
 
{{Infobox/Line|{{lang|en=Manually testable|hu=Esemény|ru=Событие}}|{{#switch: {{lc:{{{event<noinclude>|False</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}<noinclude>

Revision as of 21:00, 19 October 2016

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 rightclicking (see useEvent; y, yes, t, true, n, no, f, false)