Help:Editing

From Perceptual Learning Wiki

Jump to: navigation, search

Contents

Ground Rules for Creating and Editing PLWiki Pages

Links and URLs

External Links

Links to web pages outside PLWiki can be rendered in three ways:

  • As raw URLs: http://cogmod.osu.edu
  • With a label: CogMod Lab -- [http://cogmod.osu.edu CogMod Lab] -- note the single square brackets and the space between the URL and the label
  • As an automatically labelled serial number: [1] -- [http://cogmod.osu.edu]

Internal Links

A wikilink or internal link links a page to another page within PLWiki. These links are in the form [[page name|link name]], where the link name is optional. For example, [[Main Page]] becomes Main Page, and [[Main Page|index]] becomes index. Links with parameters (the link name) are said to be "piped" because of the pipe symbol used ('|'). Note the double square brackets.

MediaWiki automatically checks if the target of a wikilink exists. If the page doesn't exist, the link leads to the editing screen, and it is assigned the class "new". Such wikilinks are nicknamed "red links" because they are colored red in the default stylesheet on a default installation of MediaWiki. Red links are useful in determining the current status of the page (created or not created), create incoming links to a future page, facilitates and incites page creation.

Interwiki Links

An interwiki link links a page to a page on another website. Unlike the name suggests, the target site need not be a wiki, but it has to be on the interwiki map specified for the source wiki. These are in the same form as wikilinks above, but take a prefix which specifies the target site. For example, on Wikimedia projects and many other wikis [[wikipedia:Main Page]] links to Wikipedia's main page. The prefix can be hidden using the same piped syntax as wikilinks.

Links in the form [[#anchor_name]] will link to any anchor named "anchor_name" on the page. This may be either a heading named "anchor_name", or an arbitrary position. For more information, see http://meta.wikimedia.org/wiki/Help:Link#Section_linking and http://meta.wikimedia.org/wiki/Help:Section#Section_linking

PDF uploads

To upload a pdf, first make sure the file name on your local disk complies with the naming conventions used in PL Wiki and has the '.pdf' suffix. Then click on the 'Upload file' link in the right-hand toolbox menu. A new page will open with fields for the file name, etc. Follow the instructions there. After you upload the file it will be stored in an internal repository within the wiki. You don't have to know where exactly that is.

You must put a link to the newly uploaded file onto at least one wiki page. (Otherwise it's just taking up space in the repository.) Use this template to embed the link into your page: {{pdf|MyFileName00.pdf}}

The easiest way to create such templates is to use the "PDF_link" button on the small toolbar that appears when you edit a page. Just select the name of the pdf file (including the .pdf suffix) and click on the "PDF_link" button.

Embed Images

Embedding is very similar to including a pdf link:

  1. Upload the file (you don't have to care where the wiki puts it)
  2. Enter the filename, e.g. cnbfsi.png
  3. Highlight it
  4. Press the "embedded image"-button Image:Button image.png of the editing_toolbar!

Syntax: [[Image:File_name.jpg]] or [[Image:File_name.png|Alt text]]

Tables

The full power of HTML table is possible! But the syntax is obtuse :( Standard HTML table markup also works.

More Help

This page is still under construction. Please contribute.

You may practice your wiki skills in the Sandbox.

In the meantime, refer to the following external links:


See also the toolbar on the left-hand side