Template:Collapse top: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>TheFrz
mNo edit summary
>TheFrz
mNo edit summary
Line 5: Line 5:
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}}
|{{{{{|safesubst:}}}!}}-
|{{{{{|safesubst:}}}!}}-
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. {{strongbad|Please do not modify it.}} }}} }}
{{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is a closed debate. <span style="color: red; font-weight: bold;">Please do not modify it.</span> }}} }}
|-
|-
| style="border: solid {{{border2|1px #211F18}}}; padding: {{{padding|8px}}}; background: {{{bg2|#0f0f0f}}};" {{{{{|safesubst:}}}!}}<noinclude>
| style="border: solid {{{border2|1px #211F18}}}; padding: {{{padding|8px}}}; background: {{{bg2|#0f0f0f}}};" {{{{{|safesubst:}}}!}}<noinclude>

Revision as of 20:24, 20 June 2016

Extended content

Lorem ipsum

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
OptionalIDToMakeThatEachColapsibleCollapseAndExpandSeparately

Sample contents text