Modèle:Équipements/Bonus : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 41 : | Ligne 41 : | ||
<div style="display: flex; flex-direction: row; gap: 2px; align-items: flex-start;"> | <div style="display: flex; flex-direction: row; gap: 2px; align-items: flex-start;"> | ||
<div style="display: grid; grid-template-columns: max-content; grid-auto-rows: auto 32px 32px 32px 32px 32px 32px; gap: 2px;"> | <div style="display: grid; grid-template-columns: max-content; grid-auto-rows: auto 32px 32px 32px 32px 32px 32px; gap: 2px;"> | ||
− | <div class="fondfenetre" style="border: 1px black solid; padding: 0 | + | <div class="fondfenetre" style="border: 1px black solid; padding: 0 {{#ifeq:{{{Up|}}}|4|15|1}}px;">Amélioration</div>{{#if:{{{Base|}}}|<div style="background: #EADEB3; border: 1px solid black;"><div style="visibility: hidden;">oui</div></div>|}}{{#vardefine:terre|1}} |
{{#forargs: Bonus | {{#forargs: Bonus | ||
| key | | key | ||
Ligne 49 : | Ligne 49 : | ||
</div> | </div> | ||
<div style="overflow: auto; flex-grow: 1;"> | <div style="overflow: auto; flex-grow: 1;"> | ||
− | <div style="display: grid; grid-template-columns: repeat({{#expr:{{{Up|9}}}+1}}, minmax({{#ifexpr:{{{Up|9}}}> 9 |60|75}}px, 1fr)); grid-auto-rows: auto 32px 32px 32px 32px 32px 32px; gap: 2px;"> | + | <div style="display: grid; grid-template-columns: repeat({{#expr:{{{Up|9}}}+1}}, minmax({{#ifexpr:{{{Up|9}}} > 9 |60|{{#ifeq:{{{Up|}}}|4|90|75}}}}px, 1fr)); grid-auto-rows: auto 32px 32px 32px 32px 32px 32px; gap: 2px;"> |
− | {{#ifeq: {{{Up|}}} | 4 | + | {{#ifeq:{{{Up|}}}|4 |
− | | | + | | |
<div class="fondfenetre" style="border: 1px black solid;">+0 à +39</div> | <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;">+40 à +79</div> |
Version du 1 août 2022 à 17:38
Amélioration
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9