Editing
Template:Collapsible section
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== {{{toc}}} === </div> <div {{#if:{{{id|}}}|id="{{{id}}}"|}} class="wizlords-collapsible-section mw-collapsible mw-collapsed wizlords-collapsed-hint-section"> <div class="wizlords-collapsible-section-title">{{{title}}}</div> <div class="wizlords-collapsed-hint">{{{summary}}}</div> <div class="mw-collapsible-content"> {{{content}}} {{#if:{{{bottom|}}}|<div class="wizlords-collapsible-section-bottom-toggle {{{bottom class|}}}">[<span>Collapse</span>]</div>}} </div> </div></includeonly><noinclude> == About this template == Creates a reusable collapsed article section together with its hidden table-of-contents heading. The existing MediaWiki collapsible system controls the top toggle, and an optional bottom control can close longer sections. Do not change the generated CSS classes or move the content wrapper. The site CSS, Citizen presentation, and shared JavaScript depend on this structure. == Parameters == * <code>toc</code> - exact text for the hidden level-three TOC heading, including any manual number. * <code>title</code> - visible title on the collapsible box. * <code>summary</code> - short hint shown while the section is collapsed. * <code>content</code> - the section's wikitext content. * <code>id</code> - optional exact ID for the outer box. * <code>bottom</code> - optional; set to <code>yes</code> to add the existing bottom Collapse control. * <code>bottom class</code> - optional additional class required by a specific bottom control. == Basic example == <pre> {{Collapsible section |toc=5.1. Approved Weapon Brands |title=Approved Weapon Brands |summary=Expand this section to view commonly approved weapon brands. |content= The following brands are generally accepted, pending safety inspection: * Example Brand * Another Brand }} </pre> amaKeep <code>toc</code> separate from <code>title</code> when the TOC entry contains a manual section number. </noinclude>
Summary:
Please note that all contributions to Wizards and Warlords may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wizards and Warlords:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
View history
More
Search
Quick Navigation
Common CSS
Vector CSS
Citizen CSS
Sidebar Edit
Template Summary
Upload File
Special Pages
The Rules
Combat Rules
Combat and Damage
Terrain and Hazzards
Armour and Hit Points
Weapons and Equipment
Spellcasting Rules
Game Special Rules
Tools
What links here
Related changes
Page information