Difference between revisions of "Template:Collapse"

From RimWorld Wiki
Jump to navigation Jump to search
(Replaced)
(Undo revision 29181 by Zesty (talk) Undone.)
Line 1: Line 1:
{<noinclude></noinclude>{{!}} <!-- Template:Collapse --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em;"
+
<span class="spoiler-title closed" style="font: 24px/1em 'Glyphicons Regular';">&#xE368;</span><div class="spoiler-body">
{{!}}-
+
{{{1}}}
! style="background-color: {{{bg|#CFC}}};" {{!}} <div style="font-size:112%;">{{{2|Extended content}}}</div>  
+
</div><noinclude>{{documentation}}</noinclude>
{{!}}-
 
{{!}} style="border: solid 1px silver; padding: {{{padding|8px}}}; background-color: white; " {{!}}
 
<div style="font-size:112%;">{{{1}}}</div>
 
|}<noinclude>
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 

Revision as of 22:36, 16 August 2014

{{{1}}}

Documentation icon Template documentation[view] [edit] [history] [purge]
Description
Template to auto-collapse longform game data in articles.
Click [Expand] to show hidden content, and [Collapse] to hide it back.
Syntax
{{collapse|
<!-- content here -->
}}

content here