« Modèle:Affaire » : différence entre les versions
Apparence
Nouvelles catégories |
Propos d'élus et accueil |
||
| (Une version intermédiaire par le même utilisateur non affichée) | |||
| Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=Affaires | {{#cargo_declare:_table=Affaires | ||
|Categorie=String | |Categorie=String | ||
|DateFaits=Date | |DateFaits=Date | ||
|Lieu=String | |Lieu=String | ||
| Ligne 7 : | Ligne 7 : | ||
|Institution=List (,) of Page | |Institution=List (,) of Page | ||
|Personnes=List (,) of Page | |Personnes=List (,) of Page | ||
|Citation=Text | |||
|Montant=Integer | |Montant=Integer | ||
|Decision=String | |Decision=String | ||
|Statut=String (allowed values=Condamnation définitive,Annulation ou censure,Rapport officiel,Procédure judiciaire en cours,Enquête en cours,Non-lieu ou relaxe,Révélation de presse) | |Statut=String (allowed values=Condamnation définitive,Annulation ou censure,Rapport officiel,Procédure judiciaire en cours,Enquête en cours,Non-lieu ou relaxe,Révélation de presse,Déclaration publique) | ||
|Resume=Wikitext | |Resume=Wikitext | ||
|Sources=List (;) of URL | |Sources=List (;) of URL | ||
| Ligne 22 : | Ligne 23 : | ||
|Institution={{{Institution|}}} | |Institution={{{Institution|}}} | ||
|Personnes={{{Personnes|}}} | |Personnes={{{Personnes|}}} | ||
|Citation={{{Citation|}}} | |||
|Montant={{{Montant|}}} | |Montant={{{Montant|}}} | ||
|Decision={{{Decision|}}} | |Decision={{{Decision|}}} | ||
| Ligne 28 : | Ligne 30 : | ||
|Sources={{{Sources|}}} | |Sources={{{Sources|}}} | ||
|Verifie={{{Verifie|Non}}} | |Verifie={{{Verifie|Non}}} | ||
}}{{#default_form:Affaire}}{{#ifeq:{{{Verifie|Non}}}|Oui||<div style="border:1px solid #d33;background:#fee7e6;padding:.5em 1em;margin-bottom:1em">'''Fiche non vérifiée.''' Le contenu n'a pas encore été contrôlé par rapport aux sources | }}{{#default_form:Affaire}}{{#ifeq:{{{Verifie|Non}}}|Oui||<div style="border:1px solid #d33;background:#fee7e6;padding:.5em 1em;margin-bottom:1em">'''Fiche non vérifiée.''' Le contenu n'a pas encore été contrôlé par rapport aux sources.</div>}}{{#if:{{{Sources|}}}||<div style="border:1px solid #ac6600;background:#fef6e7;padding:.5em 1em;margin-bottom:1em">'''Aucune source renseignée.'''</div>}} | ||
{| class="wikitable" style="float:right;clear:right;width:22em;margin:0 0 1em 1em;font-size:90%" | {| class="wikitable" style="float:right;clear:right;width:22em;margin:0 0 1em 1em;font-size:90%" | ||
|+ {{PAGENAME}} | |+ {{PAGENAME}} | ||
| Ligne 59 : | Ligne 61 : | ||
| {{#arraymap:{{{Sources|}}}|;|@@|[@@]|<br />}} | | {{#arraymap:{{{Sources|}}}|;|@@|[@@]|<br />}} | ||
|} | |} | ||
{{#if:{{{Citation|}}}|<div style="font-size:135%;font-family:Georgia,serif;border-left:5px solid #c0392b;padding:.6em 1em;margin:0 0 1em;background:#f8f9fa">« {{{Citation}}} »<div style="font-size:70%;font-family:sans-serif;color:#54595d;margin-top:.4em">— {{#arraymap:{{{Personnes|}}}|,|@@|[[@@]]|, }}{{#if:{{{DateFaits|}}}|, {{#time:j F Y|{{{DateFaits}}}}}}}</div></div>}} | |||
{{{Resume|}}} | {{{Resume|}}} | ||
[[Catégorie:Affaires]][[Catégorie:{{{Categorie|Sans catégorie}}}]]</includeonly> | [[Catégorie:Affaires]][[Catégorie:{{{Categorie|Sans catégorie}}}]]</includeonly> | ||
Dernière version du 5 octobre 2026 à 21:25
Ce modèle définit la table « Affaires ». Afficher la table. Fiche d'une affaire. Se remplit avec Formulaire:Affaire.