Skip to content
This repository

Wiki Syntax 

derekjones edited this page · 7 revisions
Clone this wiki locally

Category:Wiki Wiki users create new pages, categories, links, and perform other actions directly on the wiki using special syntax. Wikis traditionally use double brackets for this syntax.

Create or Link to a Page

[[Page title]]

This creates a link to a wiki page with the specified title. If the page does not exist, you can create it when you click the link.

For example, if you are writing an article on sandwiches and want to link to or create a page specifically about peanut butter sandwiches you could use the following syntax:

Sandwiches are really great, especially [[Peanut Butter Sandwiches]].

This would link to a page title "Peanut Butter Sandwiches" or it would allow you to create that page when the link is clicked.

Linking to Image or Uploaded File

NOTE: The wiki can automatically give you a file or image's code. On the article Edit page click on View 10 Most Recent File Uploads. If you need an older file click on Uploaded Files in the navigation and then select file. You'll see the appropriate code to use to call that file or image.

[[File:filename.zip]]

Creates a link to a file page for an uploaded file.

[[Image:image.jpg]]

This creates an <img> tag for an uploaded image.

Categories

Placing the following syntax in a article assigns it to the specified category.

[[Category:Category Name]]

If the category does not exist, the category will be created.

For example, to assign an article about peanut butter and jelly sandwiches to a "Sandwiches" category you would use this syntax:

[[Category:Sandwiches]]

That will automatically assign the article to the Sandwiches category or create it if it does not exist. It will also automatically create a link that displays all articles in the "Sandwiches" category.

Nested Category

Placing the following syntax in a article assigns it to the specified categories.

[[Category:Parent Category::Child Category]]

If one or both of the categories does not exist, they will be created.

For example, to assign an article about peanut butter and jelly sandwiches to a "Sandwiches" category with a "Peanut Butter" subcategory you would use this syntax:

[[Category:Sandwiches::Peanut Butter]]

That will automatically assign the article to the "Sandwiches" parent category and a "Peanut Butter" subcategory. If either category does not exist it will be created.

Linking to a Category Page

To create a link to a particular category page, use the following syntax:

[[:Category:Parent Category::Child Category]]

Notice the colon at the beginning. The above code will not create a category, but rather display a link to it.

Something went wrong with that request. Please try again.