See this example properly formatted in the QUT Cite tool.
Standard in-text citation examples are in Getting started - In-text citation.
Title (Jurisdiction). Year.
Building Industry Act (Cth). 1985.
In-text citation: Use section numbers within the Act rather than page numbers e.g. (Personal Injuries Proceedings Act (Qld) 2002 s. 2). If two sections are being referred to, separate them with a comma: (Personal Injuries Proceedings Act (Qld) 2002 ss. 2, 54).
Include an abbreviation for the jurisdiction after the title i.e. Cth for Commonwealth/Australian, Qld for Queensland, etc.
Legislation consulted online are cited as if in print, therefore a URL is not required.