Difference between revisions of "Template:Collapse"

From RimWorld Wiki
Jump to navigation Jump to search
(Replaced)
m
 
(9 intermediate revisions by 5 users not shown)
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;"
+
<noinclude>
{{!}}-
+
{{Delete}}
! 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>
 
</noinclude>
 +
<div><div class="mw-collapsible mw-collapsed" style="width:4.5%">
 +
<div class="mw-collapsible-content" style="width:7000%">
 +
{{{1|}}}
 +
</div></div></div>
 +
<noinclude>{{documentation}}</noinclude>

Latest revision as of 20:19, 7 June 2022

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