Template:Hide: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
No edit summary
Line 1: Line 1:
<div style="overflow:hidden;">
<div style="overflow:hidden;">
{| class="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="hide 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;}}}"
|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.'''''}}}
|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.'''''}}}
|-
|-
|style="{{{style3|padding:3px 6px 1px;}}}"|
|class="hide-content" style="{{{style3|padding:3px 6px 1px;}}}"|
{{{1|Insert Spoilers Here}}}
{{{1|Insert Spoilers Here}}}
|}</div><noinclude>
|}</div><noinclude>

Revision as of 01:11, May 5, 2020

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.