Wikipage instructions

From Applied Optics Wiki
Revision as of 14:28, 26 March 2011 by Rikesh Patel (talk | contribs)

Jump to: navigation, search


If you've clicked to get here, you are willing fill in some details about yourself or someone else in the AO group such as your/their personal page, the publications page or anything else. I will put down a list of easy (I hope) instructions to keep upto date and maintain the webpage.


Basic wikitext

There are already a few pages on this wiki that can help you with putting up text/links/pictures on any page. The best reference page is;

Wikitext examples

which will get you upto speed. Along with this, when you create/edit a page, there is an edit bar that will input wikitext special characters for you, so you don't need to remember them all. Here are a few quick examples that are commonly used in this wiki if you don't want to read through the examples page;

  • <code>some example code</code> will make the sample code look like this:- some example code
  • <nowiki><some_markup> some code </some_markup></nowiki> will ignore all markups in 'nowiki' and result in:- <some_markup> some code </some_markup>
  • ''Italic text'' results in:- Italic text
  • '''Bold text''' results in:- Bold text
  • You are required to put a double 'return' in the edit text to see regular text on a new line (except with bullet points, numbered lists, titles, etc)
  • <!-- some hidden text --> will comment text and can only be seen in edit mode, can used to keep old text without deleting it
  • <pre>some large code</pre> will put code into a special box and will show:-
    some large code
  • ==Title== and ===Subtitle=== will create a title and subtitle on a page, shown below:-

Title

Subtitle

  • ---- will add a line into the page:-

  • You can use :, * and # to indent, bullet point and number text respectively. The more characters you add (e.g. **, ***) the more you subdive the section. Adding more : will indent further, adding more * will bullet inside another bullet point and adding more # will split up numbered sections.


Links, images and files

Mediawiki makes it very easy to link to other pages as long as you are consistent on naming. The largest problem when using links (and are subsequentlyeasily resolved) is when to use capital letters for page titles and whether or not to use underscores. General in links, use capital letters if the page has capital letters and don't use underscores (there are some exceptions, but even if you encounter them, you can just go back and replace them). Its best to test every link once you've created a page.

  • [[Applied Optics]] creates a link like this :- Applied Optics
  • [[Applied Optics|Welcome page]] creates a named link (seperated by | )like this :- Welcome page
  • [[#Basic wikitext]] creates a link to a subsection like this :- #Basic wikitext
  • [[Main page#Contributing to the wiki|Contributing]] creates a link to a subsection on different page named like this :- Contributing
  • [http://www.nottingham.ac.uk/engineering/departments/eee/index.aspx] creates a link like this :- [1]
  • [http://www.nottingham.ac.uk/engineering/departments/eee/index.aspx|EEE department webpage] creates a link like this :- department webpage