« Vote » : différence entre les versions
sur le Dico des Ados : ton dictionnaire collaboratif, libre et gratuit !
HTML5 compliance |
m 7 jours pour voter puis clore le 8ème jour |
||
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 | <div style="text-align: center;"><small>Proposition datée du {{{Date}}} (en principe, à clore le {{#time: d.m.Y|{{{Date}}} + | {{#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;"> |
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.