Difference between revisions of "Template:Connection panel"
From Official Barotrauma Wiki
m |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{doc}}[[Category:Templates]] | {{doc}}[[Category:Templates]] | ||
− | <onlyinclude><includeonly>{| class="connectionpanel" | + | <onlyinclude><includeonly>{| class="connectionpanel" style="height: 0px" |
− | ! style="padding: 0px 0px 10px 0px; text-shadow: 1px 1px #000000"|[[Wiring|Connection Panel]] for '''{{{ | + | ! style="padding: 0px 0px 10px 0px; text-shadow: 1px 1px #000000"|[[Wiring|Connection Panel]] for '''{{{panelfor|{{PAGENAME}}}}}'''<br><small>''Hover over pins to see their descriptions.''</small> |
− | |- {{#vardefine:height|{{#expr: | + | |- {{#vardefine:height|{{#expr:28 |
+ | +{{#if:{{{output1|}}}{{{input1|}}}|60|0}} | ||
+ | +{{#if:{{{output2|}}}{{{input2|}}}|60|0}} | ||
+ | +{{#if:{{{output3|}}}{{{input3|}}}|60|0}} | ||
+ | +{{#if:{{{output4|}}}{{{input4|}}}|60|0}} | ||
+ | +{{#if:{{{output5|}}}{{{input5|}}}|60|0}} | ||
+ | +{{#if:{{{output6|}}}{{{input6|}}}|60|0}} | ||
+ | +{{#if:{{{output7|}}}{{{input7|}}}|60|0}} | ||
+ | +{{#if:{{{output8|}}}{{{input8|}}}|60|0}} | ||
+ | +{{#if:{{{output9|}}}{{{input9|}}}|60|0}} | ||
+ | +{{#if:{{{output10|}}}{{{input10|}}}|60|0}} | ||
+ | +{{#if:{{{output11|}}}{{{input11|}}}|60|0}}}}}} | ||
| style="position:relative; width:370px; height:{{#var:height}}px" | | | style="position:relative; width:370px; height:{{#var:height}}px" | | ||
{| class="connectionpanel-table1" | {| class="connectionpanel-table1" | ||
− | {{#if:{{{input1|}}}|{{Connection_panel/IO|input|{{{input1}}}|{{{input1color|red}}}}} | + | {{#if:{{{input1|}}}|{{Connection_panel/IO|input|{{{input1}}}|{{{input1color|{{#ifeq:{{{input1}}}|power_in|red|blue}}}}}}} |
{{#if:{{{input2|}}}|{{!}}- | {{#if:{{{input2|}}}|{{!}}- | ||
{{!}} colspan="3" style="height:10px" {{!}} | {{!}} colspan="3" style="height:10px" {{!}} | ||
Line 91: | Line 102: | ||
|} | |} | ||
{| class="connectionpanel-table3" | {| class="connectionpanel-table3" | ||
− | {{#if:{{{output1|}}}|{{Connection_panel/IO|output|{{{output1}}}|{{{output1color|red}}}}} | + | {{#if:{{{output1|}}}|{{Connection_panel/IO|output|{{{output1}}}|{{{output1color|{{#ifeq:{{{output1}}}|power_out|red|blue}}}}}}} |
{{#if:{{{output2|}}}|{{!}}- | {{#if:{{{output2|}}}|{{!}}- | ||
{{!}} colspan="3" style="height:10px" {{!}} | {{!}} colspan="3" style="height:10px" {{!}} |
Latest revision as of 02:20, 1 July 2022
Connection Panel for Connection panel Hover over pins to see their descriptions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The above documentation is transcluded from Template:Connection panel/doc. (edit | history)