Modèle:Équipements/Bonus : Différence entre versions
[version vérifiée] | [version vérifiée] |
(8 révisions intermédiaires par 2 utilisateurs non affichées) | |||
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 | + | <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 | ||
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 25 octobre 2024 à 09:53
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9