Template:Collapsible textbox: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%; max-width:600px; overflow:auto;">
<div class="mw-collapsible mw-collapsed mw-collapsible-container" style="width:100%; max-width:{{{width|600px}}}; overflow:auto; text-align: left; width:100%;">
<div style="font-weight:bold;line-height:1.6;">{{{title}}}</div>
<div style="font-weight:bold;line-height:1.6; background: #f2f2f2; padding: 10px 15px;" class="mw-collapsible-title">{{{title}}}</div>
<div class="mw-collapsible-content" style="background:none;">
<div style="padding: 10px 15px; border: solid 1px #f2f2f2;" class="mw-collapsible-content">
{{{text}}}
{{{text}}}
</div></div>
</div></div>
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Article Boxes]]
</noinclude>
<templatedata>
{
"params": {
"title": {
"label": "Box Title",
"type": "string",
"required": true
},
"text": {
"label": "Box Text",
"type": "string",
"required": true
},
"width": {
"label": "Width"
}
},
"description": "This template adds a collapsible textbox",
"paramOrder": [
"title",
"text",
"width"
]
}
</templatedata></noinclude>
<templatestyles src="Collapsible_textbox/styles.css" />

Latest revision as of 20:30, 1 May 2022

{{{title}}}

{{{text}}}

This template adds a collapsible textbox

Template parameters

ParameterDescriptionTypeStatus
Box Titletitle

no description

Stringrequired
Box Texttext

no description

Stringrequired
Widthwidth

no description

Unknownoptional