Changes

1,045 bytes added ,  23:40, 30 June 2022
no edit summary
Line 1: Line 1:  
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{ID|{{{2|unset}}}}}}">{{{content|{{{1|No content was hidden...}}}}}}</div>
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{{ID|{{{2|unset}}}}}}">{{{content|{{{1|No content was hidden...}}}}}}</div>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"ID": {
 +
"label": "Controller ID",
 +
"description": "The ID of the HiddenToggle template. The ID can be any value, but the values of the paired templates MUST match verbatim.",
 +
"type": "string",
 +
"autovalue": "unset",
 +
"required": true
 +
},
 +
"content": {
 +
"label": "Hidden Content",
 +
"description": "The data to hide until the toggle is activated. This can be anything, including files and other templates. Specifying the \"content=\" field is optional: Any content after the first pipe will display as hidden text.",
 +
"type": "content",
 +
"autovalue": "No content was hidden...",
 +
"required": true
 +
}
 +
},
 +
"description": "This template toggles content included within it. By default, a [Expand/Collapse] button is floated to the right of the screen, but this is automatically hidden when a Template:HiddenToggle/Button with a matching ID is included on the same page. This template works best with the aforementioned template.",
 +
"format": "block"
 +
}
 +
</templatedata>
 +
</noinclude>