Psuvillager (talk | contribs) (Simplified, fixed syntax, explicitly included collapsible classes) |
Psuvillager (talk | contribs) (testing) |
||
Line 1: | Line 1: | ||
<div class="mw-collapsible" style="min-height:1.5em"> |
<div class="mw-collapsible" style="min-height:1.5em"> |
||
{{{2}}} |
|||
<div class="collapsible-title">{{{title}}}</div> |
|||
< |
<div mw-collapsible-toggle-placeholder></div> |
||
<div class="mw-collapsible-content"> |
<div class="mw-collapsible-content"> |
||
{{{ |
{{{1}}} |
||
</div> |
</div> |
||
</div> |
</div> |
||
<noinclude> |
|||
<!-- Docs: www.mediawiki.org/wiki/Extension:TemplateData --> |
|||
<templatedata> |
|||
{ |
|||
"description": "This template adds a collapsible div tall enough for its toggle button. Title is optional; content is required.", |
|||
"params": { |
|||
"content": { |
|||
"label": "content", |
|||
"description": "Part that actually collapses", |
|||
"required": true, |
|||
"aliases": ["1"], |
|||
"example": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.", |
|||
"type": "string" |
|||
}, |
|||
"title": { |
|||
"label": "title", |
|||
"description": "Always visible at top (if included)", |
|||
"required": false, |
|||
"suggested": false, |
|||
"deprecated": false, |
|||
"aliases": ["2"], |
|||
"default": null, |
|||
"example": "My Section", |
|||
"type": "string" |
|||
} |
|||
}, |
|||
"paramOrder": ["content","title"], |
|||
"sets": [{ |
|||
"label": "group of related parameters", |
|||
"params": ["content","title"] |
|||
}], |
|||
"format": "inline", |
|||
"maps": {} |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
Revision as of 01:15, 18 January 2025
{{{2}}}
{{{1}}}