Difference between revisions of "Editing Content"
imported>Ed |
imported>Ed (→Images) |
||
Line 59: | Line 59: | ||
===Images=== | ===Images=== | ||
− | First, [[Special:Upload|upload a file]] (there's a link in the toolbox to the right). Then link to that file. More information on how to align, scale, or otherwise process images is available from [https://www.mediawiki.org/wiki/Help:Images|mediawiki | + | First, [[Special:Upload|upload a file]] (there's a link in the toolbox to the right). Then link to that file. More information on how to align, scale, or otherwise process images is available from [https://www.mediawiki.org/wiki/Help:Images| mediawiki's help pages] |
===Math=== | ===Math=== |
Revision as of 20:38, 28 October 2015
Wiki content is easy to edit and create. Content is written in a markup language, and the basic markup is provided below. There are also links to 'official' help sources. But first you should know that each page comes with it's own discussion page that you access using the tab at the tab (it is next to the edit tab). If you are unsure about some content, or want to discuss it, you should add your insights and comments there and not on the page itself!
Contents
Official Sources
This wiki runs on the MediaWiki platform that is used for wikipedia. Wikipedia provides the following pages that will help you:
Likewise, the mediawiki developers and community provide the following useful pages:
Quick Hints
Wiki pages are written in a very simple markup language. You can click the edit button on any page and enter marked-up content into the box and click save, and the new changes will appear instantly on the page. You can probably deduce all of the markup that you need by looking at an existing page, but as a quick reference the most used syntax is provided below. (Note that if you look at the source code, you will see that the <nowiki></nowiki>tag is used to prevent the wiki from interpreting the code.
Bullets, Indents and Boxes
At the start of a line:
- * to bullet
- # to number bullet
- : to indent
- (space) to put things in a box
Now let's see them again in action:
- to bullet
- to number bullet
- to indent
to put things in a box
Headers
To make headers heirarchiarly (TOC is automatic) use:
- =Page header=
- ==Section header== - The Quick Hint Section uses this
- ===Sub-Section header=== - "Headers" is a sub-section
- ====Sub-Sub-Section header===
Links
There are two types of links:
- [http:/www... Text that you want] are external links
- [[WikiPage | Text that you want] or just [[WikiPage]] are internal links
With the first link, a space after the URL indicated that the text that follows is the label. With the second link, the text following the pipe (|) indicates the label. You can leave the pipe and text off and then the page link will show up as the page name, like this: [[BPP]] gives BPP.
Create A Page
If you want to create a new page, make a link to a page name that doesn't exist, save the page, and then click the link!
Basic Text Formatting
Use text formatting sparingly:
- To make things italic put them in two quotes: ''italic''
- To make things bold put them in three quotes: '''bold'''
- To make things bold-italic put them in five quotes: ''''bold-italic''''
Images
First, upload a file (there's a link in the toolbox to the right). Then link to that file. More information on how to align, scale, or otherwise process images is available from mediawiki's help pages
Math
And we wouldn't feel like proper PhD students if we couldn't render some math. LaTex is fully supported. Just add a <math>...</math> tag around any LaTex like you would normally use either $...$ or $$...$$.
For example:
- I am [math]\succ [/math] you.
You might also want to see the Help using LaTeX page!