Editing Help:Extra features

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
This page tells you about the extra features you can include in tables or div when formatting, the [[mediawikiwiki:MediaWiki|MediaWiki]] manuals will be linked for detailed instructions.
 
This page tells you about the extra features you can include in tables or div when formatting, the [[mediawikiwiki:MediaWiki|MediaWiki]] manuals will be linked for detailed instructions.
  
You can use these classes together, but some only work for specific things.
+
==Classes==
 +
You can use these classes together  
 
:example:<code>class="wikitable sortable"</code> or <code>class="wikitable mw-collapsible mw-collapsed"</code>
 
: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
;Default wikitable style
+
*<code>wikitable</code> (the default style)
*<code>wikitable</code>
 
;CSS styling customized for to Krafties Wiki
 
 
*<code>bluetable</code>
 
*<code>bluetable</code>
 
*<code>purpletable</code>
 
*<code>purpletable</code>
 
*<code>pinktable</code>
 
*<code>pinktable</code>
*<code>greentable</code>
 
  
==Sorting Tables==
+
===Sorting Tables===
:adding this class will allow you to make sortable tables
+
:adding this command will allow you to make sortable tables
:'''[[mediawikiwiki:Help:Sorting|MediaWiki Manual]]''' about Sortable Tables and on '''[https://meta.wikimedia.org/wiki/Help:Sorting WikiMedia for more details]'''
 
 
*<code>sortable</code>
 
*<code>sortable</code>
 
*<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)
  
==Collapsable 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]]
*<code>mw-collapsible</code>
+
*<code>mw-collapsible</code> (by default the table/div will be expanded, allowing optional collapsing)
*:by default the table/div will be expanded, allowing optional collapsing
+
*<code>mw-collapsed</code> (adding this causes the table to be collapsed by default)
*<code>mw-collapsed</code>  
+
*<code>mw-collapsible-content</code> (this allows you to control which sections will collapse, works in a <code><nowiki><div></nowiki></code> but not tables)
*:adding this causes the table to be collapsed by default
 
*:So if you want something to be collapsed by default, it would be <code>mw-collapsible mw-collapsed</code>
 
*<code>mw-collapsible-content</code>  
 
*:this allows you to control which sections will collapse, works in a <code><nowiki><div></nowiki></code> but not tables
 

Please note that all contributions to Krafties may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)