Wiki Edit Cheat Sheet: Difference between revisions
| Line 130: | Line 130: | ||
= Template = | = Template = | ||
{{Warning}} | <nowiki>{{Warning|don't do that}}</nowiki> | ||
{{Warning|don't do that}} | |||
Revision as of 16:22, 1 May 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
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
{{Warning|don't do that}}