imported>Wottem No edit summary |
imported>Wottem No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
</noinclude> | </noinclude> | ||
<includeonly><div class=" | <includeonly> | ||
<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|}}}" | |||
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> | ||
</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