From NewWiki

Contents

Basic editing

Just type text as you want to see it. You can easily add headings and bullets, etc., as explained below.

New lines are not taken into account. To start a new paragraph, insert an empty line.

You can learn about the editing syntax by looking at the syntax of existing pages. To safely do so, just select "View" tab.

See Help for how to create a new page, upload images and files, and other information.

Section Headings

You can create a section by using the equal signs 2,3 or up to 6 times, for example:
== Section Headings ==
was used to create this section.

By default, a table of contents will be created on pages that contain these section headings. Clicking on a section heading in the table of contents will jump you to that section.

You can specify that you don't want a table of contents by placing the following on your page: <** no TOC **>

Leaving your mark!

  • Add your signature using ~~~~ (for me this leaves: SarahF)
  • Add your signature with a timestamp of when you save your edit, using --~~~~ (for me this leaves: - SarahF (Sun 10 Jun 2007 19:13:09))
  • While editing, you can also add your signature with a timestamp by simply clicking the button that appears above the text editing box on each page you edit.

Bulleted Lists

You can create bulleted list by starting each line with a *, ** or up to 6 stars. For example
* First bullet point
** Sub-bullet point
* Second bullet point
will give:
  • First bullet point
    • Sub-bullet point
  • Second bullet point

Numbered Lists

You can create numbered list by starting each line with a #, ## or up to 6 #s. For example
# First bullet point
## First sub-bullet point
## Second sub-bullet point
# Second bullet point
will give:
  1. First bullet point
    1. First sub-bullet point
    2. Second sub-bullet point
  2. Second bullet point

Categories

You can create a category for a page by using: [[Category:category_Name]] or give it nice name on your page using [[Category:category_Name|nice name]]

To link to a category homepage, just add a colon, like this: [[:Category:category_Name]]

Pre-formatted text

You can create "pre-formatted" text by adding a space at the begining of a line like this:

This is preformatted.

Note that this style preserves all spaces and new line characters in what you write in your sentence, so if you don't insert some line breaks by hitting enter, your text will not word wrap when it probably should!

Links

You can link to a page on this wiki by inserting [[pageName]].

In general, the syntax [[pageName|betterName]] will link to page name but show betterName as the link.

For external links the syntax is [http:yourlinkhere] and, as space is not allowed directly in links, it is used as a separator, as in [http:yourlinkhere betterName]. This works with http, https, ftp and file.

You can use also:

  • Insert an image: [[Image:imageName]]
    • ... and have your description appear as a tooltip: [[Image:imageName|description]]
    • ... and have it link to a wiki page: [[ImageLink:imageName|wiki page name]]
    • ... that will go to the http:link when clicked upon: [[ImageLinkHttp:imageName|link]]

  • Insert a thumbnail of an image: [[Image:imageName|thumb]]
    • ... and have your description appear as a tooltip: [[Image:imageName|thumb|description]]
    • ... that will go to a wiki page when clicked upon: [[ImageLink:imageName|thumb|wiki page name]]
    • ... that will go to the http:link when clicked upon: [[ImageLinkHttp:imageName|thumb|link]]

  • Link to an image: [[Media:image]]
  • Link to a notebook: [[Media:notebookName]]
    • or equivalently: [[DownloadNotebook:notebookName]] (might be easier to remember)

  • Link to a html version of a notebook: [[LinkToViewAsHTML:notebookName]]
  • Insert a html version of a notebook: [[Notebook:notebookName]]

  • Insert the number of links from the page to other wiki pages: [[CountLinksFrom:pageName]]

Running Mathematica code in a page

A unique feature of this web site is the ability to write code in a page and have the kernel execute that code.

Please make sure that your code runs in Mathematica 5.2 first and does not take more than a few (<10) seconds to run. Otherwise it will impact the quality of the website. Please, do not try to run here expressions that hang Mathematica 5.2. It will hang the website and generate a restart of webMathematica.

You can use the following syntax to run code:

  • [[Expression:||| your code here |||]] will generate an input cell, showing the code, and an output cell. The cells are numbered automatically from the top of the page. Those numbers cannot be used as in a regular notebook, they are only here for convenience. Example: [[Expression:||| 2+2 |||]] yields
    In[1]:=  2+2

    Out[1]:=4

  • [[Output:||| your code here |||]] does the same but does not show the input cell. Example: [[Output:||| 2+2 |||]] yields
    Out[2]:=4

  • [[JustOutput:||| your code here |||]] does the same but does not even show the out[n], to enable you to use it in a sentence. Example: [[JustOutput:||| 2+2 |||]] yields simply 4

The next three are a repeat of the above but the output does it best to output LiveGraphics3D that can be rotated, zoomed and panned by the users:

  • [[ExpressionLive:||| your code here |||]]
  • [[OutputLive:||| your code here |||]]
  • [[JustOutputLive:||| your code here |||]]

You can also get the file path of an image uploaded on the site by using AccessWikiImage[ImageName]

Special variables

Some variables are automatically replaced in a page. They are:

Special characters and comments

We needed special characters to be able to build this page.
  • {{SIG}} -> ~~~~,
  • {{SIGWITHTIMESTAMP}} -> --~~~~,
  • {{2braketOpen}} -> "[[",
  • {{2braketClose}} -> "]]",
  • {{2curlyBraketOpen}} -> "{{",
  • {{2curlyBraketClose}} -> "}}",
  • {{braketOpen}} -> "[",
  • {{braketClose}} -> "]",
  • {{startComment}} -> "<**",
  • {{endComment}} -> "**>",
  • {{oneEqual}} -> "=",
  • {{twoEquals}} -> "==",
  • {{threeEquals}} -> "===",
  • {{fourEquals}} -> "====",
  • {{oneStar}} -> "*",
  • {{twoStars}} -> "**",
  • {{oneHash}} -> "#",
  • {{twoHash}} -> "##",
  • {{lessThan}} -> "<",
  • {{greaterThan}} -> ">"

The syntax for a comment is as follows: <** comment, view this page to see a real comment **>.

Contributors to this Page
Retrieved from Editing tips .
Personal tools