meta data for this page
Wiki Syntax
For documenting with a DokuWiki you will need to learn some basic syntax with which you can format your text documents. We have summarized the most important options for you here. If you want additional options you can look at the complete syntax summary |here.
Headings
Within a page, you can organize the information using headings of different levels, just think of chapters, sections, subsections, and paragraphs. By default, headings up to level 3 will be included into the table of contents that is shown at the top of the page. The syntax to generate a heading is simple. A level 1 heading (top level) is generated by placing your heading text between two runs of six equal signs
====== YOUR L1 HEADING ======
Lower ranking headings are generated the same way, just decrease the number of equal signs. Please make sure, that your headings are not too long.
Blocks
One further option to structure the information is the text format. For example, you have seen above, that we often place information into code blocks. Note, if you place text in a code block, WIKI syntax will not be interpreted, and you see the information as you have typed it. Use the following syntax
'' Enter here your text that should appear in a grey box ''
Links
Once you have spread information across different pages (and probably also across the internet), a creative use of Links can make your DokuWiki a comprehensive knowledge base. We distinguish internal links, i.e. links to pages within the same DokuWiki and external links to any website. See some examples below:
- internal link
[[:start|internal link]]
- external link
[[http://www.uni-frankfurt.de|external link]]
- interwiki link (link to the Wikipedia article about Acinetobacter baumannii)
[[wp>wiki|interwiki link]]
Tables
Creating tables in a DokuWiki is straightforward. Cells in a table are just separated by a '|' character. If you want to indicate a cell as a header, just prepend the information with a '^' instead of the '|'.
Heading1 | Heading2 | Heading3 | |
---|---|---|---|
Row1 | Value1.1 | Value1.2 | Value1.3 |
Row2 | Value2.1 | Value2.2 | Value2.3 |
Advantages
DokuWikis have a couple of advantages over traditional paper-based documentations of your work. These are, among others
- The DokuWiki is easy to use
- Exhaustive documentation is possible via copy and paste
- Broad range of text formatting options
- Extendable via Plugins
- Subordinate information can be hidden
- Numbered lists can
- help
- you
- structure
- things
- exhaustively
- Text formatting enhances the information transfer
- Text can be bold face, italics, bold face italics
- Entire code blocks (relevant for bioinformaticians) can be integrated via copy and paste
- forloop.sh
for i in `ls`; do echo $i; done
- organize and re-organize information using section headings, pages, and links
- The Media Manager makes the integration of all kinds of media straightforward.
- Integration of Media into a page is straightforward (Figure 1). Note, the integration of media requires that they first have been uploaded via the Media Manager.
- Information sharing among members of a working group is simple
- Revisions allow to move back to older versions of the WIKI
- Change history allows to monitor who changed when a particular page (see bottom right of the page)
- Backups increase data security
- Task assignment using the do plugin in combination with the sqlite plugin
- Placing text with an indent
This is the indented Text
Obviously, we can show here only a small set of the things that can be done with a DokuWiki. For a more comprehensive overview of the wiki syntax follow this LINK. Feel also free to search the available plugins for further inspirations of how to extend the functionality of a dokuwiki.
Disadvantages
Of course, there are also few drawbacks that come along with using a WIKI
- You need a computer, and when you access a WIKI via the web, you need an active internet connection
- Unsaved changes will be lost once you leave the page (or the computer crashes)
- Web-based access represents a security risk
- WIKI-set up not straightforward for everybody
- If you mix editing with the simple DW editor (you have to write the wiki syntax on your own) and with the CKG editor (this is an editor that looks a bit like what you are used to when working with MSOffice), DokuWiki can do funny things. Essentially, it can start to mix the Wiki syntax, which is considerably easy to learn, with way more complex html code.