Template:Collapse top: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
(changes requested by Ludwigs2 to allow merge of Template:Hidden archive top)
meta>Killiondude
(+)
Line 1: Line 1:
{<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em;"
{<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible {{#if:{{{expand|}}}||collapsed}}" style="text-align: left; border: {{{border|1px}}} solid silver; margin-top: 0.2em; {{{width|}}}"
{{!}}-
{{!}}-
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|{{{title|{{{reason|Extended content}}} }}} }}}     
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|{{{title|{{{reason|Extended content}}} }}} }}}     

Revision as of 17:09, 2 April 2010

  • Adding a standard warning line – {{collapse top|This is the title text|warning=true}}
  • Adding a custom warning line – {{collapse top|This is the title text|This is a custom warning line}}
  • Aligning box title along left margin – {{collapse top|left=true}}
  • Changing background color – {{collapse top|bg=#F0F2F5}}
  • Adding extra padding – {{collapse top|padding=5em}}
  • Archiving a section: the markup below:
{{collapse top}}
==Section header==
Sample contents text
{{collapse bottom}}

must be rewritten as:

{{collapse top|Section header}}
Sample contents text
{{collapse bottom}}

The end result:

TemplateData

Redirects

To Collapse top:

To Collapse bottom:

See also