Template:Cite Legislation NZ
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
{{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]This template produces links to a variety of different legislation resources located on the New Zealand Legal Information Institute (NZLII) site. Formatting is designed to be in compliance with the New Zealand Law Foundation Style Guide.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link name | link_name | Appears in the NZLII URL.
| String | required |
Legislation type | legislation_type enactment_type | Type of legislation being referenced. One of act, repealed_act, secondary, revoked_secondary, bill, hist_bill, hist_act.
| String | required |
Legislation title | legislation_title enactment_title | Title of legislation to be used in the citation.
| String | required |
Legislation number | legislation_number enactment_number | The number for the legislation you are referencing. Use this in the most appropriate format for the legislation being referenced.
| String | suggested |
Secondary legislation type | secondary_type secondary_legislation_type | Type of secondary legislation. Required if using pinpoint reference for secondary legislation: One of order, regulations, or rules.
| String | optional |
Pinpoint reference singular clause | clause | Pinpoint reference for a singular clause, only use this when referencing one clause.
| String | optional |
Pinpoint reference multiple clauses | clauses | Pinpoint reference for multiple clauses, only use this when referencing more than one clause.
| String | optional |
Show jurisdiction | jurisdiction | Whether to show the jurisdiction as (NZ) in the reference
| Boolean | optional |