Modèle:N : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 1 : | Ligne 1 : | ||
− | <div style="border: 1px black solid; padding: 5px; display: flex; justify-content: center; flex-direction: column; gap: 2px 0; {{#if:{{{bg|}}}|background-color: {{#switch:{{{bg}}} | + | <div style="border: 1px black solid; padding: 5px; display: flex; justify-content: center; flex-direction: column; gap: 2px 0; position: relative; {{#if:{{{bg|}}}|background-color: {{#switch:{{{bg}}} |
|green=rgba(0,150,50,0.1); | |green=rgba(0,150,50,0.1); | ||
|red=rgba(150,0,50,0.2); | |red=rgba(150,0,50,0.2); | ||
|transparent; | |transparent; | ||
}}}}"> | }}}}"> | ||
+ | {{#if:{{{num|}}}|<div style="position: absolute; top: 0; right: 0; padding: 2px; border: 1px black solid; margin: 5px; border-radius: 50%; width: 15px; height: 15px; line-height: 15px;">{{{num}}}</div>}} | ||
<div>[[Image:{{{1}}}.png]]</div> | <div>[[Image:{{{1}}}.png]]</div> | ||
<div class="texte-long">[[{{{2|{{{1}}}}}}|{{{nom|{{{2|{{{1}}}}}}}}}]] {{#if:{{{3|}}}|{{{3}}}}}</div> | <div class="texte-long">[[{{{2|{{{1}}}}}}|{{{nom|{{{2|{{{1}}}}}}}}}]] {{#if:{{{3|}}}|{{{3}}}}}</div> | ||
</div> | </div> |
Version du 20 juin 2022 à 17:29
[[Image:{{{1}}}.png]]
[[{{{1}}}|{{{1}}}]]