Template:Collapsible textbox: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%; max-width:600px; overflow:auto;"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:100%; max-width:600px; overflow:auto;"> | ||
<div style="font-weight:bold;line-height:1.6;">{{{title}}}</div> | <div style="font-weight:bold;line-height:1.6;">{{{title}}}</div> | ||
<div class="mw-collapsible-content | <div class="mw-collapsible-content"> | ||
{{{text}}} | {{{text}}} | ||
</div></div> | </div></div> | ||
<noinclude> | <noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"title": { | |||
"label": "Box Title", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"text": { | |||
"label": "Box Text", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "This template adds a collapsible textbox", | |||
"paramOrder": [ | |||
"title", | |||
"text" | |||
] | |||
} | |||
</templatedata></noinclude> |
Revision as of 19:18, 1 May 2021
{{{title}}}
{{{text}}}
This template adds a collapsible textbox
Parameter | Description | Type | Status | |
---|---|---|---|---|
Box Title | title | no description | String | required |
Box Text | text | no description | String | required |