Diferencia entre revisiones de «Plantilla:Plegable/doc»
De WikiEducator
(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 '' | + | 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> | ||
− | {{ | + | {{Plegable| |
|Displayed by Default | |Displayed by Default | ||
− | |* Item 1 | + | | |
− | + | * Item 1 | |
− | + | * Item 2 | |
+ | * Item 3 | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
− | {{ | + | {{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> | ||
− | {{ | + | {{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> | ||
− | {{ | + | {{Plegable|hide |
|Hidden by Default | |Hidden by Default | ||
− | |* Item 1 | + | | |
+ | * Item 1 | ||
* Item 2 | * Item 2 | ||
* Item 3 | * Item 3 | ||
}} | }} |
Ú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 |
---|
|
{{Plegable|hide |Hidden by Default | * Item 1 * Item 2 * Item 3 }}
Hidden by Default |
---|
|