Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
Line 139: Line 139:
|}
|}
{{/Toggle}}
{{/Toggle}}
===Toggle button - table===
* <code><nowiki>r-collapsible-table</nowiki></code> - Class added to the table that you want to collapse/expand.
* <code><nowiki>r-collapsed</nowiki></code> - Class added to the table that you want to be collapsed by default.
* <code><nowiki>r-collapsible-title</nowiki></code> - Class added to the '''table header''' (or first row) that you want to be displayer when collapsed.
<pre>
{| class="MT-Global r-collapsible-table r-collapsed"
! class="MT-Title r-collapsible-title" | Title
|-
| Content
|}
</pre>
'''Preview:'''
{| class="MT-Global r-collapsible-table r-collapsed"
! class="MT-Title r-collapsible-title" | Title
|-
| Content
|}


==Other==
==Other==

Revision as of 16:48, 29 March 2024