# Wiki Conventions

This page provides some of the more often used conventions for articles in this wiki. This should be used in conjunction with the MediaWiki Help Pages.

## Pictures

Use the code below to include pictures:

[[Image:filename.png|right|thumb|100px|This is a caption]]

From the code above, the picture filename.png is included on the right-hand side of the screen as thumbnails (thumb) of 100 pixel width and with the caption "This is a caption".

For example, the code below leads to the picture on the right:

[[Image:Batteries_Rack.JPG|right|thumb|250px|Caption]]

For more options, see Mediawiki Help:Images.

## Naming Conventions

### Images

"Fig" + number + "_" + article name / description

For example, the second figure for an article about arc flash = "Fig2_Arcflash"

## Mathematics

This wiki uses a LaTeX based equations inside  tags. This is the basic syntax:

$LaTeX Equation \,$

Use the "\," option at the end of the equation to graphically render the equation (otherwise, it will be rendered in ASCII if possible). For example, $\cos \theta \,$ yields

$\cos \theta \,$

While $\cos \theta$ (without the "\," option) yields

$\cos \theta$

For example, this code:

$|\mathcal{E}| = \left|{{d\Phi_B} \over dt} \right| \,$

Gives this math output:

$|\mathcal{E}| = \left|{{d\Phi_B} \over dt} \right| \ ,$

For more information about LaTeX maths equations, see the LaTeX Mathematics Wikibook. Note that you don't need to use \begin{equation} or \end{equation} as this is automatically covered by the  tags.

## Tables

{| border = "1" cellpadding="5" cellspacing="0" style = "text-align:center;"  |-  !style="background:#efefef;" width="80px" | Material  !style="background:#efefef;" width="300px" | Advantages  |-  | blah || blah  |-  | blah || blah  |}

The code above creates the following table:

blah blah
blah blah

For more on tables, see MediaWiki Help:Tables

## Categories

Categories are typically added at the bottom of an article using the following code:

[[Category:Electropedia]]

Where in this case, the category name is "Electropedia".

The list of all the categories used in this wiki is located here.

{{#widget:YouTube|id=DWef69ItVrU}}