« Modèle:Affaire » : différence entre les versions
Apparence
Nouvelles catégories |
Compléments |
||
| (3 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=Affaires | {{#cargo_declare:_table=Affaires | ||
|Categorie=String ( | |Categorie=String | ||
|Dossier=List (,) of Page | |||
|DateFaits=Date | |DateFaits=Date | ||
|Lieu=String | |Lieu=String | ||
| Ligne 7 : | Ligne 8 : | ||
|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,Texte officiel) | ||
|Resume=Wikitext | |Resume=Wikitext | ||
|Sources=List (;) of URL | |Sources=List (;) of URL | ||
| Ligne 17 : | Ligne 19 : | ||
</noinclude><includeonly>{{#cargo_store:_table=Affaires | </noinclude><includeonly>{{#cargo_store:_table=Affaires | ||
|Categorie={{{Categorie|}}} | |Categorie={{{Categorie|}}} | ||
|Dossier={{{Dossier|}}} | |||
|DateFaits={{{DateFaits|}}} | |DateFaits={{{DateFaits|}}} | ||
|Lieu={{{Lieu|}}} | |Lieu={{{Lieu|}}} | ||
| Ligne 22 : | Ligne 25 : | ||
|Institution={{{Institution|}}} | |Institution={{{Institution|}}} | ||
|Personnes={{{Personnes|}}} | |Personnes={{{Personnes|}}} | ||
|Citation={{{Citation|}}} | |||
|Montant={{{Montant|}}} | |Montant={{{Montant|}}} | ||
|Decision={{{Decision|}}} | |Decision={{{Decision|}}} | ||
| Ligne 28 : | Ligne 32 : | ||
|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 34 : | Ligne 38 : | ||
! Catégorie | ! Catégorie | ||
| [[{{{Categorie|}}}]] | | [[{{{Categorie|}}}]] | ||
{{#if:{{{Dossier|}}}|{{!}}- | |||
! Dossier | |||
{{!}} {{#arraymap:{{{Dossier|}}}|,|@@|[[@@]]|, }}}} | |||
|- | |- | ||
! Date | ! Date | ||
| Ligne 59 : | Ligne 66 : | ||
| {{#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 6 octobre 2026 à 09:28
Ce modèle définit la table « Affaires ». Afficher la table. Fiche d'une affaire. Se remplit avec Formulaire:Affaire.