Diferencia entre revisiones de «Plantilla:Plegable/doc»
De WikiEducator
m (Lmorillas movió la página Plantilla:Collapsible/doc a Plantilla:Plegable/doc) |
(traducción plegable) |
||
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 | ||
| | | | ||
Línea 13: | Línea 13: | ||
</nowiki></pre> | </nowiki></pre> | ||
− | {{ | + | {{Plegable| |
|Displayed by Default | |Displayed by Default | ||
| | | | ||
Línea 22: | Línea 22: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{ | + | {{Plegable|hide |
|Hidden by Default | |Hidden by Default | ||
| | | | ||
Línea 31: | Línea 31: | ||
</nowiki></pre> | </nowiki></pre> | ||
− | {{ | + | {{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 |
---|
|
{{Plegable|hide |Hidden by Default | * Item 1 * Item 2 * Item 3 }}
Hidden by Default |
---|
|