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

[version vérifiée][version vérifiée]
Ligne 31 : Ligne 31 :
 
</div>
 
</div>
 
</div>
 
</div>
|2=
+
|2=<div style="display: flex; flex-direction: row;">
 +
<div style="display: grid; grid-template-columns: max-content max-content; justify-items: center; column-gap: 4px; row-gap: 2px; align-self: start;">
 +
<div class="fondfenetre" style="color: white; width: 100%; border: 1px black solid;">Amélioration</div>
 +
{{#forargs: Bonus
 +
| key
 +
| value
 +
|<div id="soulignement" style="border: 1px solid black; width: 100%; font-weight: bold;">{{#var:value}}</div>
 +
<div style="width: 100%;">
 +
<div style="display: grid; grid-template-columns: max-content justify-items: center; column-gap: 4px; row-gap: 2px; margin-right: 4px; align-self: start;">
 +
{{#forargs: Chemin
 +
  | key
 +
  | value
 +
  | <div style="color: white; width: 100%; border: 1px black solid;">{{#var:value}}</div>
 +
  }}
 +
}}
 +
</div>
 +
</div>
 +
</div>
 +
<div style="width: 100%; overflow: auto;">
 +
<div style="margin: 0 1px 5px 1px;">
 +
<div style="width: 100%; display: grid; grid-template-columns: repeat({{#expr:{{{Up|9}}}+1}}, minmax(60px, 1fr)); justify-items: center; column-gap: 4px; row-gap: 2px;">
 +
{{#loop: tortue
 +
|0
 +
|{{#expr:{{{Up|9}}}+1}}
 +
|<div class="fondfenetre" style="color: white; width: 100%; border: 1px black solid;">+{{#var:tortue}}</div>
 +
}}
 +
{{#forargs: Bonus
 +
| key
 +
| value
 +
|
 +
{{#loop: tortue
 +
|0
 +
|{{#expr:{{{Up|9}}}+1}}
 +
|<div style="border: 1px solid black; width: 100%;">{{{{{#var:key}}{{#var:tortue}}|}}}</div>
 +
}}
 +
}}
 +
</div>
 +
</div>
 +
</div>
 +
</div>
 
}}
 
}}
 
<noinclude>[[Catégorie:Nouveaux modèles]]</noinclude>
 
<noinclude>[[Catégorie:Nouveaux modèles]]</noinclude>

Version du 4 août 2021 à 01:15

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