Template:Hide: Difference between revisions

From Destinypedia, the Destiny wiki

(Created page with "{| class="collapsible collapsed" style="width:100%; align:center; margin:0 auto; margin-top:7px; border:1px solid #999999; background:#F2F3F4; border-radius:4px;" ! style="bo...")
 
(Replacing spoiler template with Halopedia template)
Line 1: Line 1:
{| class="collapsible collapsed" style="width:100%; align:center; margin:0 auto; margin-top:7px; border:1px solid #999999; background:#F2F3F4; border-radius:4px;"  
<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>
! style="border:1px solid #88A; text-align:center; padding:2px; font-size:0.9em; margin:2px auto; background:{{{color|#E8E8E8}}}; border-radius:4px;" | {{{title|Warning: spoiler alert}}}
<div class="mw-collapsible-content" style="{{{style3|padding:4px 6px;}}}">
|-
{{{1|Insert Spoilers Here}}}</div>
|{{{content|Insert Spoilers Here}}}
</div><noinclude>
|}<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:
<pre>
<pre>
{{Hide
{{Hide|title=|}}
|content=
}}
</pre>
</pre>
[[Category:Content templates|Hide Spoiler]]
 
;Example:
<pre>{{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.}}</pre>
:creates
{{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]]
</noinclude>
</noinclude>

Revision as of 15:15, March 28, 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.