Modèle:Formule : Différence entre versions
[version vérifiée] | [version vérifiée] |
(9 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
+ | {{LoadJavascript|skills}} | ||
<div style="width: 100%; overflow-x: auto;"> | <div style="width: 100%; overflow-x: auto;"> | ||
<div style="width: max-content; margin: 0 auto 10px; text-align: center; border: 1px black solid; background: white; padding: 5px;">[[File:{{{Image}}}.png]]</div> | <div style="width: max-content; margin: 0 auto 10px; text-align: center; border: 1px black solid; background: white; padding: 5px;">[[File:{{{Image}}}.png]]</div> | ||
Ligne 13 : | Ligne 14 : | ||
|STR=<div style="margin: 0 auto; padding-right: 5px;"><span style="color: red;">'''STR'''</span> : </div><div>[[Force]]</div>{{#vardefine:save{{#var:number}}|<span style="color: red;">'''STR'''</span>}} | |STR=<div style="margin: 0 auto; padding-right: 5px;"><span style="color: red;">'''STR'''</span> : </div><div>[[Force]]</div>{{#vardefine:save{{#var:number}}|<span style="color: red;">'''STR'''</span>}} | ||
|K=<div style="margin: 0 auto; padding-right: 5px;">'''K''' : </div><div>[[Constante de compétence]]</div>{{#vardefine:save{{#var:number}}|<span style="">'''K'''</span>}} | |K=<div style="margin: 0 auto; padding-right: 5px;">'''K''' : </div><div>[[Constante de compétence]]</div>{{#vardefine:save{{#var:number}}|<span style="">'''K'''</span>}} | ||
+ | |Niveau=<div style="margin: 0 auto; padding-right: 5px;">'''Niveau''' : </div><div>Niveau du personnage</div>{{#vardefine:save{{#var:number}}|<span style="">'''Niveau'''</span>}} | ||
+ | |LV_horse=<div style="margin: 0 auto; padding-right: 5px;"><span style="color: brown;">'''LV<sub>horse</sub>'''</span> : </div><div>Niveau du cheval (de 21 à 40)</div>{{#vardefine:save{{#var:number}}|<span style="color: brown;">'''LV<sub>horse</sub>'''</span>}} | ||
+ | |LV_skill=<div style="margin: 0 auto; padding-right: 5px;"><span style="color: purple;">'''LV<sub>skill</sub>'''</span> : </div><div>Niveau de la compétence (de 1 à 20)</div>{{#vardefine:save{{#var:number}}|<span style="color: purple;">'''LV<sub>skill</sub>'''</span>}} | ||
|<div style="margin: 0 auto; padding-right: 5px;">Variable incorrecte :</div><div>aucune information</div> | |<div style="margin: 0 auto; padding-right: 5px;">Variable incorrecte :</div><div>aucune information</div> | ||
}} | }} | ||
}} | }} | ||
− | </div>{{#if:{{{Calculateur|}}}|<div id="container-calcul" style="display: flex; flex-direction: column; margin: 15px auto | + | </div>{{#if:{{{Calculateur|}}}|<div id="container-calcul" style="display: flex; flex-direction: column; margin: 15px auto; width: auto; max-width: 426px;"> |
{{#if:{{{Explicite|}}}|<div id="coeffFormule" style="display: none;">{{{Explicite|}}}</div>}}{{#if:{{{Implicite|}}}|<div id="formuleNumber" style="display: none;">{{{Implicite|}}}</div>}} | {{#if:{{{Explicite|}}}|<div id="coeffFormule" style="display: none;">{{{Explicite|}}}</div>}}{{#if:{{{Implicite|}}}|<div id="formuleNumber" style="display: none;">{{{Implicite|}}}</div>}} | ||
− | <div class="fondfenetre" style="width: 100%; box-sizing: border-box; text-align: center; border: 1px black solid; display: inline-block; margin: 0 auto; line-height: 25px; color: white;">Calculateur</div> | + | <div class="fondfenetre" style="width: 100%; box-sizing: border-box; text-align: center; border: 1px black solid; display: inline-block; margin: 0 auto; line-height: 25px; color: white; border-radius: 16px 16px 0 0; overflow- hidden;">Calculateur</div> |
− | <div style="display: flex; text-align: center; justify-content: center; flex-wrap: wrap; gap: 20px;"> | + | <div style="display: flex; text-align: center; justify-content: center; flex-wrap: wrap; gap: 20px; border: 1px black dashed; border-top: none; border-radius: 0 0 16px 16px; padding: 10px 0;"> |
<div style="display: grid; grid-template-columns: auto;"> | <div style="display: grid; grid-template-columns: auto;"> | ||
{{#loop: boucle | {{#loop: boucle | ||
| 1 | | 1 | ||
| {{#var:number}} | | {{#var:number}} | ||
− | |<div style="margin: 10px 0 2px 0">{{#var:save{{#var:boucle}}}}</div> | + | |<div style="{{#ifeq:{{#var:boucle}}|1|margin-bottom: 2px;|margin: 10px 0 2px 0;}}">{{#var:save{{#var:boucle}}}}</div> |
<div id="inputCalcul"></div> | <div id="inputCalcul"></div> | ||
}} | }} |
Version actuelle datée du 17 juillet 2022 à 18:13
[[File:{{{Image}}}.png]]