{{Cite Legislation NZ}} produces links to a variety of different legislation resources located on the NZLII site. Formatting is designed to be in compliance with the New Zealand Law Foundation Style Guide. NZLII has consolidated acts and secondary legislation and fetches data of these from the Parliamentary Counsel Office's legislation.govt.nz website.

Usage edit

The necessary value for the Link name parameter can be obtained from the NZLII URL (it consists of the initials of the short title, the year, and the number of the item in that year, so if you know this information you can compose the short name that way). As an example, for the Civil Defence Emergency Management Act 2002, for which the URL is http://www.nzlii.org/nz/legis/consol_act/cdema2002275/ the link name is "cdema2002275".

Consolidated Acts, bills, and historical bills
 {{Cite Legislation NZ|legislation_type=act|link_name=|legislation_title=|legislation_number=|clause=|clauses=}}
Where the clause parameter is supplied, a reference to that specific clause will be provided.
Where the clauses parameter is supplied, a reference to those multiple clauses will be provided.
Same argument structure for a bill or historical bill. Just change legislation_type to either bill or hist_bill, respectively.
Consolidated secondary legislation
 {{Cite Legislation NZ|legislation_type=secondary|link_name=|legislation_title=|legislation_number=|clause=|clauses=|secondary_type=}}
Where the clause parameter is supplied, a reference to that specific clause will be provided.
Where the clauses parameter is supplied, a reference to those multiple clauses will be provided.
If you have supplied either the clause or clauses parameters, you must pass a secondary_type parameter. This can be order, regulations, or rules. This ensures that the referencing of the clause uses the appropriate referencing style.
Repealed Acts

For repealed Acts, it works the same as consolidated Acts, except change act to repealed_act.

Revoked secondary legislation

For revoked secondary legislation, it works the same as consolidated secondary legislation, except change secondary to revoked_secondary.

Examples edit

Example Description Produces
{{Cite Legislation NZ|legislation_type=act|link_name=cdema2002275|legislation_title=Civil Defence Emergency Management Act 2002|legislation_number=2002 No 275}} Citing an Act. Same applies for a bill or historical bill. Just change legislation_type to either bill or hist_bill, respectively. Civil Defence Emergency Management Act 2002
{{Cite Legislation NZ|legislation_type=act|link_name=cdema2002275|legislation_title=Civil Defence Emergency Management Act 2002|legislation_number=2002 No 275|jurisdiction=true}} Citing an Act with jurisdiction shown. Same applies for a bill or historical bill. Just change legislation_type to either bill or hist_bill, respectively. Civil Defence Emergency Management Act 2002 (NZ)
{{Cite Legislation NZ|legislation_type=act|link_name=cdema2002275|legislation_title=Civil Defence Emergency Management Act 2002|clause=69(1A)(b)}} Citing a particular—singular—section in an Act. Just change legislation_type to either bill or hist_bill, respectively. Civil Defence Emergency Management Act 2002, s 69(1A)(b)
{{Cite Legislation NZ|legislation_type=act|link_name=cdema2002275|legislation_title=Civil Defence Emergency Management Act 2002|legislation_number=2002 No 275|clauses=69(1A)(b)}} Citing multiple particular sections in an Act. Civil Defence Emergency Management Act 2002, ss 69(1A)(b)
{{Cite Legislation NZ|legislation_type=secondary|link_name=aclr2022446|legislation_title=Accident Compensation (Earners’ Levy) Regulations 2022|legislation_number=SR 2022/30}} Citing a type of secondary legislation. Accident Compensation (Earners’ Levy) Regulations 2022
{{Cite Legislation NZ|legislation_type=secondary|link_name=aclr2022446|legislation_title=Accident Compensation (Earners’ Levy) Regulations 2022|legislation_number=SR 2022/30|clause=4(1)(a)|secondary_type=regulations}} Citing a specific clause in a type of secondary legislation. Accident Compensation (Earners’ Levy) Regulations 2022, reg 4(1)(a)
{{Cite Legislation NZ|legislation_type=secondary|link_name=aclr2022446|legislation_title=Accident Compensation (Earners’ Levy) Regulations 2022|legislation_number=SR 2022/30|clauses=4(1)(a) and 5|secondary_type=regulations}} Citing a multiple specific clauses in a type of secondary legislation. Accident Compensation (Earners’ Levy) Regulations 2022, regs 4(1)(a) and 5

See also edit