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 | + | 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 |