Wiki Edit Cheat Sheet
New page
To create a new page, simply use double square bracket like
[[ new page name ]]
Yes, space is allowed. If the page does not exist, it will be red in color like this:
Formatting
Wiki language supports HTML and CSS.
To change the default css template, visit MediaWiki:Common.css.
Level 2
Level 3
Level 4
Level 5
Level 6
- List 1
- List 1a
- Lis3 1b
- List 2
- List 2a
- List 2ai
- List 2a
Links
interWiki Link Tandem Accelerator
interWiki Link to a subsection Tandem Accelerator#Terminal_Foil_Band_Changer
interWiki Link to a subsection, with simplified name Foil Band Changer
OuterWiki Link FSU Nuclear Physics Home
Tandem_Accelerator#Venting_the_Tandem_to_Air
Using color
<span style="color:red">'''NEED PROOF READING'''</span>
NEED PROOF READING
Table
A simple bordered table can be started by using
Wikicode:
{| class="wikitable" style="margin:auto" |+ Table Captions |- ! header1 !! header2 |- | Dirac || apple |- | Fermi || banana |}
Result:
header1 | header2 |
---|---|
Dirac | apple |
Fermi | banana |
Math example
using <math> can start Latex:
<math> \left( -\frac{\hbar^2}{2m}\nabla + V(r) \right) \phi = \frac{\partial}{\partial t}\phi </math>
The result is:
More detail: https://www.mediawiki.org/wiki/Extension:Math/Help:Formula
Syntax highlight
Wikicode:
<syntaxhighlight lang="C++" line>
#include "stdio"
int main(){
- printf("Hello.\n");
- return 0;
}
</syntaxhighlight>
Result:
#include "stdio"
int main(){
printf("Hello.\n");
return 0;
}
Supported language can be found in here
Collapsed Section
<div class="toccolours mw-collapsible mw-collapsed">
<div style="line-height:1.6;">Collapsed heading text</div>
<div class="mw-collapsible-content">
collapsed text.
</div></div>
collapsed text.
Template
For detail, https://www.mediawiki.org/wiki/Help:Templates .
Template is just a wiki page under the spacename Template.
I created 2 for this wiki.
And there usage are:
{{Warning|don't do that}}
{{Notice | Notice here}}
Notice : | Notice here |