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 !

Aucun résumé des modifications
Vivian (discussion | contributions)
m 7 jours pour voter puis clore le 8ème jour
 
(4 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly><!--Pour semantics, quand ça peut pas être affiché dans la page--><div style="display:none;">[[Vote::{{FULLPAGENAME}}]][[VotePour::{{{Pour}}}]][[VoteContre::{{{Contre}}}]][[VoteNeutre::{{{Neutre}}}]][[VoteType::{{uc:{{#regex:{{{Question}}}|/(vote{{!}}(?:é{{!}}É)lection{{!}}sondage)/i}}}}]][[VoteSign::{{Sign2Username|{{{Signature}}}}}]]</div><!--
<includeonly><!--Pour semantics, quand ça peut pas être affiché dans la page--><div style="display:none;">[[Vote::{{FULLPAGENAME}}]][[VotePour::{{{Pour}}}]][[VoteDate::{{#time: m.d.Y|{{{Date}}}}}]][[VoteContre::{{{Contre}}}]][[VoteSign::{{Sign2Username|{{{Signature}}}}}]][[VoteAdminSign::{{Sign2Username|{{{Signature Admin}}}}}]][[VoteNeutre::{{{Neutre}}}]][[VoteType::{{uc:{{#regex:{{{Question}}}|/(vote{{!}}(?:é{{!}}É)lection{{!}}sondage)/i}}}}]]</div><!--
-->__NOEDITSECTION__<!--
-->__NOEDITSECTION__<!--
-->__NOTOC__<!--
-->__NOTOC__<!--
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 [[VoteDate::{{{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 | <div style="text-align: center;"><small>Proposition datée du {{{Date}}} (en principe, à clore le {{#time: d.m.Y|{{{Date}}} +8 days}}).</small></div></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>[[VotePrisEnCharge::{{{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 {{{Signature}}}</small>
{{#if:{{{Note de l'admin|}}} | <br /><br />''[[VoteAdminNote::{{{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 [[VoteAdminSign::{{{Signature Admin}}}]]</small></div>
<div style="text-align: right;"><small>Proposition clôturée par {{{Signature Admin}}}</small></div>
</div></div>
</div></div>
{{décompte des votes
{{décompte des votes

Dernière version du 6 novembre 2023 à 12:34

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.