# Use the Wiki

The wiki is a versatile tool for interacting with your team and others who view your work. Wikis can be used to explain the main points of your project and can contain information like lab notes, contact information, or more in-depth details about your project.

The wiki supports collaborative editing, meaning your entire team can work on it at the same time. You can also make wikis publicly editable to allow visitors to your project to contribute. All versions of a wiki page are saved, so you can always go back to previous versions and compare current wikis with previous iterations.

## Open the wiki

Open your project or component. Then click either the Wiki tab in the navigation bar or the icon in the top right of the "Wiki" section.

You will be taken to your wiki.

## Edit the wiki

When you navigate to your wiki, the "View" button will be toggled on by default. To write or edit content in your wiki, click the Edit button in the top right of the page.

The "Edit" pane will appear in which you can enter and edit content.

Type your notes in the "Edit" pane on the right. The middle pane, called "View,"  previews the wiki content as you type and can be toggled off by clicking the View button (next to the "Edit" button).

The "Edit" pane will appear on the right. The "Edit" pane is where you enter and edit content.

Type your notes in the "Edit" pane on the right. The middle pane, called "View," previews the wiki content as you type and can be toggled off by clicking the View button (next to the "Edit" button).

### Format text, bullets, headings, and more

The toolbar above the Edit pane contains several buttons to help you format your wiki, even if you don't know Markdown syntax. In order from left to right, they are as follows:

Format text in bold

Format text in italics

Insert a blockquote

Insert a code sample

Insert an image

Insert a numbered list

Insert a bulleted list

Insert a horizontal line

The next two buttons, though not formatting buttons,  allow you to undo or redo typing in the wiki. Finally, autocomplete can be turned on by checking the box and the wiki will try to anticipate what you are typing and complete the word for you.

### Embed images

If the image you want to embed in the wiki is one of your own, you will need to upload it to your project first. See the Uploading Files article to learn how to upload and view files.

Click on the name of the file to open its "File Detail" page. Then, right click on the image and select "Copy image address" to copy the URL for the image (Note: the URL will have the form:

-- NOTE the short URL points to the File Detail page).

Click the image icon in the toolbar of the wiki editor.

Insert the URL for the image into the modal that appears and click Add.

The image will be embedded in your wiki.

Click the green Save button to save your changes.

### Resize images

After you embed an image, the markdown syntax will contain footnotes as follows:

To resize an image, remove the footnotes. Then place the image URL in parentheses and move it directly after the description. For example:

![enter image description here](image URL)

To resize an image to an exact size, add the following syntax after the image URL:

![enter image description here](image URL =nxn)

To resize the image to fit the page, add the following syntax after the URL:

![enter image description here](image URL =100%x)

To resize the image to a relative size, use a percentage:

![enter image description here](image URL =n%x)

The image will be resized accordingly.

To insert a hyperlink into the wiki, click the Insert link button in the toolbar. Type the URL of the website you'd like to link to in the modal (e.g., https://osf.io), then type your text inside the brackets that appear (e.g., The Open Science Framework)

### Insert anchors

@[toc](optional_label)

Then, insert your anchor(s) anywhere in the wiki using the following syntax:

### Embed Youtube or Vimeo videos

You can embed Youtube, Vimeo, Vine, and Prezi in a wiki using a simple bit of Markdown syntax.

For a Vimeo video:

@[vimeo](https://vimeo.com/127891298)

For a Vine video:

@[vine](https://vine.co/v/hApxwH3Uax2/embed)

For a Prezi:

@[prezi](https://prezi.com/9jcaq4arxj22/communicating-science-to-the-public/#)

Replace the URL with the address of the video or presentation you wish to embed.

You can insert tables in a wiki by using markdown syntax: each row on a separate line, with vertical pipes to separate cells. See the example below:

| Characteristics | Types |

| ------ | ----------- |

| Altered Wing Structures   | Short, long, none |

| Altered Body Color | brown, gold, green |

| Altered Eye Color    | brown, red, hazel |

## Add and delete wiki pages

You can add or delete wiki pages by using the buttons on the left side of the Wiki page. To add a wiki page, click the +New button and type a name into the modal that appears.

To delete a wiki page, select it from the list of wiki pages and click the Delete button in the toolbar. Please note that you cannot delete the "Home" wiki page.

## Rename wiki pages

To rename a wiki page, click on its name in the top left of the screen. A text edit box will open, allowing you to change the name.

Click the green check mark to accept changes or the X to cancel your changes. Please note you cannot rename the "Home" wiki page.

## View and compare previous versions

Every time a user clicks Save on a wiki page, a new version of the wiki is saved to the OSF.

You can click the Compare button in the top right of the page to access and compare previous versions of the wiki. Then, use the drop-down menu in the middle and right pans to select the versions of the wiki that you want to compare.

## Make your wiki publicly editable

You can make your wiki editable to any other OSF user by modifying its settings. For a wiki to be publicly editable, the project must be public.

You might use this feature to crowdsource a scientific project or use it to collect questions or feedback from others.

Click the Settings tab in the gray navigation bar, and the project's "Settings" page will appear.

Click Wiki from the left sidebar, and then choose who can edit your wiki from the drop-down list: