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...")
 
(Updated usage guidelines and example, and added to Category: Formatting templates)
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.






==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 23: Line 25:
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Templates]]
[[Category:Templates]]
[[Category: Formatting templates]]
}}
}}

Revision as of 01:47, 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.


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]

Examples