Inhoud
WTT plugin
The WTT plugin provides the following page elements:
- Colsets for Window style
- Panels for showing images in a modern way
- Quicklinks for news list etc.
- Breadcrumbs for navigation on “Ariadne's thread”
It provides also the following main page elements explained in How to edit the menus
- Mega Menus for handling complex menu structures
- Fat Footers for modern footer styling
The main function of the WTT plugin is to expand the usual Dokuwiki Syntax for WTT needs.
WTT Syntax
Panels (or Sliders)
Panels include images in size of 990 x 350 pixels. The images will be blended one after the other. Panels always starts on the top below search mask.
A link on a image gives the opinion to click on the image and open the linked page afterwards. Take the images out of media files.
Panels may include wiki text which is shown in overlays below the images.
The definition of a panel is in a panel file. It has to bein the wiki folder <language>/web/static/panel.
Syntax:
<wttpanels>name of panel</wttpanels>
Example
<wttpanels>mainpage</wttpanels>
The panel file mainpage shows you a complex example. And you will see the panel in action on the top.
Colsets
Colsets produce a set of columns. Currently you can see that on the homepage. More than 3 columns per Colset doesn't make sense yet. The height of all columns is automatically the Height of the highest column.
Colset Syntax
<colset> <col> <row>[Wikitext[</row> <row>[Wikitext]]]</row> </col> <col> <row>[Wikitext[</row> <row>[Wikitext]]]</row> </col> [...] </colset>
To “break” a column use </row>
To make a column left, center or aligned write
- <col:>
<row>[Wikitext]
</col> for left aligned
- <col : >
[Wikitext]
</col> for center aligned
- <col :>
[Wikitext]
</col> for right aligned
Example
<colset>
<col : >
<row>
====== centered colset ======
[[wtt|{{:wiki:dokuwiki-128.png|Dokuwiki Image}}]]
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque:
* Lorem ipsum dolor sit amet, consectetur adipiscing elit.
At vero eos et accusamus et iusto odio dignissimos ducimus.
</row>
<row>
====== 2nd Window ======
[[wtt|more lorem ipsum ...]]
</row>
</col>
</colset>
Example in action:
centered colset
2nd Window
Quicklinks
Quicklinks will be shown an left column. They may have a headline and content. The content may include usual wiki syntax. A wiki link in content is right aligned in the column.
Quicklinks should be defined allways on the top of page, whereas they may appear everywhere. Top on page they will be found easily - especially on long pages.
An image in a quicklink will be scaled on right size automatically - currently 180 pixels. If the origin size differs to much worse scaling may result bad image quality by browser rendering. In this case scale the image with a propper program before.
Quicklinks Syntax
<quicklink [headline]> [wiki content] </quicklink>
Example 1: (headline and a link to a book)
<quicklink A headline> Simple text as content [[en:web:publications:ek:spiritual-astrology|a link to "Spritual Astrology"]] </quicklink>
Example 2 (image without headline):
<quicklink>
{{:web:helpkeyboard.jpg|}}
</quicklink>
Breadcrumbs
Dokuwiki provide so called breadcrumbs on every page. They include a list of the last frequented pages and will be shown in WTT web layout below language selection.
For all pages in Namespace <language>/web the crumbs will be suppressed.
You may add manually the following wiki tags to suppress the crumbs on a page:
Syntax:
~~NOCRUMBS~~

