PliEqTab
De Wikip
Révision datée du 26 juin 2019 à 21:34 par WikiAdmin (discussion | contributions) (1 révision importée)
Version : 1.36.1 3173 (2019-06-26) 20190626213407  
Résumé :
Ce modèle sert a définir des équations.
{{eq|leftText|rightText|[operation]|id=|[tag]}}
- leftText
 - partie gauche
 - rightText
 - partie droite
 - [operation]
 - si operation est fournie,par exemple le symbole « = » alors une 3ième colonne s'ajoute au millieu pou aligner le symbole de l'opération.
 - id
 - l'id est un identifiant unique dans la page et sert au(x) bouton(s) pour agir cahcer ou montrer.
 - [tag]
 - le tag avant le numéro, exemple si tag="Rt" nous aurons Rt1, Rt2, ...
 - [info]
 - text shown when rightText is hidden.
 
Exemple :
{{table|1= 
{{PliEqTab|1=a(b + c) =|2=ab + ac|info=?(distribution)|id=ref1|tag=Rt}}
{{PliEqTab|1=a + b =|2=b + a|info=?(commutation)|id=ref2|tag=Rt}}
}}  
{{table|1= 
{{PliEqTab|1=a(b + c)|2=ab + ac|3==|info=?(distribution)|id=ref3|tag=Rt}} 
{{PliEqTab|1=a + b|2=b + a|3==|info=?(commutation)|id=ref4|tag=Rt}} 
}} 
{{PliGlobalBtns}}
{{#atallref:}}
donnera :
| a(b + c) = | {{{3}}} | ?(distribution) ↺ | ( Rt1 ) | 
| a + b = | {{{3}}} | ?(commutation) ↺ | ( Rt2 ) | 
| a(b + c) | = | ?(distribution) ↺ | ( Rt3 ) | 
| a + b | = | ?(commutation) ↺ | ( Rt4 ) | 
show-all hide-all show-allBtn hide-allBtn hide-allGlobalBtn
Liens :
| name=Rt1 | id=ref1 | 
| name=Rt2 | id=ref2 | 
| name=Rt3 | id=ref3 | 
| name=Rt4 | id=ref4 | 
N° des compteurs :
| eq_count | 4 | 
Logs :
| counterName=eq_count num=1 id=ref1 name=Rt1 | |
| counterName=eq_count num=2 id=ref2 name=Rt2 | |
| counterName=eq_count num=3 id=ref3 name=Rt3 | |
| counterName=eq_count num=4 id=ref4 name=Rt4 |