Template:Collapse top: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (Source: https://Wikitech.Wikimedia.org/wiki/Template:Collapse_top) |
Hoof Hearted (talk | contribs) (Cleanup) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{ | {{{!}}<!--Template:Collapse top-->class="navbox mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="text-align:left; border:{{{border|1px}}} solid silver; margin-top:0.2em" | ||
!style="background-color:{{{bg|#CFC}}}"{{!}}{{{1|Extended content}}} | !style="background-color:{{{bg|#CFC}}}"{{!}}{{{1|Extended content}}} | ||
{{!}}- | {{!}}- | ||
{{!}}style= | {{!}}style=text-align:center{{!}}''The following content has been placed in a collapsed box for improved usability.'' | ||
{{!}}- | {{!}}- | ||
{{!}}style="border:solid 1px silver; padding:8px; background-color:white"{{!}}<noinclude> | {{!}}style="border:solid 1px silver; padding:8px; background-color:white"{{!}}<noinclude> | ||
Line 13: | Line 12: | ||
<pre> | <pre> | ||
{{Collapse top|Optional title}} | {{Collapse top|Optional title}} | ||
Example content | Example content inside a collapsible box with a green title bar | ||
{{Collapse bottom}} | {{Collapse bottom}}</pre> | ||
</pre> | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 22:32, 5 May 2022
Extended content |
---|
The following content has been placed in a collapsed box for improved usability. |
Example content. |
The above content has been placed in a collapsed box for improved usability. |
- Usage
{{Collapse top|Optional title}} Example content inside a collapsible box with a green title bar {{Collapse bottom}}