Template:Sfn Legifrance
Lorem ipsum.[1]
May be used to create a short citation to a French law or legal text indexed in Légifrance. The generated short citation links to a full citation generated by template {{Cite Legifrance}}.
Usage
Some fact.{{sfn Legifrance|base|number}}
Allegation.{{sfn Legifrance|base|number|text=display text}}
Assertion.{{sfn Legifrance|text=display text|url=url}}
.
.
.
== Works cited ==
{{Cite Legifrance}}
Parameters
Two parameters are required with each transclusion, but not always the same two. If params 1 and 2 are included, the others are optional. Alternatively, param |text=
and param |url=
may be used, in which case the first two are not needed. Basic parameter descriptions follow; param interactions are described in the Notes section.
|1=
– a shortcut token, indicating which portion ('base') of the Legifrance database applies; e.g.CP
for the penal code,JORF
for the Journal officiel,CC
for the Civil Code, and so on. Required. See § TemplateData for list of possible values, and § Param notes for a description of them.|2=
– article number in the given database; e.g,121-3
,1137
. Normally paired with the 'base' token.|3=
– display text: visible text underlying the wikilink to the article at Légifrance. May be used with '1' and '2' as an override; or may be paired with|url=
. Default: <base> 'art.' <number> (if they are both present). Alias:|text=
.|url=
– optional url of the Légifrance article to display. Omit this param when using '1' (base) and '2' (number), as the url value is calculated by the template as a function of base and number. However, if base and number are omitted,|url=
may be paired with '3' (text) to create a link to a Legifrance page. This is especially useful for grouping several related articles, or for particular sections of the Legifrance database (mostly recent) for which the 'base' + 'number' values fail to provide an accurate link..
Param notes
Typically, you should use a pair of params: either |1=
(the 'base' token) and |2=
(the 'number'), or |text=
and |url=
. Param |3=
(alias of |text=
) is a 'swing' parameter, because it may be combined either with |1=
and |2=
as an additional, optional parameter, or with |url=
using its alias name |text=
.
The following explains how to choose the value of the |number=
parameter:
{{#section:Template:Legifrance/doc|param-number}}
The following explains how to choose the value of |1=
(the 'base' token).
{{#section-h:Template:Legifrance/doc|Legifrance databases and 'base' values}}
Usage notes
{{#section-h:Template:Legifrance/doc|Usage notes}}
Alternatives to this template
To create a short citation to a Legifrance law or legal text, the recommended way is by using this {{Sfn Legifrance}} template. An alternative "brute force" method (not recommended) that creates a short citation without using this template is described below.
This example generates two short citations, each linking the "Legifrance" label to a full citation in the References section, but with the specific named laws named in the |loc=
parameter in unlinked plain text:
Mens rea{{sfn|Legifrance|loc=CP 121-3}} and police custody.{{sfn|Legifrance|loc=CPP 62-2}}
This can be improved by linking the named law as well, using {{Sfn Legifrance}}. The following method is equivalent to using {{Sfn Legifrance}}, and works by embedding the {{Legifrance}} template in the value of the |loc=
param:
Mens rea{{sfn|Legifrance|loc={{legifrance|base=CP|number=121-3}}} and police custody.{{sfn|Legifrance|loc={{legifrance|base=CPP|number=62-2}} }}
== Works cited ==
* {{cite web |author=République française |date=19 October 2022 |title=Légifrance Le service public de la diffusion du droit |publisher=Secrétariat général du gouvernement |url=https://www.legifrance.gouv.fr |ref={{harvid|Legifrance}} }}
Note the use of the |ref=
param in the {{cite web}} template whose {{harvid}} value matches param one of the {{sfn}}; this is required to establish linkage from the short footnote to the full citation, regardless whether {{legifrance}} is used or not. Establishing linkage using the |ref=
param in the citation is a standard feature of short footnotes; see the description of handling the "no author name" case.
See also
- {{cite Legifrance}} – generate a full citation to Légifrance
- {{Legifrance}} – generate an external link to a legal text
- {{Lien web}}
- {{cite web/French}}
- {{cite French law}}
References
- Notes
- Citations
- Works cited
République française; Secrétariat général du gouvernement (19 October 2022). "Légifrance Le service public de la diffusion du droit" [The public service for dissemination of the law]. Légifrance. Direction de l'information légale et administrative. ISSN 2270-8987. OCLC 867599055.
General references
The official French legalese definition of arrêté is in section 1.3 of Guide de légistique (3 ed.), La documentation Française, 2017, ISBN 978-2-11-145578-8 See also section 6 (Principales règles typographiques...), p. 695–701 in the pdf for everything you wanted to know about French legal citation numbering and formatting.
The basic layout of most French statutes is described in English at "Codes & Legislation". France: legal resources. Bodleian Libraries – University of Oxford. 2022-07-05.
TemplateData
TemplateData for Sfn Legifrance
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
base | 1 | base: Legislation Database name
| String | required |
number | 2 | Article number in the given code base
| String | required |
display text | 3 | Display text for the link to the article at Légifrance
| String | optional |
url | url | Override url to link the display text to the Légifrance article | String | optional |