Modèle:Gallery : Différence entre versions
Ligne 1 : | Ligne 1 : | ||
{{#switch:{{{style}}} | {{#switch:{{{style}}} | ||
|1= | |1= | ||
− | <div class="grid{{{MinCol|3}}}" style="display: grid; grid-template-columns: repeat(auto-fill, 170px); justify-content:left; grid-gap: 5px;"> | + | <div class="grid{{{MinCol|3}}}" style="display: grid; grid-template-columns: repeat(auto-fill, 170px); justify-content:left; grid-gap: 5px; justify-items: center;"> |
{{#fornumargs: number | {{#fornumargs: number | ||
| value | | value | ||
− | |{{#ifeq:{{#var:value}}|||<div | + | |{{#ifeq:{{#var:value}}|||<div style="padding:5px; border:1px solid black;">{{#var:value}}</div>}} |
}} | }} | ||
</div> | </div> |