-
Notifications
You must be signed in to change notification settings - Fork 4
Wiki Syntax
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.
[[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.
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.
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.
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.
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.