Editing UCT EE Wiki:Editing

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 38: Line 38:
 
= Tips 'n Tricks =  
 
= Tips 'n Tricks =  
 
== Collapsible Sections ==
 
== Collapsible Sections ==
Collapsible Sections can be quite useful for hiding in-depth content and making a page more "browsable". Collapsible sections are created as follows. Note the use of the "Section" keyword in the span class and div id. It needs to be unique for each collapsible section on your page, otherwise it will collapse or open multiple sections. Setting the "mw-collapsed" class in the div will mean the section starts collapsed.
+
Collapsible Sections can be quite useful for hiding in-depth content and making a page more "browsable". Collapsible sections are created as follows. Note the use of the "Section" keyword in the span class and div id. It needs to be unique for each collapsible section on your page, otherwise it will collapse or open multiple sections.
 
<pre>
 
<pre>
 
<span class="mw-customtoggle-Section" style="font-size:small; display:inline-block; "><span class="mw-customtoggletext" data-expandtext="Illuminate" data-collapsetext="Deluminate">[Show/hide]</span></span>
 
<span class="mw-customtoggle-Section" style="font-size:small; display:inline-block; "><span class="mw-customtoggletext" data-expandtext="Illuminate" data-collapsetext="Deluminate">[Show/hide]</span></span>
Line 51: Line 51:
 
Here's collapsible content!
 
Here's collapsible content!
 
</div>
 
</div>
 
 
== Code Highlighting ==  
 
== Code Highlighting ==  
 
Code highlighting is supported by the [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight SyntaxHiglight] package. To use it is quite simple. The following code
 
Code highlighting is supported by the [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight SyntaxHiglight] package. To use it is quite simple. The following code

Please note that all contributions to UCT EE Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see UCT EE Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)