Template:Cite act

From blackwiki
Revision as of 16:28, 10 January 2019 by imported>Hecseur (Undid revision 875439320 by Raellerby (talk) Breaks the template when the title field is empty, please make sure to test changes in the sandbox for this template.)
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

Purpose

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

Syntax

Horizontal

{{cite act |type= |index= |date= |article= |article-type= |legislature= |title= |trans-title= |page= |url= |language=}}

Vertical

{{cite act 
| type = 
| index = 
| date = 
| article = 
| article-type = 
| title = 
| trans-title = 
| page = 
| url = 
| language =
}}

Examples

Custom wording

{{cite act
| url = http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN
| title = The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs
| legislature = The European Parliament & Council of the European Union
| date = 20 March 2000
| article = II
| article-type = Annex
| index = 2000/13/EC
| page = 29-42
| type = Directive
}}

will display as:

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive of 20 March 2000. p. 29-42. Unknown parameter |index= ignored (help); Unknown parameter |legislature= ignored (help); URL–wikilink conflict (help)


All main parameters specified, standard wording

{{cite act
| title = [[Autonomous Municipalities Act of 1991]]
| index = 81
| language = Spanish
| date = {{date|1991-08-30|mdy}}
| article = 1.006
| page = 29–42
| url = http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf
}}

will display as:

"Autonomous Municipalities Act of 1991". Article 1.006,[[:Template:Space]]Act of August 30, 1991 (PDF) (in Spanish). p. 29–42. Archived from the original (PDF) on 2017-02-15. Retrieved 2012-12-21. Unknown parameter |index= ignored (help); URL–wikilink conflict (help)


No article specified

{{cite act
| title = [[Autonomous Municipalities Act of 1991]]
| index = 81
| language = Spanish
| date = {{date|1991-08-30|mdy}}
| url = http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf
}}

will display as:

"Autonomous Municipalities Act of 1991". Act of August 30, 1991 (PDF) (in Spanish). Archived from the original (PDF) on 2017-02-15. Retrieved 2012-12-21. Unknown parameter |index= ignored (help)


No title specified

{{cite act
| index = 81
| language = Spanish
| date = {{date|1991-08-30|mdy}}
| url = http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf
}}

will display as:

Act of August 30, 1991 (PDF) (in Spanish). Unknown parameter |index= ignored (help)


Index, year, and URL only

{{cite act
| index = 81
| year = 1991
| url = http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf
}}

will display as:

Act of 1991 (PDF). Retrieved 2012-12-21. Unknown parameter |index= ignored (help)


With a translated title

{{Cite act
| title = Kuntalaki
| trans-title = The Local Government Act
| index = 410
| date = October 4, 2015
| article = 4
| url = http://www.finlex.fi/fi/laki/ajantasa/2015/20150410
| language = Finnish
}}

will display as:

"Kuntalaki" [The Local Government Act]. Article 4,[[:Template:Space]]Act of October 4, 2015 (in Finnish). Unknown parameter |index= ignored (help); URL–wikilink conflict (help)


Parameters

This template allows the easy citing of legislation.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

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.

Default
Act
Stringsuggested
Indexindex number

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.

Stringsuggested
Datedate year

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.

Daterequired
Articlearticle

The path of articles leading to the cited article abbreviated; doesn't mentions section types such as chapter, section, article, etc.

Stringsuggested
Article typearticle-type

The type of the highest ranking article in the article path. Only appears if the Article parameter is set to something.

Default
Article
Stringoptional
Legislaturelegislature

The legislature that passed the cited act or article.

Stringsuggested
Nametitle

A unique given name of the specific cited act or article

Stringoptional
Translated nametrans-title

A translated title of the name. For non-English acts.

Stringoptional
Pagepages page

Page number or range.

Stringoptional
URLurl

URL where the legislation may be found.

Stringoptional
Languagelanguage

The language the act or article is written in.

Stringoptional
Other date formatodf

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.

Default
empty
Stringoptional