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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
m (Added french localization.)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|</noinclude>
 
<noinclude>{{Infobox/Part/preview|</noinclude>
{{Infobox/Line|{{lang|en=On the surface|ru=На поверхности}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 1 mod 2|{{Yes}}|{{No}}}}}}
+
{{Infobox/Line|{{lang
{{Infobox/Line|{{lang|en=On the ocean|ru=В океане}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 2 mod 2|{{Yes}}|{{No}}}}}}
+
  |en='''Testing Environments'''
{{Infobox/Line|{{lang|en=In atmosphere|ru=В атмосфере}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 4 mod 2|{{Yes}}|{{No}}}}}}
+
  |it='''Ambienti di Test'''
{{Infobox/Line|{{lang|en=In space|ru=В пустоте}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 8 mod 2|{{Yes}}|{{No}}}}}}
+
  |tr='''Test Ortamları'''
{{Infobox/Line|{{lang|en=Staging|ru=Ступень}}|{{#switch: {{lc:{{{staging<noinclude>|True</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}
+
  |fr='''Environnements de test'''
{{Infobox/Line|{{lang|en=Event|ru=Событие}}|{{#switch: {{lc:{{{event<noinclude>|False</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}<noinclude>
+
}}|style=text-align:center;text-decoration:underline;}}
 +
{{Infobox/Line|{{lang
 +
  |en=On the surface
 +
  |it=Sulla superficie
 +
  |tr=Yüzeyde
 +
  |fr=En surface
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 1 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=In the ocean
 +
  |it=Immerso
 +
  |tr=Okyanusta
 +
  |fr=Dans l'océan
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 2 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=On the launchpad
 +
  |it=Sulla P. di Lancio.
 +
  |tr=Fırlatma rampasında
 +
  |fr=Sur le pas de tir
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 4 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=In the atmosphere
 +
  |it=Nell'atmosfera
 +
  |tr=Atmosferde
 +
  |fr=Dans l'atmosphère
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 8 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=Sub orbital
 +
  |it=In volo suborbitale
 +
  |tr=Yörüngealtı güzergahta
 +
  |fr=En vol suborbital
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 16 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=In an orbit
 +
  |it=In orbita
 +
  |tr=Yörüngede
 +
  |fr=En orbite
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 32 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=On an escape
 +
  |it=In fuga
 +
  |tr=Kaçış güzergahında
 +
  |fr=Sur une trajectoire de libération
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 64 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=Docked
 +
  |it=Attraccato
 +
  |tr=Kenetlenmiş halde
 +
  |fr=Amarré
 +
}}|{{#ifexpr: {{{environments<noinclude>|9</noinclude>}}} div 128 mod 2|{{Yes}}|{{No}}}}}}
 +
{{Infobox/Line|{{lang
 +
  |en=Test by staging
 +
  |hu=Fokozat
 +
  |ru=Ступень
 +
  |it=Test tramite att. Stadio
 +
  |tr=Aşamalandırarak test edilir
 +
  |fr=Test par décl. de l'étage
 +
}}|{{#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=Событие
 +
  |it=Test manuale
 +
  |tr=Manüel olarak test edilebilir
 +
  |fr=Testable manuellement
 +
}}|{{#switch: {{lc:{{{event<noinclude>|False</noinclude>}}}}}|y|yes|t|true={{Yes}}|n|no|f|false={{No}}}}}}<noinclude>
 
}}
 
}}
{{Box|Determine the actual purpose of “useStaging” and “useEvent”}}
 
 
{{Tl|Infobox/Part}} module for [[contract]] test subjects.
 
{{Tl|Infobox/Part}} module for [[contract]] test subjects.
  
{{Parameter Table|name=text|parameters=
+
{{Parameter table|name=text|parameters=
 
{{Parameter row|environments|The environments variable from “ModuleTestSubject” module}}
 
{{Parameter row|environments|The environments variable from “ModuleTestSubject” module}}
{{Parameter row|staging|The <tt>useStaging</tt> variable (<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|The <tt>useEvent</tt> variable (<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>)}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Latest revision as of 13:26, 3 May 2019

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