« Utilisateur:Frigory/Théorie de l'expérience/Tempérament » : différence entre les versions

Contenu supprimé Contenu ajouté
Modèle pour présenter un tempérament
Balise : Éditeur de wikicode 2017
 
Possibilité de masquer les chiffres avec chiffres=non
Balise : Éditeur de wikicode 2017
 
Ligne 1 :
{| style="text-align: center;"
| style="width: 2em; color: blue; font-weight: bold;" | '''{{/C}}'''
| style="min-width: 9em;" | <div style="width: {{{C|6}}}em; height: 2px; background: blue; line-height: 1em;"></div>
{{#ifeq: {{{chiffres}}}|non|| {{!}} style="width: 2em;" |color: blue;" {{/C|!}} {{{C|6}}} }}
|-
| style="color: red; font-weight: bold; | D
| '''{{/D}}'''
| <div style="width: {{{D|6}}}em; height: 2px; background: red; line-height: 1em;"></div>
{{#ifeq: {{{chiffres}}}|non|| {{!}} style="width: 2em; color: red;" {{!}} {{{D|6}}} }}
| {{/D|{{{D}}}}}
|-
| style="color: green; font-weight: bold; | I
| '''{{/I}}'''
| <div style="width: {{{I|6}}}em; height: 2px; background: green; line-height: 1em;"></div>
{{#ifeq: {{{chiffres}}}|non|| {{!}} style="width: 2em; color: green;" {{!}} {{{I|6}}} }}
| {{/I|{{{I}}}}}
|-
| style="color: darkorange; font-weight: bold; | E
| '''{{/E}}'''
| <div style="width: {{{E|6}}}em; height: 2px; background: darkorange; line-height: 1em;"></div>
{{#ifeq: {{{chiffres}}}|non|| {{!}} style="width: 2em; color: darkorange;" {{!}} {{{E|6}}} }}
| {{/E|{{{E}}}}}
|}