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 ('…")
 
m (Examples)
Línea 6: Línea 6:
 
  {{Collapsible|
 
  {{Collapsible|
 
  |Displayed by Default
 
  |Displayed by Default
  |* Item 1
+
  |
* Item 2
+
* Item 1
* Item 3
+
* Item 2
 +
* Item 3
 
  }}
 
  }}
 
</nowiki></pre>
 
</nowiki></pre>
Línea 14: Línea 15:
 
{{Collapsible|
 
{{Collapsible|
 
|Displayed by Default
 
|Displayed by Default
|* Item 1
+
|
 +
* Item 1
 
* Item 2
 
* Item 2
 
* Item 3
 
* Item 3
Línea 22: Línea 24:
 
{{Collapsible|hide
 
{{Collapsible|hide
 
|Hidden by Default
 
|Hidden by Default
|* Item 1
+
|
 +
* Item 1
 
* Item 2
 
* Item 2
 
* Item 3
 
* Item 3
Línea 30: Línea 33:
 
{{Collapsible|hide
 
{{Collapsible|hide
 
|Hidden by Default
 
|Hidden by Default
|* Item 1
+
|
 +
* Item 1
 
* Item 2
 
* Item 2
 
* Item 3
 
* Item 3
 
}}
 
}}

Revisión de 18:09 18 jul 2015

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.

Examples

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