Template:Collapse top/doc: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>William Allen Simpson
m (category sort)
w:en>Harej
(+padding)
Line 5: Line 5:
To be used for placing collapse boxes around discussions as follows:
To be used for placing collapse boxes around discussions as follows:
<pre>
<pre>
{{Collapse top|1=Optional text|bg=Optional background colour (e.g. #98FB98)}}
{{Collapse top|1=Optional text|bg=Optional background colour (e.g. #98FB98)|padding=Amount of cell padding (defaults to 8px)}}


     DISCUSSION
     DISCUSSION

Revision as of 19:47, 8 July 2009

{{#invoke:Message box|ombox}}

Usage

To be used for placing collapse boxes around discussions as follows:

{{Collapse top|1=Optional text|bg=Optional background colour (e.g. #98FB98)|padding=Amount of cell padding (defaults to 8px)}}

     DISCUSSION

{{Collapse bottom}}

Around header text:

====[[Heading]]==== → Replace with {{subst:DAT|[[Heading]]|}}

DISCUSSION ← Body of the discussion stays unchanged

→ Close the box with {{subst:Collapse bottom}}

See also