Template:Connection panel: Difference between revisions
From Official Barotrauma Wiki
(New look) |
No edit summary |
||
Line 9: | Line 9: | ||
| style="width:20px;height:30px;margin:0;padding:0;" | {{#if:{{{input1|}}}|[[File:Connection Port.png]]|}} | | style="width:20px;height:30px;margin:0;padding:0;" | {{#if:{{{input1|}}}|[[File:Connection Port.png]]|}} | ||
| style="width:5px;height:30px;margin:0;padding:0;position:relative;" | | | style="width:5px;height:30px;margin:0;padding:0;position:relative;" | | ||
| style="width:95px;height:30px;margin:0;padding:0;" | <span style="background-color:black;">{{{input1|}}}</span> | | style="width:95px;height:30px;margin:0;padding:0;" | <span style="background-color:black;{{#ifeq:{{{input1|}}}|power_in|color:red;|}}">{{{input1|}}}</span> | ||
|- | |- | ||
| colspan="3" style="height:10px;" | | | colspan="3" style="height:10px;" | | ||
Line 69: | Line 69: | ||
{|style="position:absolute;top:20px;right:75px;height:20px;border:0;margin:0;padding:0;border-collapse:collapse;" | {|style="position:absolute;top:20px;right:75px;height:20px;border:0;margin:0;padding:0;border-collapse:collapse;" | ||
|- | |- | ||
| style="width:95px;height:30px;margin:0;padding:0;text-align:right;" | <span style="background-color:black;">{{{output1|}}}</span> | | style="width:95px;height:30px;margin:0;padding:0;text-align:right;" | <span style="background-color:black;{{#ifeq:{{{output1|}}}|power_out|color:red;|}}">{{{output1|}}}</span> | ||
| style="width:5px;height:30px;margin:0;padding:0;position:relative;" | | | style="width:5px;height:30px;margin:0;padding:0;position:relative;" | | ||
| style="width:20px;height:30px;margin:0;padding:0;" | {{#if:{{{output1|}}}|[[File:Connection Port.png]]|}} | | style="width:20px;height:30px;margin:0;padding:0;" | {{#if:{{{output1|}}}|[[File:Connection Port.png]]|}} |
Revision as of 20:33, 13 January 2020
Connection panel for this example | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|