# Help:Create and Edit a Page

## Contents

## Create a page by title

Type the full page title in the search box, press `enter`/`return`, click on the red link, and start writing.

If you are not familiar with WikiText, switch from `(Create|Edit) source`

to `(Create|Edit)`

.

## Math expressions

Math expressions are displayed with MathJax, based on TeX math syntax. Inline math expressions are enclosed by `$`

, block math are enclosed by `<math>`

tag. You may want to go to "Source" mode for math tags, as WYSIWYG editor will escape HTML tags for you.

### Example

This is the equation of solving $ax^2 + bx + c = 0$ for $x$: <math> x = \frac{-b\pm\sqrt{b^2-4ac}}{2a} </math>

This is the equation of solving $ax^2 + bx + c = 0$ for $x$:

[math] x = \frac{-b\pm\sqrt{b^2-4ac}}{2a} [/math]

## Code block

### WYSIWYG

Insert → Code Block

### WikiText

<syntaxhighlight lang="python3"> print("Hello world") </syntaxhighlight>

```
print("Hello world")
```

## Naming Convention

For all notes about workshops and trainings, name it as `D MMMM Y: {title}`

.

Any post that should be opened to committee members only, shall be created under the `UMCPC:`

namespace. (i.e. page title starts with `UMCPC:`

).

## Categorisation

Workshop pages and training pages should be categorised accordingly. If a page covers both workshop and training, include it in both categories.

- Trainings: "Weekly Trainings"
- Workshops: "Workshops"

### WYSIWYG editor mode

Menu button (≡) → Categories → Type in and select the correct category → Click the category button → in the box saying "Sort this page as if it is called", type in the date when the workshop/training happens in format of `YYYYMMDD`

.

### WikiText Mode

Add corresponding links to the categories in the format of `[[Category:Category Name|YYYYMMDD]]`

#### Example

[[Category:Workshops|20170809]] [[Category:Weekly Trainings|20170805]]