Vorlage:Accordion begin: Unterschied zwischen den Versionen

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><includeonly><!-- first dedine the accord…“)
 
K (Tobi verschob die Seite Vorlage:BS accordion begin nach Vorlage:Accordion begin, ohne dabei eine Weiterleitung anzulegen)
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><includeonly><!-- first dedine the accordion id number -->{{#vardefine:bs_accordion|{{#if:{{#var:bs_accordion}}<!-- apparently there is at least one accordion on the page already. increase id num:
<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><includeonly><!-- first define the accordion id number -->{{#vardefine:bs_accordion|{{#if:{{#var:bs_accordion}}<!-- apparently there is at least one accordion on the page already. increase id num:
-->|{{#expr:{{#var:bs_accordion}}+1}}<!-- else first accordion. start with 0:
-->|{{#expr:{{#var:bs_accordion}}+1}}<!-- else first accordion. start with 0:
-->|0}}<!-- end of #vardefine bs_accordion-->}}<!-- now we can open the accordion
-->|0}}<!-- end of #vardefine bs_accordion-->}}<!-- now we can open the accordion

Aktuelle Version vom 25. November 2017, 23:46 Uhr

Documentation icon Template documentation[view] [edit] [history] [purge]

Description

Opens a bootstrap accordion. You can add panels with {{Accordion panel}} and have to close the accordion with {{Accordion end}}.

Used variables

bs_accordion
id of the current/last accordion
increased every time, this template is called
also used by {{Accordion panel}}

Parameters

none

Usage

{{Accordion begin}}


See also