Template:Togglesection View history

imported>Wottem
No edit summary
imported>Wottem
No edit summary
Line 18: Line 18:
</noinclude>
</noinclude>
<includeonly><div class="page-width-container"><div class="main-content"><div class="zippy-wrapper"><div class="zippy-container">
<includeonly><div class="page-width-container"><div class="main-content"><div class="zippy-wrapper"><div class="zippy-container">
<h2 class="zippy index1 goog-zippy-expanded" aria-expanded="true" tabindex="0" role="button" data-stats-ve="2" data-stats-imp="" data-stats-idx="1,4" data-stats-ignore="">{{{title|}}}</h2></div>
<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="zippy-overflow"><div class="zippy-content" style="margin-top: 0px; transition: margin-top 0.218s ease-out 0s; overflow: auto;">
<div class="zippy-overflow"><div class="zippy-content" style="margin-top: 0px; transition: margin-top 0.218s ease-out 0s; overflow: auto;">
{{{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></div></div></div>

Revision as of 23:16, 8 September 2020

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

Here is some content A button to Road page