Modèle:Équipements/Bonus : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 75 : | Ligne 75 : | ||
|Bo1=+0 | |Bo1=+0 | ||
|Co1= | |Co1= | ||
− | <div style="display: flex; justify-content | + | <div style="display: flex; justify-content: center;"> |
<table class="wikitable" style="text-align: center; margin: 0;"> | <table class="wikitable" style="text-align: center; margin: 0;"> | ||
<tr> | <tr> | ||
Ligne 91 : | Ligne 91 : | ||
<tr> | <tr> | ||
<th>{{{Bonus2|}}}</th> | <th>{{{Bonus2|}}}</th> | ||
− | <td>{{{11}}}</td> | + | <td>{{#vardefine:raffi10|{{#ifexpr:1 >= floor({{{11}}}/10)|1|floor({{{11}}}/10)}}}}{{#var:raffi10}}</td> |
− | <td>{{{11}}}</td> | + | <td>{{#vardefine:raffi20|{{#ifexpr:2 >= floor({{{11}}}/5)|{{#expr:2-{{#var:raffi10}}}}|{{#expr:floor({{{11}}}/5)-{{#var:raffi10}}}}}}}}{{#var:raffi20}}</td> |
− | <td>{{{11}}}</td> | + | <td>{{#ifexpr:3 >= floor(2*{{{11}}}/5)|{{#expr:3-{{#var:raffi20}}-{{#var:raffi10}}}}|{{#expr:floor(2*{{{11}}}/5)-{{#var:raffi20}}-{{#var:raffi10}}}}}}</td> |
</tr> | </tr> | ||
</table> | </table> | ||
Ligne 115 : | Ligne 115 : | ||
|Bo10=+9 | |Bo10=+9 | ||
|Co10= | |Co10= | ||
+ | <div style="display: flex; justify-content: center;"> | ||
+ | <table class="wikitable" style="text-align: center; margin: 0;"> | ||
+ | <tr> | ||
+ | <th>Bonus</th> | ||
+ | <th>1<sup>re</sup> pierre</th> | ||
+ | <th>2<sup>e</sup> pierre</th> | ||
+ | <th>3<sup>e</sup> pierre</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th>{{{Bonus1|}}}</th> | ||
+ | <td>{{#vardefine:raffi19|{{#ifexpr:1 >= floor({{{10}}}/10)|1|floor({{{10}}}/10)}}}}{{#var:raffi19}}</td> | ||
+ | <td>{{#vardefine:raffi29|{{#ifexpr:2 >= floor({{{10}}}/5)|{{#expr:2-{{#var:raffi19}}}}|{{#expr:floor({{{10}}}/5)-{{#var:raffi19}}}}}}}}{{#var:raffi29}}</td> | ||
+ | <td>{{#ifexpr:3 >= floor(2*{{{10}}}/5)|{{#expr:3-{{#var:raffi29}}-{{#var:raffi19}}}}|{{#expr:floor(2*{{{10}}}/5)-{{#var:raffi29}}-{{#var:raffi19}}}}}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th>{{{Bonus2|}}}</th> | ||
+ | <td>{{#vardefine:raffi19|{{#ifexpr:1 >= floor({{{20}}}/10)|1|floor({{{20}}}/10)}}}}{{#var:raffi19}}</td> | ||
+ | <td>{{#vardefine:raffi29|{{#ifexpr:2 >= floor({{{10}}}/5)|{{#expr:2-{{#var:raffi19}}}}|{{#expr:floor({{{10}}}/5)-{{#var:raffi19}}}}}}}}{{#var:raffi29}}</td> | ||
+ | <td>{{#ifexpr:3 >= floor(2*{{{10}}}/5)|{{#expr:3-{{#var:raffi29}}-{{#var:raffi19}}}}|{{#expr:floor(2*{{{20}}}/5)-{{#var:raffi29}}-{{#var:raffi19}}}}}}</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </div> | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
<noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> | <noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> |
Version du 12 avril 2022 à 16:39
Amélioration
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9