Différences entre les versions de « Modèle:Infobox Élection/Jugement »

De Nations.fr
(Page créée avec « <includeonly> <!-- Conteneur --> <div style="width:{{{largeur|260}}}px; border:1px solid #ddd; border-radius:9999px; overflow:hidden; background:#f5f5f5; line-height:0;">… »)
 
m
 
(12 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
<!-- Conteneur -->
<div style="margin:2px 0;">
<div style="width:{{{largeur|260}}}px; border:1px solid #ddd; border-radius:9999px; overflow:hidden; background:#f5f5f5; line-height:0;">
  <div style="width:{{{largeur|200}}}px; border:1px solid #ddd; border-radius:0px; overflow:hidden; background:#f5f5f5; line-height:0;">
  <!-- Excellent -->
 
  <div style="float:left; width:{{{excellent|0}}}%; height:{{{hauteur|14}}}px; background:{{{couleur_excellent|#2e7d32}}};"
    <div style="float:left; width:{{{excellent|0}}}%; height:{{{hauteur|12}}}px; background:#2e7d32;" title="Excellent : {{{excellent|0}}}%"></div>
      title="Excellent : {{{excellent|0}}}%"></div>
    <div style="float:left; width:{{{tres_bien|0}}}%; height:{{{hauteur|12}}}px; background:#43a047;" title="Très bien : {{{tres_bien|0}}}%"></div>
  <!-- Très bien -->
    <div style="float:left; width:{{{bien|0}}}%; height:{{{hauteur|12}}}px; background:#66bb6a;" title="Bien : {{{bien|0}}}%"></div>
  <div style="float:left; width:{{{tres_bien|0}}}%; height:{{{hauteur|14}}}px; background:{{{couleur_tres_bien|#43a047}}};"
    <div style="float:left; width:{{{assez_bien|0}}}%; height:{{{hauteur|12}}}px; background:#ffd166;" title="Assez bien : {{{assez_bien|0}}}%"></div>
      title="Très bien : {{{tres_bien|0}}}%"></div>
    <div style="float:left; width:{{{passable|0}}}%; height:{{{hauteur|12}}}px; background:#f4a261;" title="Passable : {{{passable|0}}}%"></div>
  <!-- Bien -->
    <div style="float:left; width:{{{insuffisant|0}}}%; height:{{{hauteur|12}}}px; background:#e76f51;" title="Insuffisant : {{{insuffisant|0}}}%"></div>
  <div style="float:left; width:{{{bien|0}}}%; height:{{{hauteur|14}}}px; background:{{{couleur_bien|#66bb6a}}};"
    <div style="float:left; width:{{{a_rejeter|0}}}%; height:{{{hauteur|12}}}px; background:#d62828;" title="À rejeter : {{{a_rejeter|0}}}%"></div>
      title="Bien : {{{bien|0}}}%"></div>
 
  <!-- Assez bien -->
    <div style="clear:both;"></div>
  <div style="float:left; width:{{{assez_bien|0}}}%; height:{{{hauteur|14}}}px; background:{{{couleur_assez_bien|#ffd166}}};"
  </div>
      title="Assez bien : {{{assez_bien|0}}}%"></div>
  <!-- Passable -->
  <div style="float:left; width:{{{passable|0}}}%; height:{{{hauteur|14}}}px; background:{{{couleur_passable|#f4a261}}};"
      title="Passable : {{{passable|0}}}%"></div>
  <!-- Insuffisant -->
  <div style="float:left; width:{{{insuffisant|0}}}%; height:{{{hauteur|14}}}px; background:{{{couleur_insuffisant|#e76f51}}};"
      title="Insuffisant : {{{insuffisant|0}}}%"></div>
  <!-- À rejeter -->
  <div style="float:left; width:{{{a_rejeter|0}}}%; height:{{{hauteur|14}}}px; background:{{{couleur_a_rejeter|#d62828}}};"
      title="À rejeter : {{{a_rejeter|0}}}%"></div>
  <div style="clear:both;"></div>
</div>
</div>
|}}
</includeonly>
</includeonly>
<noinclude>
<pre>
|jugement={{Infobox Élection/Jugement | excellent = 25 | tres_bien = 25 | bien = 15 | assez_bien = 15 | passable = 10 | insuffisant = 5 | a_rejeter = 5}}
</pre>
</noinclude>

Version actuelle datée du 31 août 2025 à 21:57


|jugement={{Infobox Élection/Jugement | excellent = 25 | tres_bien = 25 | bien = 15 | assez_bien = 15 | passable = 10 | insuffisant = 5 | a_rejeter = 5}}