Template:Collapse top/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Avraham Doc |
meta>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]]]]====''' → Replace with <span style="background:lightyellow;">'''<nowiki>{{subst:dat|[[</nowiki>[[Header]]<nowiki>]]|</nowiki>}}'''</span> | '''====[[[[Header]]]]====''' → Replace with <span style="background:lightyellow;">'''<nowiki>{{subst:dat|[[</nowiki>[[Header]]<nowiki>]]|</nowiki>}}'''</span> | ||
Revision as of 18:10, 9 September 2008
| This is a documentation subpage for Template:Collapse top. It may contain usage information, categories and other content that is not part of the original template page. |
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.