Modèle:Équipements/Bonus : Différence entre versions

[version vérifiée][version vérifiée]
Ligne 35 : Ligne 35 :
 
<div style="display: flex; flex-direction: row;">
 
<div style="display: flex; flex-direction: row;">
 
<div style="display: grid; grid-template-columns: max-content; justify-items: center; column-gap: 4px; row-gap: 2px; margin-right: 3px; align-self: start;">
 
<div style="display: grid; grid-template-columns: max-content; justify-items: center; column-gap: 4px; row-gap: 2px; margin-right: 3px; align-self: start;">
<div class="fondfenetre" style="color: white; width: 100%; border: 1px black solid; height: 32px; line-height: 32px;">Amélioration</div>{{#if:{{{Base|}}}|<div style="background: #EADEB3; border: 1px solid black; width: 100%; height: 32px;"><div style="visibility: hidden;">oui</div></div>|}}{{#vardefine:terre|1}}
+
<div class="fondfenetre" style="color: white; width: 100%; border: 1px black solid;">Amélioration</div>{{#if:{{{Base|}}}|<div style="background: #EADEB3; border: 1px solid black; width: 100%; height: 32px;"><div style="visibility: hidden;">oui</div></div>|}}{{#vardefine:terre|1}}
 
{{#forargs: Bonus
 
{{#forargs: Bonus
 
  | key
 
  | key
 
  | value
 
  | value
  |{{#ifeq:{{#var:key}}|{{{Emplacement{{#var:terre}}|}}}|{{#vardefine:terre|{{#expr:{{#var:terre}}+1}}}}<div style="background: #EADEB3; border: 1px solid black; width: 100%; height: 32px;"><div style="visibility: hidden;">oui</div></div>||}}<div id="soulignement" style="border: 1px solid black; width: 100%; font-weight: bold; height: 32px; line-height: 32px;">{{#var:value}}</div>
+
  |{{#ifeq:{{#var:key}}|{{{Emplacement{{#var:terre}}|}}}|{{#vardefine:terre|{{#expr:{{#var:terre}}+1}}}}<div style="background: #EADEB3; border: 1px solid black; width: 100%; height: 32px;"><div style="visibility: hidden;">oui</div></div>||}}<div id="soulignement" style="border: 1px solid black; width: 100%; font-weight: bold; padding: 0 2px;">{{#var:value}}</div>
 
  }}
 
  }}
 
</div>
 
</div>

Version du 8 décembre 2021 à 20:00

Amélioration
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9