Create a Link to a new page using a template

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:

  • Create a link to a page, called pagename that does not yet exist. The link will be called displayname, and display in red.
  • On clicking the link, the user will go to a new page. Click 'Create this page'.
  • The content of the new page will be a copy of the templatepage.
  • The new page can be edited in the usual way.
  • The templatepage may contain other links of this type, so making it possible to create a standard set of pages.

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.

Create an unfolding section of your page

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

Embed video and audio media in your page

{{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.

Embed another webpage from the internet in your page

{{url>http:/www.somesite.com/somepage.html}} 
{{url>http:/www.somesite.com/somepage.html [ width, height ] |alternate-text}} 

Options:

  • [width,height] is optional. If only one dimension is specified, it is assumed to be height. Default values are: width - 98%, height - 400px.
  • |alternate text displays if the page can't be found. optional.

See the plugin in action here.

More info.

Include another RMIT archiTecture wiki page within yours

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

Show a gallery of all images uploaded to a page

{{gallery>pagename}} 
{{gallery>pagename?150x150&6&showname}} 

Options:

  • ?widthxheight - If only one dimension is specified, it is assumed to be width.
  • &columns - Number of columns
  • &showname - Shows name of image.

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.

Embed a table exported from other software

 <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.

Create a box to hold content on your page

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>

  • width — a percentage value from 1-100%.
  • classes — any number of classes which use the styles in your template or the plugin's own stylesheet to determine the look of the box. The box plugins comes with the following classes already defined:
    • round — box will have rounded corners
    • blue — blue colour scheme
    • red — red colour scheme
    • green — green colour scheme
    • orange — orange colour scheme
    • left — float the box left within the wiki page
    • right — float the box right within the wiki page

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.

  • title text — text (including dokuwiki markup) displayed above the box contents, with distinct style.
  • caption text — text (no markup allowed) displayed below the box contents, with distinct style.

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.

Add a discussion to your page

~~DISCUSSION~~

Allows people reading your page to easily add comments.