Old flat in Melbourne, Australia. When i took out old fitting it had a red wire in joined to red out, a brown and a black one. One terminal had nothing. Have bought new fitting but it seems to be different. How do I know which one goes where?
Think I have done it!! Simple: Red into "L", Brown & Black - Live and Neutral. Does that seem right?
What you call brown is actually "white".
Likely black/red carries mains power. White/red is a leg down to the switch. L is Load. E is Earth. Your bulb should span from the black (neutral), to white (switched hot).
You can verify this all with an inexpensive non-contact voltage tester. See also https://diy.stackexchange.com/a/28019/5960
Warning I am not an Electrician and it is illegal in Australia to do your own electrical wiring.
Assuming this is the batten holder or light fitting.
The L Terminal stands for Loop it is not connected to anything it's purpose is to connect multiple wires together in this case the Active (Hot) wires.
The Terminals on the sides which had the Black and White/Brown? wires are the live terminals they can have either the Neutral or Active (Hot) wires and the last Terminal is the Earth Terminal.
The Colours of the wires would be as follows Black is the Neutral wire (sometimes Blue) Red is the Active or Hot wire (Sometimes Brown) and the White (brownish?) wire is the Switched Active (Hot).