Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
wiki:syntax [2021/11/29 10:21] 62.210.149.60 старая версия восстановлена (2021/01/29 04:50) |
wiki:syntax [2021/12/20 18:25] (текущий) kot старая версия восстановлена (2020/12/15 09:16) |
||
---|---|---|---|
Строка 178: | Строка 178: | ||
Узнать, | Узнать, | ||
+ | |||
+ | ==== Галерея картинок ==== | ||
+ | |||
+ | A basic gallery can be added by selecting a [[: | ||
+ | |||
+ | {{gallery>: | ||
+ | |||
+ | All image files in the selected namespace will be added to the image gallery. Don't forget the ":" | ||
+ | |||
+ | Instead of using a whole namespace of images, you can also specify a single image -- this makes more sense when combined with the lightbox mode (see below). | ||
+ | |||
+ | {{gallery>: | ||
+ | |||
+ | The created gallery can be aligned by using white space (defaults to centered): | ||
+ | |||
+ | {{gallery> | ||
+ | {{gallery> | ||
+ | {{gallery> | ||
+ | |||
+ | Instead of a namespace, you can also give an HTTP(s) URL to any [[wp> | ||
+ | |||
+ | {{gallery> | ||
+ | |||
+ | Note: since the question mark is used to separate the parameters (see next section) the URL can not contain any question mark. To use such a feed URL with the gallery plugin, just use one of the many short URL services like [[http:// | ||
+ | |||
+ | E.g. instead of '' | ||
+ | |||
+ | Additionally, | ||
===== Списки ===== | ===== Списки ===== | ||
Строка 363: | Строка 391: | ||
</ | </ | ||
- | ===== Вставка HTML и PHP ===== | ||
- | |||
- | Чистый HTML- или PHP-код можно вставлять в документ с помощью тэгов '' | ||
- | |||
- | <code html> | ||
- | < | ||
- | Тут вставлен <font color=" | ||
- | </ | ||
- | </ | ||
- | |||
- | < | ||
- | Тут вставлен <font color=" | ||
- | </ | ||
- | |||
- | <code php> | ||
- | <php> | ||
- | echo ' | ||
- | echo '< | ||
- | </ | ||
- | </ | ||
- | |||
- | <php> | ||
- | echo ' | ||
- | echo '< | ||
- | </ | ||
- | |||
- | **Примечание**: | ||
===== Управляющие макросы ===== | ===== Управляющие макросы ===== | ||
Строка 404: | Строка 405: | ||
~~INFO: | ~~INFO: | ||
+ | |||
+ | ===== NSPages ===== | ||
+ | |||
+ | **NSPages** -- плагин для создания удобного сортированного списка страниц в [[doku> | ||
+ | |||
+ | This plugin nicely displays a table of content of the pages -and optionally the subnamespaces- of a given (sub)namespace. | ||
+ | |||
+ | Using this plugin is easy: just write | ||
+ | < | ||
+ | and see the result. (You may also use the button {{http:// | ||
+ | |||
+ | The general syntax is | ||
+ | <nspages path_to_a_namespace -option1 -option2 ...> | ||
+ | where: | ||
+ | *path_to_a_namespace represents the path to the wanted namespace. It can be an absolute (ex: namespace1: | ||
+ | *-option may be one of the following (it is possible to specify several options): | ||
+ | |||
+ | ^ Common options ^^ | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | |||
+ | ^ Less common options ^^ | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | -pregPagesOff | ||
+ | -pregNSOn | ||
+ | -pregNSOff</ | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | |||
+ | ex: <nspages path_to_a_namespace -exclude> | ||