Template:AltCalCode/doc

From English Wikipedia @ Freddythechick

This is the current revision of this page, as edited by imported>SamuelRiv at 05:22, 9 July 2022 (fx cats). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

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

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

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}}.