Différences entre les versions de « Modèle:PliPar »

De Paint
m (1 révision importée)
toross>WikiAdmin
m (1 révision importée)
Ligne 1 : Ligne 1 :
<includeonly><div><span id="{{{id}}}" class="allCollapse" {{#atIfEqual:{{{visible|no}}}|yes||style="display:none;"}}>{{{text|?}}} </span>{{#atIfEqual:{{{info|}}}|||<span id="info{{{id}}}" class="allCollapseInfo" {{#atIfEqual:{{{visible|yes}}}|yes||style="display:none;"}}>{{{info|}}} </span>}}<span class="collapseBtn allCollapseBtn" title="#{{{id}}}" style="border-color:#D0D0ff;border-radius:0.2em;border-style:solid;border-width:1pt;min-height:1em;padding-left:0.1em;padding-right:0.1em;background:#EfEfEf;color:#0000EE;">↺</span></div></includeonly><noinclude>
<includeonly><div><span id="{{{id}}}" class="allCollapse" {{#atIfEqual:{{{visible|no}}}|yes||style="display:none;"}}>{{{info|}}}{{{text|?}}}</span>{{#atIfEqual:{{{info|}}}|||<span id="info{{{id}}}" class="allCollapseInfo" {{#atIfEqual:{{{visible|yes}}}|yes||style="display:none;"}}>{{{info|}}}</span>}}<span class="collapseBtn allCollapseBtn" title="#{{{id}}}" style="border-color:#D0D0ff;border-radius:0.2em;border-style:solid;border-width:1pt;min-height:1em;padding-left:0.1em;padding-right:0.1em;background:#EfEfEf;color:#0000EE;">↺</span></div></includeonly><noinclude>
{{Model
{{Model
|class=form  
|class=form  
Ligne 16 : Ligne 16 :
donnera :
donnera :
   
   
{{PliPar|id=ref12|text=Good !|info=Try to find the text}}
{{PliPar|id=ref12
{{PliPar|id=ref13|text=<table><tr><td>My text can be hidden</td></tr></table>|visible=yes}}
|text=<br>Good !
|info=Try to find the text
}}
{{PliPar|id=ref13
|text=  
<table><tr><td>My text can be hidden</td></tr></table>
|visible=yes
}}
 
 
{{table|1= 
{{eqTab3c|1= {{mathJ|x+1}}  |2= = |3= {{PliPar|visible=no|id=ref14|text= {{mathJ| y          }} }}|4= |5= Postulat1}} 
{{eqTab3c|1= {{mathJ|x+2}}  |2= = |3= {{mathJ| y          }}|4=E|5= Postulat2}} 
{{eqTab3c|1= {{mathJ|x+2}}  |2= = |3= {{mathJ| y+y^3      }}|4=I|5= Postulat2}} 
{{eqTab3c|1= {{mathJ|x+2+3z}}|2= = |3= {{mathJ| y+\epsilon }}|4= |5= Postulat2}} 
}} 
 
{{PliGlobalBtns}}
{{PliGlobalBtns}}


</noinclude>
</noinclude>

Version du 2 septembre 2019 à 22:17

Version : 1.36.1 2217 (2019-09-2) 20190902221752
Résumé :
Ce modèle insère un bouton qui commande le pli et un espace de texte qui est pliable/cacheable. (collpase collapsed)

{{PliGlobalBtns}}

Attention, pas d'espaces dans l'id!

Exemple :

{{PliEsp|id=ref12|text=My text can be hidden}} 
{{PliEsp|id=ref13|text=My text can be hidden|visible=yes}} 
{{PliGlobalBtns}}

donnera :

Try to find the text
My text can be hidden


[math]\displaystyle{ x+1 }[/math]=
  ( 1 ) 
[math]\displaystyle{ x+2 }[/math]=[math]\displaystyle{ y }[/math]  ( E2 ) 
[math]\displaystyle{ x+2 }[/math]=[math]\displaystyle{ y+y^3 }[/math]  ( I3 ) 
[math]\displaystyle{ x+2+3z }[/math]=[math]\displaystyle{ y+\epsilon }[/math]  ( 4 ) 

show-all hide-all show-allBtn hide-allBtn hide-allGlobalBtn