May 24, 2018, Thursday
University of Colorado at Boulder Search A to Z Campus Map University of Colorado at Boulder CU 
Search Links


From MathBio

Revision as of 05:53, 3 April 2013 by Dmbortz (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • The following is a quick reference to Wiki editing. If you need a more thorough reference, please visit the Wikipedia guide. They also have a LaTeX reference.
  • Wiki editing is quick and easy. The following is meant to help you quickly create Wiki pages, but if you see something cool remember that all you have to do is hit the edit button to see how it was done.

Creating a page

  • To create a page simply link (details) to a page that doesn't exist yet. The link will be red, and when you click on it you'll be brought to the edit tab of the new page, where you can now construct it. Once its created, the link will appear normal.

Editing a page

  • A Wiki is simply a collection of pages bound together by a set of links, along with a really easy way to edit the pages. Once you have logged in (available in the top right corner), an edit button becomes available at the top of the page. Click in and you'll have access to the page's source. What you'll see is the unformatted text along with some markup. You simply change the text and add markup as you need.

Text Formatting

Wiki text formatting is made to be quick and reliable. For the most part, you can get away with simply typing in what you need. You'll probably only need a couple of the following tools.

Font style

  • To make text italicized, simply add a pair of single quotes around the text. ''Hello'' becomes Hello.
  • Making something bold is similar, simply add three single quotes. '''Biology rox''' becomes Biology rox.
  • To do both bold and italics, use five single quotes '''''No one came to the party''''' becomes No one came to the party.

Paragraph Indenting

  • To give a bullet to a paragraph of text (the squares to the left) simply add a * and a space before the paragraph.
  • To make a numbered list, simply add a # and a space before each numbered item
  1. Item 1
  2. Item 2
  • Adding sub-items simply requires ##. Sub-sub-items can be done using ###, for example...
  1. Item 1
    1. Sub-item


  • You can also leave comments in the code, which won't be rendered to the output. This is done by surrounding the comment with <!-- Hello thar -->.

Special Text

  • If you would like to highlight some section of code, you can use the <pre>stuff</pre> tags around the code. This will provide the gray background and set it apart.
public class HelloWorld {
   public static void main( String args[] ) {
      System.out.println( "Hello World" );
  • If you would like to add some code inline use the <code>stuff goes here</code> tags.
  • If you would like to put in some text that shouldn't be evaluated by the Wiki, then stick it inside a pair of <nowiki>stuff can go here without being bothered</nowiki>

Math and LaTex

  • This Wiki supports Latex! You can add LaTeX inline by simply surrounding it with <math> </math> tags. For example <math>x_{t+\delta} = \lambda e^\delta x_t</math> produces

x_{{t+\delta }}=\lambda e^{\delta }x_{t}


Links inside the wiki

  • To link to a page inside the wiki, put a pair of square brackets around the title of the page you would like to link to. For example [[Bortz]] becomes Bortz.
  • If you would like to title the link something other than the destination page, add a vertical bar and then your text. For example [[Bortz|David M Bortz]] becomes David M Bortz.

External Links

  • External links may be typed out. For example becomes
  • If you would like to title your external link, but it in a single set of brackets, and put your title after the link. For example [ Really cool site] becomes Really cool site.


  • To add a picture, you must use the Image: directive inside a link: [[Image: Newton.jpg]]. This will create a red link. You can then click on the link and upload the corresponding image. This will show up wherever you put it, like the following: Newton.jpg.
  • To make the image float to the right with a caption, use the following syntax: [[Image: Newton.jpg|frame|Caption]]. For example, the results of [[Image: Newton.jpg|frame|Isaac Newton (1643 - 1727)]] may be seen to the right.

Resizing Image

  • To manually resize an image, you add a bar and the desired width in pixels. For example [[Image: Newton.jpg|30px]] results in Newton.jpg.
  • It is also possible to have an automatically generated thumbnail, which can be useful if you have a large image. This is done similar to the floating image with caption, but replace 'frame' with 'thumb'. For example [[Image: Newton.jpg|thumb|Isaac Newton (1643 - 1727)]].
    Isaac Newton (1643 - 1727)

Conversion to Wiki from MS Word

Here is a word to wiki converter.

Conversion to Wiki from LaTeX

Here is a LaTeX to wiki converter. It's a python script. To use it, rename the txt file to and run:

python ./ < latex_file.tex

and it spits the wiki output to stdout.

Special Pages

Some special pages require a special method to access.

Navigation Bar

If you wish to edit the navigation bar on the left (and have sufficient permissions), simply type Mediawiki:Sidebar into the search bar. When editing, one star in front of the title indicates a new category, two stars indicates a member of that category. Each link must be separated by a |, with the text on the left being the name of the article and that on the right being the title of the link that is to appear. Most of the time these will simply be the same.


  • To create a footnote you put the contents of the footnote inside a pair of <ref> </ref> tags. A footnote will then appear instead of whatever is inside the tags. For example According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref> will appear as
According to scientists, the Sun is pretty big.[1]
  • When you want the wiki to print the list of footnote references, most likely at the end of the page, simply put the ending tag <references/>. If you forget to do this an error message will appear. For example using the <references/> tag here results in:
  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  • If you have the same citation that you would like to use in multiple places, the first place you use the citation give it a name property: This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref>.
  • Any following references to the same footnote can be inserted by now creating a reference with the same name. For this example it would be <ref name="multiple" />