Diferencia entre revisiones de «Plantilla:Plegable/doc»

De WikiEducator
Saltar a: navegación, buscar
m (2 revisiones)
(traducción plegable)
 
(Una revisión intermedia por el mismo usuario no mostrado)
Línea 1: Línea 1:
This template is used to make a ''collapsible'' region that the user can expose/hide with a mouse click.  The first parameter determines if the region is hidden to begin with ('''1''', '''hide''', '''hidden''', '''collapsed''' are all accepted).  The second parameter is the header for the region and the third parameter is the body that can be hidden/displayed.
+
This template is used to make a ''Plegable'' region that the user can expose/hide with a mouse click.  The first parameter determines if the region is hidden to begin with ('''1''', '''hide''', '''hidden''', '''collapsed''' are all accepted).  The second parameter is the header for the region and the third parameter is the body that can be hidden/displayed.
  
 
== Examples ==
 
== Examples ==
  
 
<pre><nowiki>
 
<pre><nowiki>
  {{Collapsible|
+
  {{Plegable|
 
  |Displayed by Default
 
  |Displayed by Default
 
  |
 
  |
Línea 13: Línea 13:
 
</nowiki></pre>
 
</nowiki></pre>
  
{{Collapsible|
+
{{Plegable|
 
|Displayed by Default
 
|Displayed by Default
 
|
 
|
Línea 22: Línea 22:
  
 
<pre><nowiki>
 
<pre><nowiki>
{{Collapsible|hide
+
{{Plegable|hide
 
|Hidden by Default
 
|Hidden by Default
 
|
 
|
Línea 31: Línea 31:
 
</nowiki></pre>
 
</nowiki></pre>
  
{{Collapsible|hide
+
{{Plegable|hide
 
|Hidden by Default
 
|Hidden by Default
 
|
 
|

Última revisión de 10:09 10 ene 2017

This template is used to make a Plegable region that the user can expose/hide with a mouse click. The first parameter determines if the region is hidden to begin with (1, hide, hidden, collapsed are all accepted). The second parameter is the header for the region and the third parameter is the body that can be hidden/displayed.

Examples

 {{Plegable|
 |Displayed by Default
 |
* Item 1
* Item 2
* Item 3
 }}
Displayed by Default
  • Item 1
  • Item 2
  • Item 3
{{Plegable|hide
|Hidden by Default
|
* Item 1
* Item 2
* Item 3
}}