Template:Collapse top/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sam Korn m →General: closing bracket |
meta>Thumperward tidy |
||
| 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 === | ||
To be used for placing collapse boxes around discussions as follows: | To be used for placing collapse boxes around discussions as follows: | ||
<pre> | <pre> | ||
| Line 12: | Line 12: | ||
</pre> | </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> | ||
| Line 21: | Line 22: | ||
*This template and {{tl|Collapse top}}) need to be substed for the time stamp to work properly. | *This template and {{tl|Collapse top}}) need to be substed for the time stamp to work properly. | ||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | === See also === | ||
* {{tl|collapse}} | |||
<includeonly> | |||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | |||
[[Category:Archival templates|Collapse top]] | [[Category:Archival templates|Collapse top]] | ||
</includeonly> | </includeonly> | ||
Revision as of 16:51, 12 March 2009
| 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
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.
See also
- {{collapse}}