Difference between revisions of "Template:Infobox/Part/antenna"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Line|Packet size|{{{packet size|2}}} Mit}} {{Infobox/Line|Packet interval|{{{packet interval<noinclude>|0.4</noinc...")
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Line|Packet size|{{{packet size|2}}}&nbsp;Mit}}
+
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Line|{{lang|en=Packet size|de=Paketgröße|hu=Csomagméret|ru=Размер пакета|ja=パケットサイズ|tr=Paket boyutu}}|{{{packet size|2}}}&nbsp;{{Dict|Mit}}}}
{{Infobox/Line|Packet interval|{{{packet interval<noinclude>|0.4</noinclude>}}}}}
+
{{Infobox/Line|{{lang|en=Transmission speed|de=Übertragungs&shy;geschwindig&shy;keit|hu=Átviteli sebesség|ru=Скорость передачи|ja=伝送速度|tr=Aktarım hızı}}|{{#expr: {{{packet size|2}}}/{{{packet interval<noinclude>|0.4</noinclude>}}} round 2}}&nbsp;{{Dict|Mit}}/{{Dict|s}}}}
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{#expr: {{{packet electricity<noinclude>|10</noinclude>}}} * {{{packet size|2}}}}}&nbsp;E/Mit}}<noinclude>}}
+
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|2=<abbr title="{{#expr: {{{packet electricity<noinclude>|10</noinclude>}}} / {{{packet interval<noinclude>|0.4</noinclude>}}} round 2}} {{Mark|echu}}/{{Dict|s}}">{{#expr: {{{packet electricity<noinclude>|10</noinclude>}}} / {{{packet size|2}}} round 2}}</abbr>&nbsp;{{Mark|echu}}/{{Dict|Mit}}}}<noinclude>}}
  
{{Tl|Infobox/Part}} module for [[antenna]]e. There needs to be a better representation for the packet interval, depending on the meaning. If it is the time between to packets the following formula should be used:
+
{{Tl|Infobox/Part}} module for [[antenna]]e. The transmission speed does not include the time to open and close the antenna.
{{Formula|math=\frac{1}{\Delta t} \cdot s|where=
 
* <math>\Delta t</math> is the interval in seconds
 
* <math>s</math> is the size of one packet
 
* This should result in <math>\frac{\text{Mits}}{\text{second}}</math>}}
 
This would be the formula for the template:
 
<pre>{{#expr: {{{packet interval<noinclude>|0.4</noinclude>}}}*{{{packet size|2}}}}}</pre>
 
  
{{Parameter Table|name=text|parameters=
+
{{Parameter table|name=text|parameters=
{{Parameter Row|packet size|The size of one packet in Mits.|2}}
+
{{Parameter row|packet size|The size of one packet in Mits.|2}}
{{Parameter Row|packet interval|The <tt>packetInterval</tt> value.}}
+
{{Parameter row|packet interval|The <tt>packetInterval</tt> value.}}
{{Parameter Row|packet electricity|Electricity consumption for each packet in E/packet. Does multiply the value by the packet size to show the electricity consumption per Mit.}}
+
{{Parameter row|packet electricity|Electricity consumption for each packet in E/packet. Does multiply the value by the packet size to show the electricity consumption per Mit.}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 20:15, 11 January 2019

Packet size 2 Mits
Transmission speed 5 Mits/s
Electricity required 5 ⚡/Mits

{{Infobox/Part}} module for antennae. The transmission speed does not include the time to open and close the antenna.

Name Optional Description Default
packet size Yes The size of one packet in Mits. 2
packet interval No The packetInterval value.
packet electricity No Electricity consumption for each packet in E/packet. Does multiply the value by the packet size to show the electricity consumption per Mit.