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

[version vérifiée][version vérifiée]
 
(7 révisions intermédiaires par un autre utilisateur non affichées)
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 1px;">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;">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
 +
|
 +
<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
 
  |0
 
  |0
 
  |{{#expr:{{{Up|9}}}+1}}
 
  |{{#expr:{{{Up|9}}}+1}}
 
  |<div class="fondfenetre" style="border: 1px black solid;">+{{#var:tortue}}</div>
 
  |<div class="fondfenetre" style="border: 1px black solid;">+{{#var:tortue}}</div>
}}{{#if:{{{Base|}}}|<div style="background: #EADEB3; border: 1px solid black; grid-column: 1 / -1; font-weight: bold;">Bonus de base</div>|}}{{#vardefine:terre|1}}
+
}}
 +
}} {{#if:{{{Base|}}}|<div style="background: #EADEB3; border: 1px solid black; grid-column: 1 / -1; font-weight: bold;">Bonus de base</div>|}}{{#vardefine:terre|1}}
 
{{#forargs: Bonus
 
{{#forargs: Bonus
 
  | key
 
  | key
Ligne 79 : Ligne 88 :
 
<div style="margin: 10px 5px 5px 5px">
 
<div style="margin: 10px 5px 5px 5px">
 
{{Tabber
 
{{Tabber
 +
|url=True
 
|Center=True
 
|Center=True
 
|Center2=True
 
|Center2=True
Ligne 93 : Ligne 103 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{1|}}}
 
|Value={{{1|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 129 : Ligne 139 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{2|}}}
 
|Value={{{2|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 165 : Ligne 175 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{3|}}}
 
|Value={{{3|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 201 : Ligne 211 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{4|}}}
 
|Value={{{4|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 237 : Ligne 247 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{5|}}}
 
|Value={{{5|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 273 : Ligne 283 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{6|}}}
 
|Value={{{6|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 309 : Ligne 319 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{7|}}}
 
|Value={{{7|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 345 : Ligne 355 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{8|}}}
 
|Value={{{8|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 381 : Ligne 391 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{9|}}}
 
|Value={{{9|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 417 : Ligne 427 :
 
<th>3<sup>e</sup> pierre</th>
 
<th>3<sup>e</sup> pierre</th>
 
</tr>
 
</tr>
<tr>
+
{{#ifexpr:{{{Ceinture|0}}}=120||<tr>
 
<th>{{{Bonus1|}}}</th>
 
<th>{{{Bonus1|}}}</th>
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{10|}}}
 
|Value={{{10|}}}
 
}}
 
}}
</tr>
+
</tr>}}
 
{{#if:{{{Bonus2|}}}|<tr>
 
{{#if:{{{Bonus2|}}}|<tr>
 
<th>{{{Bonus2}}}</th>
 
<th>{{{Bonus2}}}</th>
Ligne 459 : Ligne 469 :
 
<div style="margin: 10px 5px 5px 5px">
 
<div style="margin: 10px 5px 5px 5px">
 
{{Tabber
 
{{Tabber
 +
|url=True
 
|Center=True
 
|Center=True
 
|Center2=True
 
|Center2=True

Version actuelle datée du 10 avril 2024 à 00:33

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