Difference between revisions of "Help:Extra features"

From Krafties
Jump to navigation Jump to search
(Created page with "This page tells you about the extra features you can include in tables or div when formatting, the mediawikiwiki:MediaWiki manuals will be linked for detailed instruction...")
 
Line 2: Line 2:
  
 
==Classes==
 
==Classes==
 +
You can use these classes together
 +
:example:<code>class="wikitable sortable"</code> or <code>class="wikitable mw-collapsible mw-collapsed"</code>
 
===Styling Tables===
 
===Styling Tables===
 
:these control the color theme of the tables. You can skip this class to create a table without outlines/background
 
:these control the color theme of the tables. You can skip this class to create a table without outlines/background
Line 14: Line 16:
 
*<code>unsortable</code> (this you can add to specific column headers to make said column unsortable)
 
*<code>unsortable</code> (this you can add to specific column headers to make said column unsortable)
  
===Collapse/Expanding Tables/Divs===
+
===Collapsable Tables/Divs===
 
:This allows you to collapse the table (or div) to prevent clutter, specially if the table is a big one
 
:This allows you to collapse the table (or div) to prevent clutter, specially if the table is a big one
 
:'''[[mediawikiwiki:Manual:Collapsible elements|MediaWiki Manual about Collapsible elements]]
 
:'''[[mediawikiwiki:Manual:Collapsible elements|MediaWiki Manual about Collapsible elements]]

Revision as of 15:15, 14 July 2015

This page tells you about the extra features you can include in tables or div when formatting, the MediaWiki manuals will be linked for detailed instructions.

Classes

You can use these classes together

example:class="wikitable sortable" or class="wikitable mw-collapsible mw-collapsed"

Styling Tables

these control the color theme of the tables. You can skip this class to create a table without outlines/background
  • wikitable (the default style)
  • bluetable
  • purpletable
  • pinktable

Sorting Tables

adding this command will allow you to make sortable tables
  • sortable
  • unsortable (this you can add to specific column headers to make said column unsortable)

Collapsable Tables/Divs

This allows you to collapse the table (or div) to prevent clutter, specially if the table is a big one
MediaWiki Manual about Collapsible elements
  • mw-collapsible (by default the table/div will be expanded, allowing optional collapsing)
  • mw-collapsed (adding this causes the table to be collapsed by default)
  • mw-collapsed-content (this allows you to control which sections will collapse, works in a <div> but not tables)