This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
usage:syntax [2008/04/15 13:25] wkunert |
usage:syntax [2011/09/09 14:53] (current) andreasreiter [Formatting Syntax] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Formatting Syntax ====== | ====== Formatting Syntax ====== | ||
- | [[http:// | + | [[http:// |
+ | |||
+ | ===== Quickbuttons ===== | ||
+ | |||
+ | The Editing-Toolbar is based upon the one from [[wpmeta> | ||
+ | |||
+ | Browsers without support to insert at the current cursor position will add the string to the end of the edit box. | ||
+ | |||
+ | Most buttons have accesskeys assigned to them, too. | ||
+ | |||
+ | ^ Button ^ Key ^ Function ^ | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
+ | | {{http:// | ||
===== Basic text formatting ===== | ===== Basic text formatting ===== | ||
Line 9: | Line 38: | ||
DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
Of course you can **__//'' | Of course you can **__//'' | ||
+ | |||
+ | You can also <color orange> | ||
+ | |||
+ | You can also <color orange> | ||
+ | | ||
+ | Following colours are available: | ||
+ | * <color black> | ||
+ | * <color navy> | ||
+ | * <color blue> | ||
+ | * <color green> | ||
+ | * <color teal> | ||
+ | * <color lime> | ||
+ | * <color maroon> | ||
+ | * <color purple> | ||
+ | * <color olive> | ||
+ | * <color gray> | ||
+ | * <color silver> | ||
+ | * <color red> | ||
+ | * <color fuchsia> | ||
+ | * <color yellow> | ||
+ | * <color white> | ||
+ | * <color orange> | ||
You can use < | You can use < | ||
Line 326: | Line 377: | ||
+ | ===== Picture Gallery ===== | ||
+ | |||
+ | A basic gallery can be added by selecting a [[namespace]] like this: | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | All imagefiles in the selected namespace will be added to the image gallery. Note: those images need to be a valid [[pagename]], | ||
+ | |||
+ | Instead of using a whole namespace of images, you can also specify a single image -- this makes most sense when combined with the lightbox mode (see below). | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | The created gallery can be aligned by using whitespace (defaults to centered): | ||
+ | |||
+ | {{gallery> | ||
+ | {{gallery> | ||
+ | {{gallery> | ||
+ | |||
+ | You can define the wanted thumbnail size by adding its dimension as parameter: | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | The default is a dimension of 120x120 pixels. | ||
+ | |||
+ | You can define the number of columns as well: | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | The default number of columns is 5 and can be configured in the config manager. If you specify a 0 no table is used instead all thumbnails are added in a sequence. | ||
+ | |||
+ | To have the filename displayed below the thumbnails add the '' | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | If you want the files sorted in the reverse order use the '' | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | If you don't want to link to the image detail pages but directly to the image itself use the '' | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | For fancy JavaScript based inline browsing of the images use the '' | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | All params can be combined: | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | You can also specify the size of lightbox images. It is done the same way as with thumbnails, except using a capital ' | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | |||
+ | IMPORTANT: When you have added your pictures they may not show up in the gallery: add '& | ||
+ | |||
+ | === About the Lightbox mode === | ||
+ | |||
+ | This mode will open the clicked picture inside the current browser window without leaving the current page. You can close the picture view by clicking the little X in the upper right corner or anywhere in the picture. You can move to the next or previous image by using the arrow buttons in the lower corners. | ||
+ | |||
+ | The picture is downsized if necessary to fit into the current browser window. You can enlarge it with the arrow button in the top corner. | ||
+ | |||
+ | The following keys can be used to navigate: | ||
+ | |||
+ | ^ Key ^ Action ^ | ||
+ | | '' | ||
+ | | ''< | ||
+ | | '' | ||
+ | The Lightbox feature will also be used for all images embedded using the standard DokuWiki image syntax and having set the '' | ||
+ | More info at : | ||
+ | Note: The feature does not use [[http:// | ||
- | ===== Control Macros ===== | ||
- | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
- | ^ Macro ^ Description | | ||
- | | %%~~NOTOC~~%% | ||
- | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
- | ===== Syntax Plugins ===== | ||
- | DokuWiki' | ||
- | ~~INFO: | ||