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 difference)

Revision as of 23:38, 1 January 2025

This subpage provides documentation for Template:Collapse top.


The {{collapse top}} template, and its paired template {{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 {{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]

Sample contents text

Examples