Template:Collapse top/doc: Difference between revisions
Jump to navigation
Jump to search
w:en>Sam Korn (→General: add note on {{{bg}}}) |
w:en>Sam Korn m (→General: closing bracket) |
||
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)}} | ||
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.