Jump to: navigation, search

Contents

How to create a page

  • Create a new wiki link on an existing page and the link will automatically create a new page. See How to create a link.
  • Type in the url of the new page you wish to create. This will lead to a new empty page.
For example,
http://fusion.gat.com/global/new_page
http://fusion.gat.com/diii-d/new_page
http://fusion.gat.com/theory/new_page

How to edit a page

Select edit on the Wiki Toolbox located on the bottom of the page you wish to edit.
Image:edit.gif


How to create a link

1. Interwiki links - An interwiki link links a page to a page on another wiki website.

  • Select Image:link.gif and [[Link title]] will appear.
  • Replace "Link title" with the page name you wish to link.
For example, [[Home]] will create Home.
  • To give the link a different name than its page name, put the desired name behind the page name after a "|"
For example, [[Home|New page name]] will create New page name

2. External links - An external link uses an URL to link directly to any webpage.

  • Select Image:external.gif and [http://www.example.com link title] will appear.
  • Replace "http://www.example.com" with the absolute URL you wish to link.
  • Replace "link title" with link name you wish.
For example, [http://www.ga.com General Atomics Website] will create General Atomics.
A link called General Atomics that links to "http://www.ga.com".
  • If you are linking a page on the same server. Use {{SERVER}} instead of http://fusion.gat.com or http://web.gat.com
For example, use [{{SERVER}}/diii-d/ DIII-D Home Page] instead of [http://fusion.gat.com/diii-d DIII-D Home Page]. ::You can also do relative links: [{{SERVER}}../some_directory/ Link]


How to upload a file

  • After logging in, select Upload files on the Wiki Toolbox located on the bottom each page.

This will link to a new page so make sure any recent edits have been saved.

Image:fileupload.gif

  • Click on Image:browse.gif and select the file which you wish to uplaod.
  • Destination filename will by the original file name however you can edit it at this time.
  • Add any info you wish in Summary.
  • Click on Image:upload.gif


How to insert a file

1. Inserting an uploaded file

  • Go to wiki code of the page you would like to insert a file into.
  • Click on Image:Button_fileupload.png on the edit toolbar and {{file|Sample.pdf|Link Name Here}} will apear.
  • Replace Sample.pdf with the name of a file you have uploaded.
For example, a file called TestFile.doc has been uploaded. Let's create a link "here" to this file by {{file|TestFile.doc|here}} will create here.

2. Inserting a file without uploading with wiki

How to insert an image

  • Select Image:insertimage.gif and [[Image:Example.jpg]] will appear.
  • Replace "Example.jpg" with the name of an image file you have uploaded.
For example, an image called ga_logo.gif has been uploaded. [[Image:ga_logo.gif]] will insert ga_logo.gif.
Image:ga_logo.gif

How to create a footnote

  • <ref>Reference text</ref>
  • <ref name="id">Reference text</ref>
    the quotes are only needed if id contains spaces.
  • <ref name="id"/>
    repeated use of same reference may be done as before or in this format with no need to repeat the reference text.
  • <references/>
    inserts the full text of all pending inline citations defined by <ref>, anywhere on the page.


How to create a list

There are various ways to create a list.

Here are some examples,

wikitextrendering
* Unordered List 1
** Unordered List Category
* Unordered List 2
** Unordered List 2 Category
*** Unordered List 2 Sub-Category
  • Unordered List 1
    • Unordered List Category
  • Unordered List 2
    • Unordered List 2 Category
      • Unordered List 2 Sub-Category
# Ordered List 
## Ordered List Category A
## Ordered List Category B
  1. Ordered List Header
    1. Ordered List Category A
    2. Ordered List Category B
; Definition lists
; item : definition
; semicolon plus term
: colon plus definition
Definition lists
item 
definition
semicolon plus term
colon plus definition
* Or mixed lists
*# and nest them
*#* like this
*#*; definitions
*#*: work:
*#*; apple
*#*; banana
*#*: fruits
  • Or mixed lists
    1. and nest them
      • like this
        definitions
        work:
        apple
        banana
        fruits


How to create a table

Although HTML table syntax also works, special wikicode can be used as a shortcut to create a table.

  • The entire table is encased with curly brackets and a vertical bar character (a pipe). So use {| to begin a table, and |} to end it. Each one needs to be on its own line:
{|
  table code goes here
|}
  • An optional table caption is included with a line starting with a vertical bar and plus sign "|+" and the caption after it:
{|
|+ caption
  table code goes here
|}
  • To start a new table row, type a vertical bar and a dash on its own line: "|-". The codes for the cells in that row will start on the next line.
{|
|+ The table's caption
|-
  cell code goes here
|-
  cell code goes here
|}
  • Type the codes for each table cell in the next row, starting with a bar:
{|
|+ The table's caption
|-
| cell codes go here
|-
| cells in the next row go here
| more cells in the same row here
|}
  • Cells can be separated with either a new line and new bar, or by a double bar "||" on the same line. Both produce the same output:
{|
|+ The table's caption
|-
|Cell 1 || Cell 2 || Cell 3
|-
|Cell A 
|Cell B
|Cell C
|}
  • a row of column headings is identified by using "!" instead of "|", and using "!!" instead of "||". Header cells typically render differently than regular cells, depending on the browser. They are often rendered in a bold font and centered.
{|
|+ The table's caption
! Column heading 1 !! Column heading 2 !! Column heading 3
|-
|Cell 1 || Cell 2 || Cell 3
|-
|Cell A
|Cell B
|Cell C
|}
  • the first cell of a row is identified as row heading by starting the line with "!" instead of "|", and starting subsequent data cells on a new line.
{|
|+ The table's caption
! Column heading 1 !! Column heading 2 !! Column heading 3
|-
! Row heading 1 
| Cell 2 || Cell 3
|-
! Row heading A 
|Cell B
|Cell C
|}
  • Optional parameters can modify the behavior of cells, rows, or the entire table. For instance, a border could be added to the table:
{| border="1"
|+ The table's caption
! Column heading 1 !! Column heading 2 !! Column heading 3
|-
! Row heading 1
| Cell 2 || Cell 3
|-
! Row heading A
|Cell B
|Cell C
|}

The final table would display like this:

The table's caption
Column heading 1 Column heading 2 Column heading 3
Row heading 1 Cell 2 Cell 3
Row heading A Cell B Cell C

How to create a formula

A subset of TeX markup, including some extensions from LaTeX and AMSLaTeX is used for creating mathematical formulae.

Feature Syntax How it looks rendered
Accents/Diacritics
\acute{a} \quad \grave{a} \quad \hat{a}
\tilde{a} \quad \breve{a} \quad \check{a} \quad \bar{a}
\ddot{a} \quad \dot{a}
<math>\acute{a} \quad \grave{a} \quad \hat{a}</math>

<math>\tilde{a} \quad \breve{a} \quad \check{a} \quad \bar{a}</math>
<math>\ddot{a} \quad \dot{a}</math>

Std. functions (good)
\sin a \ \cos b \ \tan c \ \cot d
\sec e \ \csc f
\arcsin k \ \arccos l \ \arctan m
\sinh g \ \cosh h \ \tanh i \ \coth j
\operatorname{sh}\,g \ \operatorname{argsh}\,k
\operatorname{ch}\,h \ \operatorname{argch}\,l
\operatorname{th}\,i \ \operatorname{argth}\,m
\lim n \ \limsup o \ \liminf p
\min q \ \max r \ \inf s \ \sup t
\exp u \ \ln v \ \lg w \ \log x \ \log_{10} y
\ker x \ \deg x \ \gcd x \ \Pr x
\det x \ \hom x \ \arg x \ \dim x
<math>\sin a \ \cos b \ \tan c \ \cot d</math>

<math>\sec e \ \csc f</math>
<math>\arcsin k \ \arccos l \ \arctan m</math>
<math>\sinh g \ \cosh h \ \tanh i \ \coth j</math>
<math>\operatorname{sh}\,g \ \operatorname{argsh}\,k</math>
<math>\operatorname{ch}\,h \ \operatorname{argch}\,l</math>
<math>\operatorname{th}\,i \ \operatorname{argth}\,m</math>
<math>\lim n \ \limsup o \ \liminf p</math>
<math>\min q \ \max r \ \inf s \ \sup t</math>
<math>\exp u \ \ln v \ \lg w \ \log x \ \log_{10} y</math>
<math>\ker x \ \deg x \ \gcd x \ \Pr x</math>
<math>\det x \ \hom x \ \arg x \ \dim x</math>

Std. functions (wrong)
sin x + ln y + sgn z
<math>sin x + ln y + sgn z\,\!</math>
Modular arithmetic
s_k \equiv 0 \pmod{m}
a \bmod b
<math>s_k \equiv 0 \pmod{m}</math>

<math>a \bmod b\,\!</math>

Derivatives
\nabla \; \partial x \; dx \; \dot x \; \ddot y
<math>\nabla \; \partial x \; dx \; \dot x \; \ddot y</math>
Sets

(Square symbols may not work for some wikis)

\forall \; \exists \; \empty \; \emptyset \; \varnothing
\in \ni \not\in \notin \subset \subseteq
\supset \supseteq \cap \bigcap \cup \bigcup \biguplus
\setminus \; \smallsetminus
<math>\forall \; \exists \; \empty \; \emptyset \; \varnothing</math>

<math>\in \ni \not\in \notin \subset \subseteq</math>
<math>\supset \supseteq \cap \bigcap \cup \bigcup \biguplus</math>
<math>\setminus \; \smallsetminus</math>

\sqsubset \sqsubseteq \sqsupset \sqsupseteq
\sqcap \sqcup \bigsqcup
<math>\sqsubset \sqsubseteq \sqsupset \sqsupseteq</math>

<math>\sqcap \sqcup \bigsqcup</math>

Operators
+ \; \oplus \; \bigoplus \; \pm \; \mp \; -
\times \; \otimes \; \bigotimes 
\cdot \; \circ \; \bullet \; \bigodot \; \star \; *
/ \; \div \; \begin{matrix} \frac{1}{2} \end{matrix}
<math>+ \; \oplus \; \bigoplus \; \pm \; \mp \; -</math>

<math>\times \; \otimes \; \bigotimes </math>
<math>\cdot \; \circ \; \bullet \; \bigodot \; \star \; *</math>
<math>/ \; \div \; \begin{matrix} \frac{1}{2} \end{matrix}</math>

Logic
p \land \wedge \; \bigwedge \; \bar{q} \to p
\lor \; \vee \; \bigvee \; \lnot \; \neg q
<math>p \land \wedge \; \bigwedge \; \bar{q} \to p</math>

<math>\lor \; \vee \; \bigvee \; \lnot \; \neg q</math>

Root
\sqrt{2}\approx 1.4
<math>\sqrt{2}\approx 1.4</math>
\sqrt[n]{x}
<math>\sqrt[n]{x}</math>
Relations
\sim \; \approx \; \simeq \; \cong \; \dot=
\le \; < \; \ll \; \gg \; \ge >
\equiv \; \not\equiv \; \ne \mbox{or} \neq \; \propto
<math>\sim \; \approx \; \simeq \; \cong \; \dot=</math>

<math>\le \; < \; \ll \; \gg \; \ge \; ></math>
<math>\equiv \; \not\equiv \; \ne \mbox{or} \neq \; \propto</math>

Geometric
\Diamond \; \Box \; \triangle \; \angle \; \perp
\; \mid \; \nmid \; \| \; 45^\circ
<math>\Diamond \; \Box \; \triangle \; \angle \; \perp

\; \mid \; \nmid \; \| \; 45^\circ</math>

Arrows

(Harpoons may not work for some wikis)

\leftarrow \; \gets \; \rightarrow \; \to \; \not\to
\leftrightarrow \; \longleftarrow \; \longrightarrow
\mapsto \; \longmapsto
\hookrightarrow \; \hookleftarrow
\nearrow \; \searrow \; \swarrow \; \nwarrow
\uparrow \; \downarrow \; \updownarrow
<math>\leftarrow \; \gets \; \rightarrow \; \to \; \not\to</math>

<math>\leftrightarrow \; \longleftarrow \; \longrightarrow</math>
<math>\mapsto \; \longmapsto</math>
<math>\hookrightarrow \; \hookleftarrow</math>
<math>\nearrow \; \searrow \; \swarrow \; \nwarrow</math>
<math>\uparrow \; \downarrow \; \updownarrow</math>

\rightharpoonup \; \rightharpoondown 
\; \leftharpoonup \; \leftharpoondown 
\; \upharpoonleft \; \upharpoonright 
\; \downharpoonleft \; \downharpoonright
<math>\rightharpoonup \; \rightharpoondown

\; \leftharpoonup \; \leftharpoondown \; \upharpoonleft \; \upharpoonright \; \downharpoonleft \; \downharpoonright</math>

\Leftarrow \; \Rightarrow \; \Leftrightarrow
\Longleftarrow \; \Longrightarrow
\Longleftrightarrow (or \iff)
\Uparrow \; \Downarrow \; \Updownarrow
<math>\Leftarrow \; \Rightarrow \; \Leftrightarrow</math>

<math>\Longleftarrow \; \Longrightarrow</math>
<math>\Longleftrightarrow (or \iff)</math>
<math>\Uparrow \; \Downarrow \; \Updownarrow</math>

Special
\eth \; \S \; \P \; \% \; \dagger \; \ddagger
\ldots \smile \frown \wr
<math>\eth \; \S \; \P \; \% \; \dagger \; \ddagger</math>

<math>\ldots \; \smile \frown \wr</math>

\triangleleft \triangleright \infty \bot \top
\vdash \vDash \Vdash \models \lVert \rVert
<math>\triangleleft \triangleright \infty \bot \top</math>

<math>\vdash \vDash \Vdash \models \lVert \rVert</math>

\imath \; \hbar \; \ell \; \mho \; \Finv
\Re \; \Im \; \wp \; \complement
<math>\imath \; \hbar \; \ell \; \mho \; \Finv</math>

<math>\Re \; \Im \; \wp \; \complement</math>

\diamondsuit \; \heartsuit \; \clubsuit \; \spadesuit
\Game \; \flat \; \natural \; \sharp
<math>\diamondsuit \; \heartsuit \; \clubsuit \; \spadesuit</math>

<math>\Game \; \flat \; \natural \; \sharp</math>

Lowercase \mathcal has some extras
\mathcal{5} \; \mathcal{abcde \; pqs}
<math>\mathcal{5} \; \mathcal{abcde \; pqs}</math>


Fractions, matrices, multilines

Feature Syntax How it looks rendered
Fractions \frac{2}{4}=0.5 or {2 \over 4}=0.5 <math>\frac{2}{4}=0.5</math>
Small Fractions (force \textstyle) \begin{matrix} \frac{2}{4} \end{matrix} = 0.5 <math>\begin{matrix} \frac{2}{4} \end{matrix} = 0.5</math>
Binomial coefficients {n \choose k} <math>{n \choose k}</math>
Matrices \begin{matrix} x & y \\ z & v \end{matrix} <math>\begin{matrix} x & y \\ z & v \end{matrix}</math>
\begin{vmatrix} x & y \\ z & v \end{vmatrix} <math>\begin{vmatrix} x & y \\ z & v \end{vmatrix}</math>
\begin{Vmatrix} x & y \\ z & v \end{Vmatrix} <math>\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}</math>
\begin{bmatrix} 0 & \cdots & 0 \\ \vdots &

\ddots & \vdots \\ 0 & \cdots &

0\end{bmatrix}
<math>\begin{bmatrix} 0 & \cdots & 0 \\ \vdots

& \ddots & \vdots \\ 0 & \cdots &

0\end{bmatrix} </math>
\begin{Bmatrix} x & y \\ z & v \end{Bmatrix} <math>\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}</math>
\begin{pmatrix} x & y \\ z & v \end{pmatrix} <math>\begin{pmatrix} x & y \\ z & v \end{pmatrix}</math>
Case distinctions f(n) = \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases} <math>f(n) = \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases} </math>
Multiline equations \begin{matrix}f(n+1) & = & (n+1)^2 \\ \ & = & n^2 + 2n + 1 \end{matrix} <math>\begin{matrix}f(n+1) & = & (n+1)^2 \\ \ & = & n^2 + 2n + 1 \end{matrix}</math>
Alternative multiline equations (using tables)

{| border="0" cellpadding="0" cellspacing="0"
|-
|<math>f(n+1)</math>
|<math>=(n+1)^2</math>
|-
|
|<math>=n^2 + 2n + 1</math>
|}

<math>f(n+1) \,\!</math> <math>=(n+1)^2 \,\!</math>
<math>=n^2 + 2n + 1 \,\!</math>
Breaking up a long expression so that it wraps when necessary

<math>f(x) \,\!</math>
<math>= \sum_{n=0}^\infty a_n x^n </math>
<math>= a_0 + a_1 x + a_2 x^2 + a_3 x^3 + \cdots</math>

<math>f(x) \,\!</math><math>= \sum_{n=0}^\infty a_n x^n </math><math>= a_0 + a_1 x +\cdots</math>

Simultaneous equations \begin{cases} 3 x + 5 y + z \\ 7 x - 2 y + 4 z \\ -6 x + 3 y + 2 z \end{cases} <math>\begin{cases} 3 x + 5 y + z \\ 7 x - 2 y + 4 z \\ -6 x + 3 y + 2 z \end{cases}</math>


For more information on editing wiki, visit MediaWiki's Help Page