Template:Connection panel: Difference between revisions
From Official Barotrauma Wiki
("hover over pins to see their description": since it is shown above every connection panel, I'm including it in the template and will delete them from the wiring components page) |
Jade Harley (talk | contribs) m (Moved the "hover over" instruction text to the interior of the box.) |
||
Line 1: | Line 1: | ||
{| class="connectionpanel" style="float:{{{float|none}}};clear:{{{clear|none}}};" | {| class="connectionpanel" style="float:{{{float|none}}};clear:{{{clear|none}}};" | ||
|- | |- | ||
! style="padding: 0 0 10px 0"|<span style="text-shadow: 1px 1px #000000;">[[Connection Panels|Connection panel]] for '''{{{panelfor|{{PAGENAME}}}}}'''</span> | ! style="padding: 0 0 10px 0"|<span style="text-shadow: 1px 1px #000000;">[[Connection Panels|Connection panel]] for '''{{{panelfor|{{PAGENAME}}}}}'''<br><small>Hover over pins to see their descriptions.</small></span> | ||
|- | |- | ||
| style="position:relative;" | | | style="position:relative;" | | ||
Line 42: | Line 41: | ||
| style="width:95px;height:36px;margin:0;padding:0;" | {{#if:{{{input6|}}}|<div class="connectionpanel-{{#ifeq:{{{input6color}}}|red|red|blue}}label">{{{input6}}}</div>|}} | | style="width:95px;height:36px;margin:0;padding:0;" | {{#if:{{{input6|}}}|<div class="connectionpanel-{{#ifeq:{{{input6color}}}|red|red|blue}}label">{{{input6}}}</div>|}} | ||
|} | |} | ||
{|class="connectionpanel-table2" | {|class="connectionpanel-table2" | ||
|- | |- | ||
Line 67: | Line 65: | ||
| style="width:100%;height:36px;margin:0;padding:0;position:relative;" | {{#if:{{{input6tt|}}}|<div class="cp-hover" style="width:100%;height:100%;margin:0;padding:0;"></div><div class="cp-tooltip">{{{input6tt}}}</div>|}} | | style="width:100%;height:36px;margin:0;padding:0;position:relative;" | {{#if:{{{input6tt|}}}|<div class="cp-hover" style="width:100%;height:100%;margin:0;padding:0;"></div><div class="cp-tooltip">{{{input6tt}}}</div>|}} | ||
|} | |} | ||
{|class="connectionpanel-table3" | {|class="connectionpanel-table3" | ||
|- | |- | ||
Line 103: | Line 100: | ||
| style="width:5px;height:36px;margin:0;padding:0;position:relative;" | | | style="width:5px;height:36px;margin:0;padding:0;position:relative;" | | ||
| style="width:20px;height:36px;margin:0;padding:0;" | {{#if:{{{output6|}}}|[[File:Connection Port.png|36px]]|}} | | style="width:20px;height:36px;margin:0;padding:0;" | {{#if:{{{output6|}}}|[[File:Connection Port.png|36px]]|}} | ||
|} | |} | ||
{|class="connectionpanel-table4" | {|class="connectionpanel-table4" | ||
|- | |- | ||
Line 132: | Line 127: | ||
</div> | </div> | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
{{Connection panel | {{Connection panel | ||
Line 148: | Line 143: | ||
|input6 = Input 6 | |input6 = Input 6 | ||
|input6tt = Tooltip for input 6. | |input6tt = Tooltip for input 6. | ||
|output1 = Output 1 | |output1 = Output 1 | ||
|output1tt = Tooltip for output 1. | |output1tt = Tooltip for output 1. | ||
Line 162: | Line 156: | ||
|output6 = Output 6 | |output6 = Output 6 | ||
|output6tt = Tooltip for output 6. | |output6tt = Tooltip for output 6. | ||
|panelfor = this example | |panelfor = this example | ||
}} | }}</noinclude> | ||
</noinclude> |
Revision as of 22:33, 22 August 2021
Connection panel for Connection panel Hover over pins to see their descriptions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Connection panel for this example Hover over pins to see their descriptions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|