Template:Hide: Difference between revisions

From Destinypedia, the Destiny wiki

(Replacing spoiler template with Halopedia template)
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
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>
<div style="overflow:hidden">
<div class="mw-collapsible-content" style="{{{style3|padding:4px 6px;}}}">
{| 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;}}}"
{{{1|Insert Spoilers Here}}}</div>
|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.'''''}}}
</div><noinclude>
|-
|class="hideContent" style="{{{style3|padding:1px 6px 0;}}}"|
{{{1|Insert spoilers here}}}
|}</div><templatestyles src="Hide/styles.css"/><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:
Line 14: Line 17:
{{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.}}
{{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.}}


[[Category:Content templates|Hide]]
[[Category:Content templates]]</noinclude>
</noinclude>

Latest revision as of 07:51, March 13, 2024

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.