Wiki Edit Cheat Sheet: Difference between revisions
Jump to navigation
Jump to search
Line 82: | Line 82: | ||
<math> \left( -\frac{\hbar^2}{2m}\nabla + V(r) \right) \phi = \frac{\partial}{\partial t}\phi </math> | <math> \left( -\frac{\hbar^2}{2m}\nabla + V(r) \right) \phi = \frac{\partial}{\partial t}\phi </math> | ||
= Syntax highlight = | |||
<nowiki><syntaxhighlight lang="C++" line></nowiki><br> | |||
<nowiki>#include "stdio"</nowiki><br> | |||
<nowiki>int main(){</nowiki><br> | |||
::printf("Hello.\n");<br> | |||
::return 0;<br> | |||
<nowiki>}</nowiki><br> | |||
<nowiki></syntaxhighlight></nowiki> | |||
<syntaxhighlight lang="C++" line> | |||
#include "stdio" | |||
int main(){ | |||
printf("Hello.\n"); | |||
return 0; | |||
} | |||
</syntaxhighlight> |
Revision as of 02:17, 27 April 2022
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
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 |
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:
Syntax highlight
<syntaxhighlight lang="C++" line>
#include "stdio"
int main(){
- printf("Hello.\n");
- return 0;
- printf("Hello.\n");
}
</syntaxhighlight>
#include "stdio"
int main(){
printf("Hello.\n");
return 0;
}