Template:Important section: Difference between revisions

From Wizards and Warlords
Jump to navigation Jump to search
Created page with "<includeonly><templatestyles src="Template:Important section/styles.css" /><div class="wizlords-toc-only-heading"> {{#ifeq:{{{toc level|2}}}|3|=== {{{toc}}} ===|== {{{toc}}} ==}} </div> <div {{#if:{{{id|}}}|id="{{{id}}}"|}} class="wizlords-important-section"> <div class="wizlords-important-section-title">{{{title}}}</div> <div class="wizlords-important-section-content"> {{{content}}} </div> </div></includeonly><noinclude> == About this template == Creates a permanently o..."
 
No edit summary
Line 1: Line 1:
<includeonly><templatestyles src="Template:Important section/styles.css" /><div class="wizlords-toc-only-heading">
<includeonly><div class="wizlords-toc-only-heading">
{{#ifeq:{{{toc level|2}}}|3|=== {{{toc}}} ===|== {{{toc}}} ==}}
{{#ifeq:{{{toc level|2}}}|3|=== {{{toc}}} ===|== {{{toc}}} ==}}
</div>
</div>

Revision as of 00:13, 22 September 2026

About this template

Creates a permanently open highlighted article section for important information. It uses the established bordered-box appearance but contains no collapsible classes, controls, states, or JavaScript behaviour.

Parameters

  • toc - exact text for the hidden table-of-contents heading.
  • toc level - optional; defaults to 2. Set to 3 when the box belongs beneath a level-two section.
  • title - visible title displayed inside the box.
  • content - the section's flexible wikitext content.
  • id - optional exact ID for the outer box.

Example

{{Important section
|toc=Important Information
|title=Important Information
|content=
This highlighted section is always open and has no expand or collapse controls.
}}