This is a documentation subpage for Template:Legifrance/base-decode. It may contain usage information, categories and other content that is not part of the original template page. |
Returns the fully expanded name for a Légifrance code base, in English or French, given the base code, such as 'Penal code' for 'CP'.
Usage
edit{{Legifrance/base-decode|base}}
{{Legifrance/base-decode|base|fr}}
{{Legifrance/base-decode|base=base|lang=fr}}
Parameters
editThere is one required parameter, and one optional parameter:
|1=
a base code, as specified in the table at Legifrance databases and 'base' values. Examples:CP
,CPP
,CT
,CGCT
. Alias:|base=
.|2=
language code e.g.,en
orfr
. Default =en
. Alias:|lang=
.
Examples
edit{{Legifrance/base-decode|CAVIAL}}
→ Civil aviation code{{Legifrance/base-decode|CAVIAL|fr}}
→ Code de l'aviation civile (leg.){{Legifrance/base-decode|CP}}
→ Penal code{{Legifrance/base-decode|base=CP}}
→ Penal code{{Legifrance/base-decode|CPP}}
→ Criminal procedure code{{Legifrance/base-decode|CT}}
→ Labor code{{Legifrance/base-decode|base=CT|lang=fr}}
→ Code du travail{{Legifrance/base-decode|base=FOO}}
→
Database codes
editThe following table shows the valid values of the |base=
parameter. Passing an invalid value will return the empty string.
Law database to search | Detail | 'base' value | Example |
---|---|---|---|
Journal officiel de la République française | by NOR number (alphabetic + numeric) | JORF | CSCL0508635S |
by JORF id number (numeric; often with many zeroes) | JORFID | 000000476688 | |
Code de l'action sociale et des familles Social action and family code |
Legislative part | CACTSOCL | |
Code de l'aviation civile
Civil aviation code |
Legislative part | CAVIAL | |
decrees by the Conseil d'État | CAVIAR | ||
Simple decrees part | CAVIAD | ||
Code civil Civil code | CC | 9-1 1137 | |
Code de commerce Commercial code | CCOM | L121-4 L420-2 | |
Code de la consommation
Consumer code |
Legislative part | CONSO | |
decrees of the Conseil d'État | CONSO(R) | ||
Simple decrees part | CONSO(D) | ||
Code de la construction et de l'habitation
Construction and housing code |
Legislative part | CCONSTRL | |
Regulatory part - décrets en Conseil d'État | CCONSTRR | ||
Code de la défense
Defense code |
Legislative part | CDEF | |
Regulatory part | CDEF(R) | ||
Code de l'éducation
Education code |
Legislative part | CEDU | L111-1 L312-9-2 D112-1 R633-24 |
Regulatory part | CEDU(R) | ||
Code de l'entrée et du séjour des étrangers et du droit d'asile Entry, foreign residence, and right of asylum code |
Legislative part | CESEDA(L) | |
Regulatory part | CESEDA(R) | ||
Code de l'environnement
Environment code |
Legislative part | CE | |
Regulatory part | CE(R) | ||
Code électoral
Electoral code |
Legislative part | CELE | |
Regulatory part | CELE(R) | ||
Code général des collectivités territoriales
General code of Territorial Authorities code |
Legislative part | CGCT | LO1114-1 |
Regulatory part | CGCT(R) | ||
Code général des impôts General tax code | CGI | ||
Code général de la propriété des personnes publiques General code of public property |
CGPPP | ||
Code des juridictions financières
Financial jurisdiction code |
Legislative part | CJF(L) | |
Regulatory part | CJF(R) | ||
Code de justice administrative
Administrative justice code |
Legislative part | CJA | L113-1 L213-5 D222-33 R222-30 |
Regulatory part | CJA(R) | ||
Code monétaire et financier
Monetary and financial code |
Legislative part | CMONFIL | |
Regulatory part | CMONFIR | ||
Code de l'organisation judiciaire
Judicial Organization code |
new Legislative part | COJ | L211-9 |
Legislative part | COJ(L) | ||
Regulatory part | COJ(R) | ||
Code du patrimoine Heritage code | CPAT | ||
Code pénal Penal code | Legislative part | CP | 121-3 |
Regulatory part | CP(R) | ||
Code pénal (ancien) Penal code of 1810 | CP1810 | ||
Code pénitentiaire Penitentiary code | CPEN | L3 L112-1 D112-1 | |
Code des postes et des communications électroniques Post and electronic communications code |
Legislative part | CPOSTESL | |
Regulatory part | CPOSTESR | ||
Code de procédure civile
Civil procedure code |
NCPC | 4 1136-1 1568 | |
Code de procédure civile (ancien)
Civil procedure code (old) |
CPC | ||
Code de procédure pénale
Criminal procedure code |
Legislative part | CPP | 62-2 75 to 78 |
Regulatory part | CPP(R) | ||
Simple decrees part | CPP(D) | ||
partie arrêtés | CPP(A) | ||
Code de la propriété intellectuelle
Intellectual property code |
Legislative part | CPROINTL | |
Regulatory part | CPROINTR | ||
Code de la route
Highway code |
new Legislative part | CRO | |
Legislative part | CROUTEL | ||
new regulatory part | CRO(M) | ||
Regulatory part | CROUTER | ||
Code rural et de la pêche maritime
Rural and maritime fisheries code |
Legislative part | CR | |
Regulatory part | CR(R) | ||
Code de la santé publique
Public health code |
new legislative part | CSP | |
Legislative part | CSP(L) | ||
Regulatory part | CSP(R) | ||
nouvelle Regulatory part | CSP(NR) | ||
Code de la Sécurité sociale
Social security code |
Legislative part | CSS(L) | |
Simple decrees part | CSS(D) | ||
Regulatory part | CSS(R) | ||
Code du sport
Sports code |
Legislative part | CSPORTPL | |
Regulatory part | CSPORTPR | ||
partie arrêtés | CSPORTPA | ||
Code du travail
Labor code |
new legislative part from 1 May 2008 | CT(NL) | |
Legislative part | CT | L5429-2 D2122-6 R7343-16 | |
Regulatory part | CT(R) | ||
Simple decrees part | CT(D) | ||
Code des transports
Transport code |
CTRANSP | L1000-2 D1112-1 R1112-11 | |
Code de l'urbanisme
Urban planning code |
Legislative part | URBA(L) | |
Regulatory part | URBA(R) | ||
Code de la voirie routière
Roads and highways code |
Legislative part | CVOIRIEL | |
Regulatory part | CVOIRIER | ||
Livre des procédures fiscales
Tax procedure book |
Legislative part | CGLIVP | |
Regulatory part | CGLIVPFM | ||
partie arrêtés | CGLIVPFA |
Other codes
editThe following codes are not yet covered:
- Code de la sécurité intérieure (2012)
- Code des relations entre le public et l'administration (2016)
- Code des procédures civiles d'exécution (2012)
- Code de la justice pénale des mineurs (2021)
- Code des impositions sur les biens et services (2022)
- Code général de la fonction publique (2022)
- Code forestier (nouveau) (2012)
- Code de l'énergie (2011)
- Code de la commande publique (2019)
See also
edit{{Legifrance}}
{{Legifrance/derive-url}}
{{Legifrance/CT}}