Template:Collapse top: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>FT2
m (fix)
meta>Caspian blue
m (changed the too conspicuous orange color to neural light green to harmonize with the opening document)
Line 1: Line 1:
{<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible collapsed" style="text-align: left; border: {{{border|0px}}}; margin-top: 0.2em;"
{<noinclude></noinclude>{{!}} <!-- Template:Collapse top --> class="navbox collapsible collapsed" style="text-align: left; border: {{{border|0px}}}; margin-top: 0.2em;"
{{!}}-
{{!}}-
! style="background-color: {{{bg|#ffd8a0}}};" {{!}} {{{1|Extended content}}}     
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|Extended content}}}     
{{!}}-
{{!}}-
{{!}} style="text-align:center;" {{!}} ''The following content has been placed in a collapse box for improved usability.'''</span>''
{{!}} style="text-align:center;" {{!}} ''The following content has been placed in a collapse box for improved usability.'''</span>''

Revision as of 23:29, 16 January 2009

  • 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