Template:Collapse top/doc: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>Vegas Bleeds Neon
m (+hu)
w:en>Markhurd
(→‎Usage: Adjusted due to this /doc being used for both Collapse top and Collapse bottom; Correct casing of DAT; wikilink to Help:Section|Heading)
Line 14: Line 14:
Around header text:
Around header text:


'''====[[[[Header]]]]====''' &rarr; Replace with <span style="background:lightyellow;">'''<nowiki>{{subst:dat|[[</nowiki>[[Header]]<nowiki>]]|</nowiki>}}'''</span>
'''====[[[[Help:Section|Heading]]]]====''' &rarr; Replace with <span style="background:lightyellow;">'''<nowiki>{{subst:DAT|[[</nowiki>[[Help:Section|Heading]]<nowiki>]]|</nowiki>}}'''</span>


DISCUSSION &larr; Body of the discussion stays unchanged
DISCUSSION &larr; Body of the discussion stays unchanged
Line 20: Line 20:
&rarr; Close the box with <span style="background:lightyellow;">'''<nowiki>{{subst:Collapse bottom}}</nowiki>'''</span>
&rarr; Close the box with <span style="background:lightyellow;">'''<nowiki>{{subst:Collapse bottom}}</nowiki>'''</span>
   
   
*This template and {{tl|Collapse top}}) need to be substed for the time stamp to work properly.
*{{tl|Collapse top}}, or the redirect {{tl|DAT}}, and {{tl|Collapse bottom}} need to be substed for the time stamp to work properly.


=== See also ===
=== See also ===

Revision as of 00:16, 31 May 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)}}

     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