Difference between revisions of "Template:Infobox/Experiment"
From Kerbal Space Program Wiki
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';) |
(Make a proper infobox) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{{Infobox |
− | + | |name={{Dict/science|{{{name|{{BASEPAGENAME}}}}}}} | |
− | + | |file=none | |
− | {{Infobox/Line|Data scale|{{{data scale | + | |lines= |
− | {{Infobox/Line|Transmission efficiency|{{#expr: {{{efficiency | + | {{Infobox/Line|Value|{{{base value}}}|{{#ifeq: {{{base value}}}|{{#if: {{{maximum value|}}}|{{{maximum value}}}|{{{base value}}}}}||{{{maximum value}}}}}|type1=base|type2=maximum}} |
− | {{Infobox/Line|{{Infobox/Kerbal/bar|{{{efficiency | + | {{Infobox/Line|Data scale|{{{data scale}}}}} |
− | + | {{Infobox/Line|Transmission efficiency|{{#expr: {{{efficiency}}} * 100 round 1}} %}} | |
− | + | {{Infobox/Line|{{Infobox/Kerbal/bar|{{{efficiency}}}}}}} | |
− | + | }}</includeonly><noinclude> | |
− | + | {{Documentation}} | |
− | + | </noinclude> | |
− | |||
− | {{ | ||
− | |||
− | |||
− |
Latest revision as of 17:10, 21 September 2024
Crew Report | ||
Value | (base) | 10 |
(maximum) | 12 | |
Data scale | 1 | |
Transmission efficiency | 30 % | |
|
Infobox for science experiments like environmental sensors. This template does not support the enhancements generated by labs because those are specific for a lab.
Parameters
Name | Optional | Description | Default |
---|---|---|---|
name | Yes | Name of the experiment. Uses {{Dict/science}} for translating the science experiment. | {{BASEPAGENAME}} |
base value | No | Base value of the experiment. | |
maximum value | Yes | Maximum value of the experiment. Doesn't need to be set if the same as the base value. | Not set/Hidden |
data scale | No | Data scale of the experiment. | |
efficiency | No | Transmission efficiency value of the experiment given as a value between 0 and 1. |
The above documentation is transcluded from Template:Infobox/Experiment/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |