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

[version vérifiée][version vérifiée]
 
(10 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 68 : Ligne 77 :
 
</div>
 
</div>
 
</div>
 
</div>
{{#if:{{{Bijoux|}}}|
+
}} {{#if:{{{Bijoux|}}}|
 
<table class="map mw-collapsible mw-collapsed" style="width: 100%; margin-top: 10px; border-collapse: collapse; border-radius: 8px 0; overflow: hidden;">
 
<table class="map mw-collapsible mw-collapsed" style="width: 100%; margin-top: 10px; border-collapse: collapse; border-radius: 8px 0; overflow: hidden;">
 
<tr style="width: 100%; color: white;">
 
<tr style="width: 100%; color: white;">
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 109 : Ligne 119 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{21|}}}
 
|Value={{{21|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{31|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 123 : 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 139 : Ligne 155 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{22|}}}
 
|Value={{{22|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{32|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 153 : 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 169 : Ligne 191 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{23|}}}
 
|Value={{{23|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{33|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 183 : 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 199 : Ligne 227 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{24|}}}
 
|Value={{{24|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{34|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 213 : 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 229 : Ligne 263 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{25|}}}
 
|Value={{{25|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{35|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 243 : 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 259 : Ligne 299 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{26|}}}
 
|Value={{{26|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{36|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 273 : 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 289 : Ligne 335 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{27|}}}
 
|Value={{{27|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{37|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 303 : 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 319 : Ligne 371 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{28|}}}
 
|Value={{{28|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{38|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 333 : 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 349 : Ligne 407 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{29|}}}
 
|Value={{{29|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{39|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 363 : 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 379 : Ligne 443 :
 
{{Bijoux/Raffi
 
{{Bijoux/Raffi
 
|Value={{{30|}}}
 
|Value={{{30|}}}
 +
}}
 +
</tr>}}
 +
{{#if:{{{Bonus4|}}}|<tr>
 +
<th>Autres</th>
 +
{{Bijoux/Raffi
 +
|Value={{{40|}}}
 
}}
 
}}
 
</tr>}}
 
</tr>}}
Ligne 399 : 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
Ligne 480 : Ligne 551 :
 
</tr>
 
</tr>
 
</table>
 
</table>
}}
 
 
}}
 
}}
 
<noinclude>[[Catégorie:Nouveaux modèles]]</noinclude>
 
<noinclude>[[Catégorie:Nouveaux modèles]]</noinclude>

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

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