Template:Hide: Difference between revisions

From Destinypedia, the Destiny wiki

(Replacing spoiler template with Halopedia template)
No edit summary
Line 1: Line 1:
<div 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;}}}"><div style="{{{style2|border-bottom:1px solid #88A; text-align:center; padding:2px 6px 0px 6px; font-size:14px; background:{{{color|#E8E8E8}}};}}}">{{{title|Warning: Spoiler Content!}}}</div>
{| 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;}}}"
<div class="mw-collapsible-content" style="{{{style3|padding:4px 6px;}}}">
|style="{{{style2|border-bottom:1px solid #88A; text-align:center; padding:2px 6px 0px 6px; font-size:14px; background:{{{color|#E8E8E8}}};}}}"|{{{title|Warning: Spoiler Content!}}}
{{{1|Insert Spoilers Here}}}</div>
|-
</div><noinclude>
|style="{{{style3|padding:4px 6px;}}}"|
{{{1|Insert Spoilers Here}}}
|}<noinclude>
==About==
==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:
This template hides content expressed in the "content" field by default. To use the template, simply copy the following and fill in the fields:

Revision as of 13:32, March 30, 2017

Warning: Spoiler Content!

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.