Vorlage:Accordion panel/doc: Unterschied zwischen den Versionen
This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Tobi (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{Documentation subpage}} <!-- Categories go at the bottom of this page. --> == Description == Set between an {{tl|Accordion begin}} and an {{tl|Accordion end}…“) |
(kein Unterschied)
|
Aktuelle Version vom 25. November 2017, 23:44 Uhr
| This is a documentation subpage for Vorlage:Accordion panel. It contains usage information, categories and other content that is not part of the original vorlage page. |
Description
Set between an {{Accordion begin}} and an {{Accordion end}}, this adds a panel to a bootstrap accordion.
Used variables
- bs_accordion
- defined by {{Accordion begin}}
- id of the current accordion
- bs_accordion_panel
- id of the last added panel to any accordion
- defined by {{Accordion panel}}
- increased every time, {{Accordion panel}} is called
Parameters
Description of the entity created by this template or of the function of this template
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Title of the panel | title | Defines the title of the panel to add
| Einzeiliger Text | erforderlich |
| Body of the panel | body | Gives the body text for the panel that shows when open
| Mehrzeiliger Text | erforderlich |
| Open panel | open | Set to true, of you want this panel to be open from the start | Wahrheitswert | optional |
Usage
{{Accordion panel
| title=
| body=
| open=
}}
See also
- {{Accordion begin}}
- {{Accordion end}}