Difference between revisions of "Template:Collapse"

From RimWorld Wiki
Jump to navigation Jump to search
m
(Replaced)
Line 1: Line 1:
<span class="spoiler-title closed" style="font: 24px/1em 'Glyphicons Regular';">&#xE368;</span><div class="spoiler-body">
+
{<noinclude></noinclude>{{!}} <!-- Template:Collapse --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em;"
{{{1}}}
+
{{!}}-
</div><noinclude>{{documentation}}</noinclude>
+
! style="background-color: {{{bg|#CFC}}};" {{!}} <div style="font-size:112%;">{{{2|Extended content}}}</div>  
 +
{{!}}-
 +
{{!}} 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:35, 16 August 2014

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 -->
}}