Template:AltCalCode/doc
Appearance
This is a documentation subpage for Template:AltCalCode. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template is a catch-all for all of the California Codes. This differs from the original {{CalCode}} by both allowing and requiring the code to be within the template, allowing more aesthetic links.
This template links to an external site, the California Legislative Information website. External links should not normally be used in the body of an article; see Wikipedia:External links for discussion of acceptable and unacceptable uses.
Note: To cite a code section without a subdivision, you must insert the last pipe |
in the template.
Examples
[edit]Usage | Output |
---|---|
{{AltCalCode|Cal. Corporations Code|CORP|17701.16|}}
|
Cal. Commercial Code § 17701.16 |
{{AltCalCode|Cal. Harbors and Navigation Code|HNC|4042|subd. (a)}}
|
Cal. Harbors and Navigation Code § 4042 |
Comparison to CalCode
[edit]Usage | Output |
---|---|
{{smallcaps|Cal. Corporations Code}} {{CalCode|CORP|17701.16|}}
|
Cal. Corporations Code § 17701.16 |
{{smallcaps|Cal. Harbors and Navigation Code}} {{CalCode|HNC|4042|subd. (a)}}
|
Cal. Harbors and Navigation Code § 4042 subd. (a) |
These templates are for citing California statutes and regulations. To cite court cases, use {{Cite court}}.
- California Codes
- Alternate method of citing California Codes
- California Constitution
- California Business & Professions Code
- California Code of Civil Procedure
- California Civil Code
- California Evidence Code
- California Government Code
- California Labor Code
- California Penal Code
- California Rules of Court