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

[version vérifiée][version vérifiée]
 
Ligne 3 : Ligne 3 :
 
<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;">Amélioration</div>{{#if:{{{Niveau1|}}}|<div class="soulignement" style="border: 1px solid black; width: 100%; font-weight: bold;">Niveau</div>}}{{#if:{{{Base|}}}|<div style="background: #EADEB3; border: 1px solid black; width: 100%;"><div style="visibility: hidden;">oui</div></div>|}}{{#vardefine:terre|1}}
+
<div class="fondfenetre" style="color: white; width: 100%; border: 1px black solid; visibility: hidden;">Amélioration</div>{{#if:{{{Niveau1|}}}|<div class="soulignement" style="border: 1px solid black; width: 100%; font-weight: bold;">Niveau</div>}}{{#if:{{{Base|}}}|<div style="background: #EADEB3; border: 1px solid black; width: 100%;"><div style="visibility: hidden;">oui</div></div>|}}{{#vardefine:terre|1}}
 
{{#forargs: Bonus
 
{{#forargs: Bonus
 
  | key
 
  | key
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 {{#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}}
+
<div class="fondfenetre" style="border: 1px black solid; padding: 0 {{#ifeq:{{{Up|}}}|4|15|1}}px; visibility: hidden;">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

Version actuelle datée du 25 octobre 2024 à 09:53

+0
+1
+2
+3
+4
+5
+6
+7
+8
+9