Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия Следующая версия Следующая версия справа и слева | ||
wiki:syntax [2020/12/15 09:16] kot старая версия восстановлена (2020/11/22 11:42) |
wiki:syntax [2021/02/24 01:01] 62.210.188.222 старая версия восстановлена (2021/01/29 04:50) |
||
---|---|---|---|
Строка 78: | Строка 78: | ||
Примечания: | Примечания: | ||
- | * Ссылки на [[doku>ru:wiki: | + | * Ссылки на [[wiki: |
* «Докувики» по умолчанию не использует [[wp> | * «Докувики» по умолчанию не использует [[wp> | ||
* Если меняется название раздела, | * Если меняется название раздела, | ||
Строка 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, | ||
===== Списки ===== | ===== Списки ===== | ||
Строка 391: | Строка 363: | ||
</ | </ | ||
+ | ===== Вставка HTML и PHP ===== | ||
+ | |||
+ | Чистый HTML- или PHP-код можно вставлять в документ с помощью тэгов '' | ||
+ | |||
+ | <code html> | ||
+ | < | ||
+ | Тут вставлен <font color=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Тут вставлен <font color=" | ||
+ | </ | ||
+ | |||
+ | <code php> | ||
+ | <php> | ||
+ | echo ' | ||
+ | echo '< | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <php> | ||
+ | echo ' | ||
+ | echo '< | ||
+ | </ | ||
+ | |||
+ | **Примечание**: | ||
===== Управляющие макросы ===== | ===== Управляющие макросы ===== | ||
Строка 405: | Строка 404: | ||
~~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> | ||