Diferencia entre revisiones de «Plantilla:Plegable/doc»

De WikiEducator
Saltar a: navegación, buscar
(Created page with "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 ('…")
 
(traducción plegable)
 
(No se muestran 3 ediciones intermedias de 2 usuarios)
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
  |* Item 1
+
  |
* Item 2
+
* Item 1
* Item 3
+
* Item 2
 +
* Item 3
 
  }}
 
  }}
 
</nowiki></pre>
 
</nowiki></pre>
  
{{Collapsible|
+
{{Plegable|
 
|Displayed by Default
 
|Displayed by Default
|* Item 1
+
|
 +
* Item 1
 
* Item 2
 
* Item 2
 
* Item 3
 
* Item 3
Línea 20: Línea 22:
  
 
<pre><nowiki>
 
<pre><nowiki>
{{Collapsible|hide
+
{{Plegable|hide
 
|Hidden by Default
 
|Hidden by Default
|* Item 1
+
|
 +
* Item 1
 
* Item 2
 
* Item 2
 
* Item 3
 
* Item 3
Línea 28: Línea 31:
 
</nowiki></pre>
 
</nowiki></pre>
  
{{Collapsible|hide
+
{{Plegable|hide
 
|Hidden by Default
 
|Hidden by Default
|* Item 1
+
|
 +
* Item 1
 
* Item 2
 
* Item 2
 
* Item 3
 
* Item 3
 
}}
 
}}

Última revisión de 09: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
}}