Difference between revisions of "Template:Collapse"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<div class="collapse-template mw-collapsible mw-collapsed"> {{{1}}} </div><noinclude> Template to auto-collapse longform game data in articles, so you click Expand to display ...")
 
Line 1: Line 1:
<div class="collapse-template mw-collapsible mw-collapsed">
+
<div class="spoiler-title closed">[show]</div><div class="spoiler-body">
 
{{{1}}}
 
{{{1}}}
</div><noinclude>
+
</div><noinclude>{{documentation}}</noinclude>
Template to auto-collapse longform game data in articles, so you click Expand to display the things you need to read
 
==Usage==
 
<pre>
 
{{Collapse|
 
<!-- content here -->
 
}}
 
</pre>
 
[[Category:Templates]]
 
</noinclude>
 

Revision as of 13:11, 10 January 2014

[show]

{{{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 -->
}}
[show]

content here