Template:Collapse top: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Plastikspork
m (pp)
meta>Rjanag
(try a fix)
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;"
{{!}}-
{{!}}-
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|Extended content}}}     
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|{{{title}}}|Extended content}}}     
{{!}}-
{{!}}-
{{!}} style="border: solid 1px silver; padding: {{{padding|8px}}}; background-color: white; " {{!}}<noinclude>
{{!}} style="border: solid 1px silver; padding: {{{padding|8px}}}; background-color: white; " {{!}}<noinclude>

Revision as of 16:11, 17 January 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