Modèle:Équipements/Améliorations : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 1 : | Ligne 1 : | ||
− | <div style=" | + | <div style="overflow: auto;"> |
− | <div style=" | + | <div style="display: grid; grid-template-columns: max-content repeat({{#expr:{{{Up|9}}}}}, minmax(80px, 1fr)); grid-auto-rows: auto 35px 35px 35px 35px; gap: 2px;"> |
− | + | <div class="fondfenetre" style="border: 1px black solid; padding: 0 1px;">Amélioration</div> | |
− | <div class="fondfenetre" style=" | ||
{{#loop: tortue | {{#loop: tortue | ||
|1 | |1 | ||
|{{#expr:{{{Up|9}}}}} | |{{#expr:{{{Up|9}}}}} | ||
− | |<div class="fondfenetre" style=" | + | |<div class="fondfenetre" style="border: 1px black solid;">+{{#var:tortue}}</div> |
}} | }} | ||
− | <div style="display: flex; border: 1px solid black | + | <div style="display: flex; align-items: center; justify-content: center; border: 1px solid black; font-weight: bold;">[[Yangs]] [[Image:Yang1.png|link=Yangs]]</div> |
− | |||
− | </div> | ||
{{#loop: tortue | {{#loop: tortue | ||
|1 | |1 | ||
|{{#expr:{{{Up|9}}}}} | |{{#expr:{{{Up|9}}}}} | ||
− | |<div style="display: flex; border: 1px solid black | + | |<div style="display: flex; align-items: center; justify-content: center; border: 1px solid black;">{{{{{#var:tortue}}|0}}}</div> |
− | |||
− | |||
}} | }} | ||
{{#forargs: Objet | {{#forargs: Objet | ||
Ligne 22 : | Ligne 17 : | ||
| value | | value | ||
| | | | ||
− | <div id="soulignement" style="display: flex; border: 1px solid black | + | <div id="soulignement" style="display: flex; align-items: center; justify-content: center; border: 1px solid black; font-weight: bold;">Objet {{#var:key}}</div> |
− | |||
− | </div> | ||
{{#loop: tortue | {{#loop: tortue | ||
|1 | |1 | ||
|{{#expr:{{{Up|9}}}}} | |{{#expr:{{{Up|9}}}}} | ||
− | |<div style="display: flex; border: 1px solid black; width: 100%; height: 35px | + | |<div style="display: flex; align-items: center; justify-content: center; border: 1px solid black; width: 100%; height: 35px;">{{{{{#expr:{{{Up|9}}}+{{#var:tortue}}+({{#var:key}}-1)*({{{Up|9}}})}}|}}}</div> |
− | |||
− | |||
}} | }} | ||
}} | }} | ||
− | |||
</div> | </div> | ||
</div> | </div> | ||
<noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> | <noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> |