Template:Toggle: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 1: Line 1:
<includeonly><div class="mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed|}} secrets"><h3>{{#if:{{{image|}}}|[[File:{{{image|}}}.png|24px]]}} {{{title|}}}</h3><div class="mw-collapsible-content">{{{content|}}}</div></div></includeonly><noinclude>
<includeonly><div class="mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed|}} secrets"><h3>{{#if:{{{image|}}}|[[File:{{{image|}}}.png|24px]]}} {{{title|}}}</h3><div class="mw-collapsible-content"></includeonly><noinclude>
<pre>
<pre>
{{Toggle
{{Toggle
Line 5: Line 5:
|image=example (optional)
|image=example (optional)
|collapsed=y (optional)
|collapsed=y (optional)
|content=example
}}
}}
Content goes here
</div></div>
</pre></noinclude>
</pre></noinclude>

Revision as of 17:21, 1 November 2021

{{Toggle
|title=example
|image=example (optional)
|collapsed=y (optional)
}}
Content goes here
</div></div>