Template:Togglesection View history

imported>Wottem
No edit summary
imported>Wottem
No edit summary
Line 21: Line 21:
<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}}}]]</span>|}}
{{#if:{{{button|}}}|<span class="btn btn-raised">[[{{{button}}}|{{{button text|{{{button}}} }}}]]</span>|}}
</div></div>
</div></div>
</div>
</div>

Revision as of 22:49, 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