Modèle:Équipements/Améliorations : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 2 : | Ligne 2 : | ||
<div style="display: grid; grid-template-columns: max-content repeat({{#expr:{{{Up|9}}}}}, minmax(80px, 1fr)); grid-auto-rows: auto 38px 38px 38px 38px; gap: 2px;"> | <div style="display: grid; grid-template-columns: max-content repeat({{#expr:{{{Up|9}}}}}, minmax(80px, 1fr)); grid-auto-rows: auto 38px 38px 38px 38px; gap: 2px;"> | ||
<div class="fondfenetre" style="border: 1px black solid; padding: 0 1px;">Amélioration</div> | <div class="fondfenetre" style="border: 1px black solid; padding: 0 1px;">Amélioration</div> | ||
+ | {{#ifeq: {{{Up|}}} | 5 | ||
+ | | | ||
+ | <div class="fondfenetre" style="border: 1px black solid;">+0 à +39</div> | ||
+ | <div class="fondfenetre" style="border: 1px black solid;">+40 à +79</div> | ||
+ | <div class="fondfenetre" style="border: 1px black solid;">+80 à +119</div> | ||
+ | <div class="fondfenetre" style="border: 1px black solid;">+120 à +159</div> | ||
+ | <div class="fondfenetre" style="border: 1px black solid;">+160 à +200</div> | ||
+ | | | ||
{{#loop: tortue | {{#loop: tortue | ||
|1 | |1 | ||
|{{#expr:{{{Up|9}}}}} | |{{#expr:{{{Up|9}}}}} | ||
|<div class="fondfenetre" style="border: 1px black solid;">+{{#var:tortue}}</div> | |<div class="fondfenetre" style="border: 1px black solid;">+{{#var:tortue}}</div> | ||
+ | }} | ||
}} | }} | ||
<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 style="display: flex; align-items: center; justify-content: center; border: 1px solid black; font-weight: bold;">[[Yangs]] [[Image:Yang1.png|link=Yangs]]</div> |