Template:Collapse top/doc: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>Avraham
m (→‎Around header text: correction)
w:en>Sam Korn
(→‎General: add note on {{{bg}}})
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}}
{{Collapse top|1=Optional text|bg=Optional background colour (e.g. #98FB98}}


     DISCUSSION
     DISCUSSION

Revision as of 13:34, 16 January 2009

{{#invoke:Message box|ombox}}

Usage

General

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

{{Collapse top|1=Optional text|bg=Optional background colour (e.g. #98FB98}}

     DISCUSSION

{{Collapse bottom}}

Around header text

====[[Header]]==== → Replace with {{subst:dat|[[Header]]|}}

DISCUSSION ← Body of the discussion stays unchanged

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

  • This template and {{Collapse top}}) need to be substed for the time stamp to work properly.