Template:Hide: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Line 1: Line 1:
<div style="overflow:hidden;">
<div style="overflow:hidden;">
{| class="hideTem mw-collapsible mw-collapsed" style="{{{style1|width:100%; align:center; margin:4px auto; border:1px solid #999999; background:rgba(242,243,244,.5); border-radius:4px;}}}"
{| class="hideTem mw-collapsible mw-collapsed" style="{{{style1|width:100%; margin:4px auto; border:1px solid #999; background:rgba(242,243,244,.5); border-radius:4px;}}}"
|class="hideTem" style="{{{style2|border-bottom:1px solid #88A; text-align:center; padding:0 6px 2px; font-size:14px; color:#000; background:{{{color|#E8E8E8}}};}}}"|{{{title|'''Spoiler warning: ''Plot and/or ending details follow.'''''}}}
|class="hideTem" style="{{{style2|border-bottom:1px solid #88A; text-align:center; padding:0 6px 2px; font-size:1.1em; color:#000; background:{{{color|#E8E8E8}}};}}}"|{{{title|'''Spoiler warning: ''Plot and/or ending details follow.'''''}}}
|-
|-
|class="hideContent" style="{{{style3|padding:3px 6px 1px;}}}"|
|class="hideContent" style="{{{style3|padding:1px 6px 0;}}}"|
{{{1|Insert spoilers here}}}
{{{1|Insert spoilers here}}}
|}</div><noinclude>
|}</div><noinclude>

Revision as of 09:42, August 26, 2021

Spoiler warning: Plot and/or ending details follow.

Insert spoilers here

About

This template hides content expressed in the "content" field by default. To use the template, simply copy the following and fill in the fields:

{{Hide|title=|}}
Example
{{Hide|title=Lorem Ipsum spoiler|This text is collapsible. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
creates
Lorem Ipsum spoiler

This text is collapsible. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.