@User here the other approach. In this case you define your symbol type as 'subcircuit' so you can descend into a schematic, in the symbol sub-schematic add only the I/O pins as shown, then without selecting anything in the schematic view press 'q' and write or load the netlist for it...