Template:Collapse top: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jehochman
(undo)
meta>Blooper4912
mNo edit summary
Line 5: Line 5:
| 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>''
|-
|-
| style="border: solid 1px silver; padding: 8px; background-color: white; " |<noinclude>{{Collapse bottom}}
| style="border: solid 1px silver; padding: 8px; background-color: white; " |<noinclude>
{{Collapse bottom}}


{{Documentation}}
{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 23:38, 15 November 2008

  • 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