Les mots en bleu sont déjà définis. Clique sur ceux en orange pour les ajouter au Dico.

Modèle

« Vote » : différence entre les versions

sur le Dico des Ados : ton dictionnaire collaboratif, libre et gratuit !

Boulet Multi interunivers
Aucun résumé des modifications
Ligne 5 : Ligne 5 :
<div style="width: 75%; background-color: #F9FCFF; border: 3px solid #269dc4; padding: 10px; margin:0 auto 8px;">
<div style="width: 75%; background-color: #F9FCFF; border: 3px solid #269dc4; padding: 10px; margin:0 auto 8px;">
<div style="text-align: center; padding: 0.3em 0; color:white; background-color: #34495e;font-size:150%;">[[VoteQuestion::{{{Question}}}]]</div>
<div style="text-align: center; padding: 0.3em 0; color:white; background-color: #34495e;font-size:150%;">[[VoteQuestion::{{{Question}}}]]</div>
{{#ifeq: {{{Pris en charge|}}} | non | <center><small>Proposition datée du {{{Date}}} (en principe, à clore le {{#time: d.m.Y|{{{Date}}} +7 days}}).</small></center></div> [[Catégorie:Vote en cours]]  
{{#ifeq: {{{Pris en charge|}}} | non | <center><small>Proposition datée du [[VoteDate::{{{Date}}}]] (en principe, à clore le {{#time: d.m.Y|{{{Date}}} +7 days}}).</small></center></div> [[Catégorie:Vote en cours]]  
|
|
<br /><div style="width: 90%; border: 4px dotted #34495e; margin: auto; padding: 10px;">
<br /><div style="width: 90%; border: 4px dotted #34495e; margin: auto; padding: 10px;">
<i class="fad fa-{{#switch:{{{Pris en charge}}} | attendre=hourglass-half | rejeté=vote-nay | abandonné=times-octagon | vote-yea}} fa-fw fa-5x fa-pull-left" style="--fa-secondary-color:#008CBA;" aria-hidden="true"></i>'''Le vote est clos : <big>{{{Pris en charge}}}</big>''' <br /><small>proposition émise par {{{Signature}}}</small>
<i class="fad fa-{{#switch:{{{Pris en charge}}} | attendre=hourglass-half | rejeté=vote-nay | abandonné=times-octagon | vote-yea}} fa-fw fa-5x fa-pull-left" style="--fa-secondary-color:#008CBA;" aria-hidden="true"></i>'''Le vote est clos : <big>[[VotePrisEnCharge::{{{Pris en charge}}}]]</big>''' <br /><small>proposition émise par [[VoteSign::{{{Signature}}}]]</small>
{{#if:{{{Note de l'admin|}}} | <br /><br />''{{{Note de l'admin}}}'' | }}
{{#if:{{{Note de l'admin|}}} | <br /><br />''[[VoteAdminNote::{{{Note de l'admin}}}]]'' | }}
<div style="text-align: right;"><small>Proposition clôturée par {{{Signature Admin}}}</small></div>
<div style="text-align: right;"><small>Proposition clôturée par [[VoteAdminSign::{{{Signature Admin}}}]]</small></div>
</div></div>
</div></div>
{{décompte des votes
{{décompte des votes
|pour={{#if:{{{Pour|}}}|{{{Pour}}}|0}}
|pour={{#if:{{{Pour|}}}|[[VotePours::{{{Pour}}}]]|0}}
|contre={{#if:{{{Contre|}}}|{{{Contre}}}|0}}
|contre={{#if:{{{Contre|}}}|[[VoteContres::{{{Contre}}}]]|0}}
|neutre={{#if:{{{Neutre|}}}|{{{Neutre}}}|0}}
|neutre={{#if:{{{Neutre|}}}|[[VoteNeutres::{{{Neutre}}}|0}}
}}  
}}  
__TOC__ }}
__TOC__ }}
Ligne 23 : Ligne 23 :


== Argumentation ==
== Argumentation ==
{{{Motif}}}
[[VoteMotif::{{{Motif}}}]]
{{{Signature}}}
{{{Signature}}}



Version du 10 juillet 2020 à 10:54

Modèle servant de base pour les votes.

Possibilité d’ajouter à la main un paramètre Limite au modèle pour modifier la durée (en jours) du vote.