The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.

Template:Collapse top/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} The {{tlx|collapse top}} template, and its paired template {{tlx|collapse bottom}}, are used for placing a collapse box around a talk page discussion, especially when the content contains things that take too mush place, such as tables. It make this content easily skipable, but also easily accessible. ==Usage== Place {{tlx|collapse top}}, and {{tlx|collapse bottom}}, around the text to be collapsed. For example: <pre>{{collapse top|This is...")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


==Usage==
The {{tlx|collapse top}} template, and its paired template {{tlx|collapse bottom}}, are used for placing a collapse box around certain content (like resolved talk page discussions) that is no longer considered necessary information for the space.


The {{tlx|collapse top}} template, and its paired template {{tlx|collapse bottom}}, are used for placing a collapse box around a talk page discussion, especially when the content contains things that take too mush place, such as tables. It make this content easily skipable, but also easily accessible.
'''Note:''' It is '''not''' intended to hide or collapse content in articles. Content in articles can be seperated using things like {{tlx|Blockquote top}} and {{tlx|Blockquote bottom}}, or {{tlx|Code}}. It is moreso a tool to simplify long talkpages with previously complicated or long topics. See [https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Scrolling_lists_and_collapsible_content Wikipedia's Manual of Style]
 
 


==Usage==
==Example==
Place {{tlx|collapse top}}, and {{tlx|collapse bottom}}, around the text to be collapsed. For example:
Place {{tlx|collapse top}}, and {{tlx|collapse bottom}}, around the text to be collapsed. For example:


Line 16: Line 16:
Sample contents text
Sample contents text
{{collapse bottom}}
{{collapse bottom}}
===Examples===


{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Templates]]
[[Category:Formatting templates]]
{{Sister|poewiki}}
}}
}}

Latest revision as of 10:21, 2 January 2025

This subpage provides documentation for Template:Collapse top.

Usage

The {{collapse top}} template, and its paired template {{collapse bottom}}, are used for placing a collapse box around certain content (like resolved talk page discussions) that is no longer considered necessary information for the space.

Note: It is not intended to hide or collapse content in articles. Content in articles can be seperated using things like {{Blockquote top}} and {{Blockquote bottom}}, or {{Code}}. It is moreso a tool to simplify long talkpages with previously complicated or long topics. See Wikipedia's Manual of Style

Example

Place {{collapse top}}, and {{collapse bottom}}, around the text to be collapsed. For example:

{{collapse top|This is the title text|OptionalIDToMakeThatEachColapsibleCollapseAndExpandSeparately}}
Sample contents text
{{collapse bottom}}

produces:

This is the title text [Expand]