Template:Collapse bottom: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>TheFrz
mNo edit summary
>TheFrz
m (Reworked, see Template:Collapse top)
 
Line 1: Line 1:
<includeonly>|}</div></includeonly><noinclude>
<includeonly></div></div></includeonly><noinclude>
{{Documentation|Template:Collapse top/doc}}
{{Documentation|Template:Collapse top/doc}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Latest revision as of 18:26, 21 November 2016

Template documentation[view] [edit] [history] [purge]


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|OptionalIDToMakeThatEachColapsibleCollapseAndExpandSeparately}}
Sample contents text
{{collapse bottom}}

produces:

This is the title text [Expand]

Sample contents text