Template:Togglesection View history

imported>Wottem
No edit summary
imported>Wottem
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 17: Line 17:


</noinclude>
</noinclude>
<includeonly><div class="page-width-container"><div class="main-content"><div class="zippy-wrapper"><div class="zippy-container">
<includeonly>
<h2 class="zippy index1 goog-zippy-collapsed" aria-expanded="false" tabindex="0" role="button" data-stats-ve="2" data-stats-imp="" data-stats-idx="1,4" data-stats-ignore="">{{{title|}}}</h2></div>
<div class="details block border-b border-g border-gray-200 overflow-hidden transition-all {{#ifeq: {{{open|}}}|Yes|max-h-screen|max-h-12}} {{{class|}}}"
<div class="zippy-overflow"><div class="zippy-content zippy-hidden">
        data-details="{{#ifeq: {{{open|}}}|Yes|true|false}}" role="button" tabindex="0">
        <div class="h6 flex items-center justify-between w-full pt-1 mb-7 font-medium ">
            <h6>{{{title|}}}</h6><i
                class="w-icon w-icon-chevron-down transition transform {{#ifeq: {{{open|}}}|Yes|rotate-180|rotate-0}}"></i>
      </div>
        <div class="text-sm text-gray-900 child {{#ifeq: {{{open|}}}|Yes|block|hidden}} {{#ifeq: {{{styleLink|}}}|Yes|stylelink}}"
            data-summary>
{{{content|}}}
{{{content|}}}
{{#if:{{{button|}}}|<span class="btn btn-raised">[[{{{button}}}|{{{button text|{{{button}}} }}}]]</span>|}}
{{#if:{{{button|}}}|<span class="btn btn-raised">[[{{{button}}}|{{{button text|{{{button}}} }}}]]</span>|}}
</div></div></div></div></div>
</div></div>
</includeonly>

Latest revision as of 17:44, 12 January 2022

Template structure

{{Togglesection
|title=This is a title
|content=Here is some content
|button=Road
|button text=A button to Road page
}}

Output

This is a title