Template:Collapse top/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>GKPlight
(new doc with the change i did.)
>GKPlight
mNo edit summary
Line 12: Line 12:
{{collapse bottom}}</pre>
{{collapse bottom}}</pre>
produces:
produces:
{{collapse top|This is the title text|OptionalIDToMakeThatEachColapsibleCollapseOrExpandSeparately}}
{{collapse top|This is the title text|OptionalIDToMakeThatEachColapsibleCollapseAndExpandSeparately}}
Sample contents text
Sample contents text
{{collapse bottom}}
{{collapse bottom}}

Revision as of 22:56, 6 February 2021

This subpage provides documentation for Template:Collapse top.

Shortcut

The {{collapse top}} template (or {{cot}}), and its paired template {{collapse bottom}} (or {{cob}}), are used for placing a collapse box around a talk page discussion, especially when the content contains complex wikimarkup such as tables. For very simple content, the one-piece template {{collapse}} can be used instead.

Usage

Place {{collapse top}} (or {{cot}}), and {{collapse bottom}} (or {{cob}}), around the text to be collapsed. For example:

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

produces:

This is the title text [Expand]

Sample contents text