Template:Collapse top

From Zoophilia Wiki
Revision as of 19:40, 11 January 2009 by meta>FT2 (test - does this fix repeated transclusion problems?)
Jump to navigationJump to search

{ | class="navbox collapsible collapsed" style="text-align: left; border: 0px; margin-top: 0.2em;" |- ! style="background-color: #ffd8a0;" | Extended content |- | style="text-align:center;" | The following content has been placed in a collapse box for improved usability. |- | style="border: solid 1px silver; padding: 8px; background-color: white; " |

|}

  • 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