Difference between revisions of "Template:Collapse/doc"

From RimWorld Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
;Description
 
;Description
 
:Template to auto-collapse longform game data in articles.
 
:Template to auto-collapse longform game data in articles.
:Click <span style="font: 24px/1em 'Glyphicons Regular'; color: blue;">&#xE368;</span> to show hidden content, and <span style="font: 24px/1em 'Glyphicons Regular'; color: green;">&#xE370;</span> to hide it back.
+
:Click [<span style="color:blue;">Expand</span>] to show hidden content, and [<span style="color:blue;">Collapse</span>] to hide it back.
 
;Syntax
 
;Syntax
 
<pre>{{collapse|
 
<pre>{{collapse|
 
<!-- content here -->
 
<!-- content here -->
 
}}</pre>
 
}}</pre>
{{collapse|
+
{{collapse|content here}}
Content
+
 
}}
+
<includeonly>[[Category:General wiki templates]]</includeonly>
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 20:17, 7 June 2022

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