Template:Block: Difference between revisions
Hide Ports if no inputs or outputs are present
Nikitaivanov (talk | contribs) mNo edit summary |
(Hide Ports if no inputs or outputs are present) |
||
Line 9: | Line 9: | ||
|data3={{#if:{{{folder|}}}|{{ucfirst:{{{folder}}}}} | |data3={{#if:{{{folder|}}}|{{ucfirst:{{{folder}}}}} | ||
}} | }} | ||
|header4=Ports | |header4={{#if:{{{input1|}}} | ||
|Ports | |||
|{{#if:{{{output1|}}}|Ports}} | |||
}} | |||
|label4={{#if:{{{input1|}}}|Inputs}} | |label4={{#if:{{{input1|}}}|Inputs}} | ||
|data4={{ | |data4={{ | ||
Line 32: | Line 35: | ||
|input1={{Port|n}} | |input1={{Port|n}} | ||
|output1={{Port|n}} | |output1={{Port|n}} | ||
}} | |||
{{Block | |||
|title=Box | |||
|image=Box.png | |||
|type=n | |||
|collider=b | |||
|folder=Templates | |||
}} | }} | ||
</noinclude> | </noinclude> |