Template:Collapse top: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Stevertigo
mNo edit summary
meta>Stevertigo
mNo edit summary
Line 2: Line 2:
{{!}}-
{{!}}-
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|Extended content}}}     
! style="background-color: {{{bg|#CFC}}};" {{!}} {{{1|Extended content}}}     
/*
{{!}}-
! style="width: {{{wd|400px}}};" {{!}} {{{2|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 19:20, 26 March 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