Template:Connection panel: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
(45 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{doc}} | {{doc}}[[Category:Templates]] | ||
<onlyinclude><includeonly>{| class="connectionpanel" | <onlyinclude><includeonly>{| class="connectionpanel" style="height: 0px" | ||
! style="padding: | ! style="padding:0px 0px 10px 0px;text-shadow: 1px 1px #000000"|[[Wiring|Connection Panel]] for '''{{{1|{{PAGENAME}}}}}'''<br><small>''Hover over pins to see their descriptions.''</small> | ||
|- {{#vardefine: | |- {{#vardefine:height|{{#expr:0<!-- this is VERY ugly but it works --> | ||
| style="position:relative; width:370px; height | {{#if:{{{input1|}}}|{{#if:{{{output1|}}}|+30|+60}}}}{{#if:{{{output1|}}}|{{#if:{{{input1|}}}|+60|+30}}}} | ||
{{#if:{{{input2|}}}|{{#if:{{{output1|}}}|+30|+60}}}}{{#if:{{{output2|}}}|{{#if:{{{input2|}}}|+30|+60}}}} | |||
{{#if:{{{input3|}}}|{{#if:{{{output2|}}}|+30|+60}}}}{{#if:{{{output3|}}}|{{#if:{{{input3|}}}|+30|+60}}}} | |||
{{#if:{{{input4|}}}|{{#if:{{{output3|}}}|+30|+60}}}}{{#if:{{{output4|}}}|{{#if:{{{input4|}}}|+30|+60}}}} | |||
{{#if:{{{input5|}}}|{{#if:{{{output4|}}}|+30|+60}}}}{{#if:{{{output5|}}}|{{#if:{{{input5|}}}|+30|+60}}}} | |||
{{#if:{{{input6|}}}|{{#if:{{{output5|}}}|+30|+60}}}}{{#if:{{{output6|}}}|{{#if:{{{input6|}}}|+30|+60}}}} | |||
{{#if:{{{input7|}}}|{{#if:{{{output6|}}}|+30|+60}}}}{{#if:{{{output7|}}}|{{#if:{{{input7|}}}|+30|+60}}}} | |||
{{#if:{{{input8|}}}|{{#if:{{{output7|}}}|+30|+60}}}}{{#if:{{{output8|}}}|{{#if:{{{input8|}}}|+30|+60}}}} | |||
{{#if:{{{input9|}}}|{{#if:{{{output8|}}}|+30|+60}}}}{{#if:{{{output9|}}}|{{#if:{{{input9|}}}|+30|+60}}}} | |||
{{#if:{{{input10|}}}|{{#if:{{{output9|}}}|+30|+60}}}}{{#if:{{{output10|}}}|{{#if:{{{input10|}}}|+30|+60}}}} | |||
{{#if:{{{input11|}}}|{{#if:{{{output10|}}}|+30|+60}}}}{{#if:{{{output11|}}}|{{#if:{{{input11|}}}|+30|+60}}}}}}}} | |||
| 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 48: | Line 59: | ||
|} | |} | ||
{| class="connectionpanel-table2" | {| class="connectionpanel-table2" | ||
{{#if:{{{ | {{#if:{{{input1|}}}|{{Connection panel/TT|{{{input1tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input2|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input2tt|}}}}} | {{Connection panel/TT|{{{input2tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input3|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input3tt|}}}}} | {{Connection panel/TT|{{{input3tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input4|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input4tt|}}}}} | {{Connection panel/TT|{{{input4tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input5|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input5tt|}}}}} | {{Connection panel/TT|{{{input5tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input6|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input6tt|}}}}} | {{Connection panel/TT|{{{input6tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input7|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input7tt|}}}}} | {{Connection panel/TT|{{{input7tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input8|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input8tt|}}}}} | {{Connection panel/TT|{{{input8tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input9|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input9tt|}}}}} | {{Connection panel/TT|{{{input9tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input10|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input10tt|}}}}} | {{Connection panel/TT|{{{input10tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{input11|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{input11tt|}}}}}}}}}}}}}}}}}}}}}}}}}}} | {{Connection panel/TT|{{{input11tt|}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
|} | |} | ||
{| class="connectionpanel-table3" | {| class="connectionpanel-table3" {{#if:{{{input1|}}}||style="margin-top:0rem !important"}} | ||
{{#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" {{!}} | ||
Line 133: | Line 144: | ||
{{Connection_panel/IO|output|{{{output11}}}|{{{output11color|}}}}}}}}}}}}}}}}}}}}}}}}}}} | {{Connection_panel/IO|output|{{{output11}}}|{{{output11color|}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
|} | |} | ||
{| class="connectionpanel-table4" | {| class="connectionpanel-table4" {{#if:{{{input1|}}}||style="margin-top:0rem !important"}} | ||
{{#if:{{{ | {{#if:{{{output1|}}}|{{Connection panel/TT|{{{output1tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output2|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output2tt|}}}}} | {{Connection panel/TT|{{{output2tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output3|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output3tt|}}}}} | {{Connection panel/TT|{{{output3tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output4|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output4tt|}}}}} | {{Connection panel/TT|{{{output4tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output5|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output5tt|}}}}} | {{Connection panel/TT|{{{output5tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output6|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output6tt|}}}}} | {{Connection panel/TT|{{{output6tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output7|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output7tt|}}}}} | {{Connection panel/TT|{{{output7tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output8|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output8tt|}}}}} | {{Connection panel/TT|{{{output8tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output9|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output9tt|}}}}} | {{Connection panel/TT|{{{output9tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output10|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output10tt|}}}}} | {{Connection panel/TT|{{{output10tt|}}}}} | ||
{{#if:{{{ | {{#if:{{{output11|}}}|{{!}}- | ||
{{!}} style="height:10px" {{!}} | {{!}} style="height:10px" {{!}} | ||
{{!}}- | {{!}}- | ||
{{Connection panel/TT|{{{output11tt|}}}}}}}}}}}}}}}}}}}}}}}}}}} | {{Connection panel/TT|{{{output11tt|}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
|} | |} | ||
|- | |||
!style="padding:10px 10px 0px 0px"|''Requires: {{#if:{{{2|}}}|{{{2}}}|{{hl|Screwdriver|x16}}}}'' | |||
|}</includeonly></onlyinclude> | |}</includeonly></onlyinclude> |
Latest revision as of 02:09, 27 February 2023
Connection Panel for Connection panel Hover over pins to see their descriptions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Requires: Screwdriver |
The above documentation is transcluded from Template:Connection panel/doc. (edit | history)