Vorlage:Collapsible: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Vdusa (Diskussion | Beiträge) |
Vdusa (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><div class="toccolours mw-collapsible {{#ifeq: {{{3}}} | expanded| | mw-collapsed }}" style="overflow:auto;"> | <includeonly><div class="toccolours mw-collapsible {{#ifeq: {{{3}}} | expanded| | mw-collapsed }}" style="overflow:auto;"> | ||
− | <div>{{{1}}}</div> | + | <div>'''{{{1}}}'''</div> |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{{2}}} | {{{2}}} |
Aktuelle Version vom 29. August 2019, 09:31 Uhr
Usage:
Title: is the title of the element
Some collapsible content: is the text content, that can be collapsed
expanded: mandatory argument - if present, then the element is expanded by default. Otherwise it is collapsed.
{{collapsible|Title|Some collapible content|expanded}}
Result:
Title
Some collapible content
{{collapsible|Title|Some collapible content}}
Result:
Title
Some collapible content