Help:Contents
If you would like to edit pages on this wiki, please request an account!
Contents |
Sandbox
Please use Sandbox to test edits.
Basic Editing
Links
You can link to a web page by simply typing its URL: http://example.com/
Alternatively, you can format your links as follows:
| Description | Source | Renders As |
|---|---|---|
| Simple External Link | [http://example.com]
|
[1] |
| External Link with Description | [http://example.com RFC 2606]
|
RFC 2606 |
| Simple Internal Link | [[Main Page]]
|
Main Page |
| Renamed Internal Link | [[Main Page|Home]]
|
Home |
InterWiki Links
InterWiki links allow you to link to other useful wikis available on the Internet.
The format of an InterWiki link is similar to that of an internal link.
For example: [[Wikipedia:InterWiki]] renders as Wikipedia:InterWiki.
You can rename the link as well: [[Wikipedia:InterWiki|InterWiki]] renders as InterWiki.
To view a list of available InterWiki links, see Special:InterWiki.
Features Available on this Wiki
Edit Toolbar
I have added many useful tools to the edit toolbar. Hover over each button to see what it does.
Code Highlighting
There are several ways of inserting code.
Inline Fixed-Width Font
If you simply want to reference a variable or file name, surround it with <code>...</code> tags.
Example of the result:
Set the variable$wgUploadPathso it is equal to/w/images.
Code Block Without Coloring
To show code in a block without applying syntax highlighting, surround it with <pre>...</pre> tags.
Example of the result:
// Set the upload path $wgUploadPath = "/w/images";
Code Block With Coloring
To show code in a block and apply syntax highlighting, surround it with <source lang=LANGUAGE>...</source> tags, where LANGUAGE is the name of the language of the code you are inserting.
Example of the result:
// Set the upload path $wgUploadPath = "/w/images";
A list of supported languages is provided here.
Toggle Sections
Toggle sections allow you to hide a section of content by default, and allow the user to show it with a single click. This uses JavaScript so no page reloads are necessary. If a user has JavaScript disabled, the section will be shown by default.
This is particularly useful for long sections of code.
To create a toggle section, enclose it with <toggle>...</toggle> tags.
Example of the result:
Toggle sections also work "inline" like this:
Advanced Usage
There are several attributes you can set to customize the toggle section.
| Parameter | Default | Explanation |
|---|---|---|
| status | hide | Initial state when the page is first displayed. May be hide or show. |
| showtext | [show details] | Link text when hidable area is hidden. |
| hidetext | [hide details] | Link text when hidable area is shown. |
| linkstyle | font-size:smaller | CSS style specification for the link. |