FANDOM


This is a test page. Anyone is free to use the code or examples on this page if they're at all helpful.
For a full list of test pages on the Mathmagician Wiki, see Category:Test pages.
Comment: Collapsible tables using Help:Collapsing

CSS usedEdit

/* Make collapsible table's link green/normal font */
.mw-collapsible-toggle a {
    color: green;
    font-weight: normal;
}
 
/* For special mwCollapsibleAltered tables */
.mwCollapsibleAltered .mw-collapsible-toggle a {
    color: red;
    font-weight: bold;
}

"Template" 1Edit

Title
This button uses the default color: green; and font-weight: normal; If you also check out the example at Help:Collapsing, you'll notice that table also has a green button, because I've written CSS to make it white.

"Template" 2Edit

Title
This button is altered from the default by adding class=mwCollapsibleAltered to the table. It uses color: red; and font-weight: bold; instead of the default above.

"Template" 3Edit

Title
This button is also altered from the default by adding class=mwCollapsibleAltered to the table. It uses color: red; and font-weight: bold; instead of the default above.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.