Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Rules: Difference between revisions

Template page
(Rules box)
 
No edit summary
 
Line 1: Line 1:
<div class="template-navplate mw-collapsible mw-collapsed" id="navplate-{{{id|{{{title}}}}}}">
<div class="template-navplate mw-collapsible mw-collapsed" id="navplate-rules-{{{id|{{{title}}}}}}">
<div class="template-navplate__header mw-collapsible-toggle">
<div class="template-navplate__header mw-collapsible-toggle">
<div class="citizen-ui-icon mw-ui-icon-wikimedia-collapse"></div>
<div class="citizen-ui-icon mw-ui-icon-wikimedia-collapse"></div>

Latest revision as of 07:54, 7 August 2023

This template creates a simple expandable box to display rules, FAQs, and other content details.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Titletitle

The main title to display within the header.

Stringsuggested
Subtitlesubtitle

The smaller text to display above the title in the header.

Stringsuggested
Bodybody

The content to display within the body. By default, this content is hidden until toggled.

Contentrequired
IDid

Specifies an internal ID for this element. Must be unique. This field should only be filled if this template expands or collapses alongside another such template. Actual value does not matter.

Example
23
Stringoptional