Vorlage:Accordion panel

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Version vom 26. November 2017, 00:14 Uhr von Tobi (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><noinclude><!-- first define the accordio…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche

{{#vardefine:bs_accordion_panel|Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“}}

<htmltag tagname="a" data-toggle="collapse" data-parent="#accordion{{#var:bs_accordion}}" href="#collapse{{#var:bs_accordion_panel}}">parameter title missing</htmltag>

parameter body missing
Documentation icon Template documentation[view] [edit] [history] [purge]

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

Vorlagenparameter

ParameterBeschreibungTypStatus
Title of the paneltitle

Defines the title of the panel to add

Standard
Error message
Einzeiliger Texterforderlich
Body of the panelbody

Gives the body text for the panel that shows when open

Standard
Error message
Mehrzeiliger Texterforderlich
Open panelopen

Set to true, of you want this panel to be open from the start

Wahrheitswertoptional

Usage

{{Accordion panel
| title=
| body=
| open=
}}


See also