Template:Spoiler: Difference between revisions

From Wiki The-West EN
Jump to navigation
(Created page with "<div class="mw-customtoggle-{{{3|ID}}}"><div class="tw2gui_button_spoiler" style="min-width:{{{4|125}}}px;"><div class="tw2gui_button_right_cap"></div><div class="tw2gui_butto...")
 
No edit summary
 
Line 1: Line 1:
<div class="mw-customtoggle-{{{3|ID}}}"><div class="tw2gui_button_spoiler" style="min-width:{{{4|125}}}px;"><div class="tw2gui_button_right_cap"></div><div class="tw2gui_button_left_cap"></div><div class="tw2gui_button_middle_bg"></div><div class="textart_title">{{{1|spoiler}}}</div></div>
<div class="mw-customtoggle-{{{3|ID}}}"><div class="tw2gui_button_spoiler" style="min-width:{{{4|125}}}px;"><div class="tw2gui_button_right_cap"></div><div class="tw2gui_button_left_cap"></div><div class="tw2gui_button_middle_bg"></div><div class="textart_title">{{{1|spoiler}}}</div></div>
</div><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{3|ID}}}">{{{2|content}}}</div><noinclude>
</div><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{3|ID}}}">{{{5|<div style="border:2px dotted; padding:4px;">}}}{{{2|content}}}{{{5|</div>}}}</div><noinclude>


<br>'''template for spoiler:'''
<br>'''template for spoiler:'''


<code><nowiki>{{Spoiler|spoilername|content|ID|optional:min-width}}</nowiki></code></noinclude>
<code><nowiki>{{Spoiler|spoilername|content|ID|optional:min-width}}</nowiki></code>
 
''Note: a dotted frame is made around the content. to hide that, simply add a | to the end.''[[Category:template]]</noinclude>

Latest revision as of 14:14, 8 May 2022

spoiler
content


template for spoiler:

{{Spoiler|spoilername|content|ID|optional:min-width}}

Note: a dotted frame is made around the content. to hide that, simply add a | to the end.