Template:Collapse top/doc: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>Avraham
(Doc)
 
w:en>Avraham
(→‎Usage: better)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
=== Usage ===
=== Usage ===
====General====
To be used for placing collapse boxes around discussions as follows:
To be used for placing collapse boxes around discussions as follows:
<pre>
{{Collapse top|1=Optional text}}


    DISCUSSION
{{Collapse bottom}}
</pre>
====Around header text====
'''====[[[[Header]]]]====''' &rarr; Replace with <span style="background:lightyellow;">'''<nowiki>{{subst:dat|[[</nowiki>[[Header]]<nowiki>]]|</nowiki>}}'''</span>
'''====[[[[Header]]]]====''' &rarr; Replace with <span style="background:lightyellow;">'''<nowiki>{{subst:dat|[[</nowiki>[[Header]]<nowiki>]]|</nowiki>}}'''</span>



Revision as of 10:10, 9 September 2008

{{#invoke:Message box|ombox}}

Usage

General

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

{{Collapse top|1=Optional text}}

     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 bottom}}) need to be substed for the time stamp to work properly.