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
(added Wikipedia Manual of style reference)
No edit summary
 
Line 5: Line 5:


'''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]
'''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]


==Example==
==Example==
Line 18: 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]]
[[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]