Template:Collapse top/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>William Allen Simpson
m category sort
meta>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 03:47, 9 July 2009

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