Template:Cite act/doc

Purpose
This template allows for the easy citing and linking to of acts.

Custom wording
will display as:

All main parameters specified, standard wording
will display as:

No article specified
will display as:

No title specified
will display as:

Index, year, and URL only
will display as:

With a translated title
will display as:

Parameters
{ "params": { "title": { "label": "Name", "description": "A unique given name of the specific cited act or article", "type": "string" }, "trans-title": { "label": "Translated name", "description": "A translated title of the name. For non-English acts.", "type": "string" }, "type": { "label": "Type", "description": "The type of act cited, to be used if the legislation isn't called an act, such as in bills. When citing a specific section, use the name of that specific section, be it Directive, Clause, Article, etc.", "type": "string", "default": "Act", "suggested": true }, "index": { "label": "Index", "description": "The index of the Type parameter. For when citing specific sections, this is the specific index of that section, and so if you're specifically citing clause A/500 - B, that'll be what is written in this field.", "type": "string", "suggested": true, "aliases": [ "number" ] }, "language": { "label": "Language", "description": "The language the act or article is written in.", "type": "string" }, "legislature": { "label": "Legislature", "description": "The legislature that passed the cited act or article.", "type": "string", "suggested": true }, "date": { "label": "Date", "description": "The date the legislation was passed, unless there's some other date or year that appears in the name of the act. Must be in DMY, MDY, MY or Y date format.", "type": "date", "aliases": [ "year" ], "required": true }, "article": { "label": "Article", "description": "The path of articles leading to the cited article abbreviated; doesn't mentions section types such as chapter, section, article, etc.", "type": "string", "suggested": true }, "article-type": { "label": "Article type", "description": "The type of the highest ranking article in the article path. Only appears if the Article parameter is set to something.", "type": "string", "default": "Article" }, "pages": { "label": "Page", "description": "Page number or range.", "aliases": [ "page" ], "type": "string" }, "url": { "label": "URL", "description": "URL where the legislation may be found.", "type": "string" }, "odf": { "label": "Other date format", "description": "set to 'yes' to override the formatting requirement for the Date parameter, allowing to use YMD. Use only in special cases when it is important to keep consistency in reference date formats AND there's no date associated with the law except the date it was passed.", "type": "string", "default": "empty" } }, "description": "This template allows the easy citing of legislation.", "paramOrder": [ "type", "index", "date", "article", "article-type", "legislature", "title", "trans-title", "pages", "url", "language", "odf" ], "format": "inline" }