Template:Aus Legislation link
See this {{{1}}} with any revisions at legislation.gov.au.
Usage
[edit]This template creates a statement along with a link to a given document on the Federal Register of Legislation. It is intended for use within the notes= section of Template:Header to provide a link so that users may view the given Act, Legislative Instrument, Notifiable Instrument, gazette notice, Administrative Arrangement, or Prerogative Instrument or other document with any current revisions not in the original law.
The template has one parameter that specifies which official document it is.
The template automatically pulls the active URL from the property P2461 (ComLaw ID) which is part of the document's Wikidata page. For this template to work, the work needs to be linked on Wikidata, and the Wikidata page needs property P2461 filled out.
Example:
{{Aus Legislation link|Act}}
{{Aus Legislation link|Gazette Notice}}
See Copyright Act 1968 for a working example, as this template only functions on Wikidata-linked main work pages.