Template:Collapse top/doc: Difference between revisions

Jump to navigation Jump to search
→‎Usage: better
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>


Anonymous user

Navigation menu