It is useful to create a link to a new page which has predefined content, defined by a template. The template for this new page may contain links to other templates. Structures of standard pages can be easily created.
[[[pagename?templatepage|displayname]]]
The above syntax will:
For example:
[[[links?wiki:templates:links|links]]]
Creates a new page, beneath the current page, and copies it's content from the page wiki:templates:links.
This enables content to be revealed when a user clicks on it.
Inline:
This is example ++text | with some of it only shown when you unfold it++. And after that the text just continues to flow in the same paragraph.
This is example text. And after that the text just continues to flow in the same paragraph.
Block:
This is example text. ++++ Title | | This table | is only shown | when you unfold the block | ++++
Title
{{video>http://www.yourpage.com/yourmovie.avi [width,height]|Alternate text}}
Embeds flash (.fla) movie (.mov) avi (avi) midi (mdi) mp3 (mp3) files into a page. If the client browser has the reqired plugin they will play. more Media files can be linked to another site, or uploaded in the normal way.
{{url>http:/www.somesite.com/somepage.html}}
{{url>http:/www.somesite.com/somepage.html [ width, height ] |alternate-text}}
Options:
See the plugin in action here.
More info.
Displays a single page or a section thereof within the current page.
{{page>[page]}}
{{page>[namespace]:[page]}}
{{page>[namespace]:[page]#[section]}}
[page] | the page to display | required |
|---|---|---|
[namespace] | if the page is in another namespace, you must indicate that | optional; default is the current namespace; colon (:) is the top namespace |
[section] | filters by a section; subsections thereof are included as well | optional |
{{gallery>pagename}}
{{gallery>pagename?150x150&6&showname}}
Options:
Shows a gallery of thumbnails of all images uploaded to a page. Clicking on the image shows the fullsized image. Upload images in the normal way. The thumbnails shown in the upload manager for a page are the ones that will show in the gallery. The user will need to have permission to view the page refered to by the gallery.
<csv> //comma, separated, data// </csv> <csv //page_name:sub_pagename:file.csv//> </csv>
Table information can be exported from (for example) excell, or a contacts database, in .csv.
This syntax above will display either data cut and pasted into your page, or will display a .csv file uploaded usint the upload manager.
A simple box:
<box> the box contents </box>
Some more complex boxes
<box 80% round orange|a title> the box contents</box> <box 50% left blue>the box contents</box|a caption>
The full syntax:
<box width classes | title text> contents text </box>
if no classes are specified the default styles will be used, that is square corners in a colour scheme based on the default Dokuwiki colour scheme.
The opening <box … > including the title must all appear on one line. The box contents can appear over as many lines as are needed.
See the plugin in action here. The sample page shows all the styles available with the plugin.
~~DISCUSSION~~
Allows people reading your page to easily add comments.