Différences entre les versions de « Modèle:PliEqTab »
De Wikip
toross>Atoross  | 
				|||
| Ligne 1 : | Ligne 1 : | ||
<includeonly><tr>  | <includeonly><tr>  | ||
<td style="vertical-align:middle;">{{{1}}}</td>  | <td style="vertical-align:middle;">{{{1}}}</td>  | ||
{{atIfNotNul|{{{3|}}}|<td style="vertical-align:middle;"> {{{3}}} </td>|}}  | {{atIfNotNul|1={{{3|}}}|2=<td style="vertical-align:middle;"> {{{3}}} </td>|3=}}  | ||
<td style="vertical-align:middle;font-family:serif;">  | <td style="vertical-align:middle;font-family:serif;">  | ||
<span id="pli_{{{id}}}" class="allCollapse" {{atif|{{{visible|no}}}|yes||style="display:none;"}}>{{{2|?}}}</span>{{  | <span id="pli_{{{id}}}" class="allCollapse" {{atif|{{{visible|no}}}|yes||style="display:none;"}}>{{{2|?}}}</span>{{AtIfEqual|{{{info|}}}|||<span id="infopli_{{{id}}}" class="allCollapseInfo" {{atif|{{{visible|yes}}}|yes||style="display:none;"}} style="color:grey;">{{{info|}}} ?</span>}}  | ||
<td>  ( {{  | <td>  ( {{AtCount|name=eq_count|prefix={{{tag|eq}}}|id=pli_{{{id}}}}} ) </td>  | ||
<td>  | <td>  | ||
Version du 27 août 2021 à 16:30
Version : 1.36.1 4099 (2021-08-27) 20210827163001  
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}}
{{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) | = | 
 ab + ac  | ( Rt1 ) | 
 ↺  | 
| a + b | = | 
 b + a  | ( Rt2 ) | 
 ↺  | 
| a(b + c) | = | 
 ab + ac  | ( Rt3 ) | 
 ↺  | 
| a + b | = | 
 b + a  | ( Rt4 ) | 
 ↺  | 
show-all hide-all show-allBtn hide-allBtn hide-allGlobalBtn
Liens :
| name=Rt1 | id=pli_ref1 | 
| name=Rt2 | id=pli_ref2 | 
| name=Rt3 | id=pli_ref3 | 
| name=Rt4 | id=pli_ref4 | 
N° des compteurs :
| eq_count | 4 | 
Logs :
| counterName=eq_count num=1 id=pli_ref1 name=Rt1 | |
| counterName=eq_count num=2 id=pli_ref2 name=Rt2 | |
| counterName=eq_count num=3 id=pli_ref3 name=Rt3 | |
| counterName=eq_count num=4 id=pli_ref4 name=Rt4 |