Здесь показаны различия между двумя версиями данной страницы.
— |
wiki:help:plugin:note [2016/09/03 14:48] (текущий) ¶ создано |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
+ | ====== plugin:note ====== | ||
+ | ===== Описание ===== | ||
+ | |||
+ | This plugin allows you to create nice “notes” like this in your DokuWiki pages | ||
+ | |||
+ | [[private:admin:wiki:plugin:note:|для админа]] | ||
+ | |||
+ | |||
+ | ===== Использование ===== | ||
+ | |||
+ | When you have it installed, use this : | ||
+ | |||
+ | <code> | ||
+ | <note> | ||
+ | This is my note ! Remember it!! | ||
+ | </note> | ||
+ | |||
+ | <note important> | ||
+ | Warning ! You're about to lose your mind ;-) | ||
+ | </note> | ||
+ | |||
+ | <note tip> | ||
+ | The clues are in the images. | ||
+ | </note> | ||
+ | |||
+ | <note warning> | ||
+ | Beware of the cat when you open the door !! | ||
+ | </note> | ||
+ | </code> | ||
+ | |||
+ | You can use the note keywords ''important'', ''warning'' and ''tip''. Or some French synonyms: ''importante''(important), ''bloquante'', ''critique'' (warning), ''tuyau'', ''idée'' (tip), ''classique'' (classic). It is quite easy to add new types of notes if you know a bit of PHP and CSS. | ||
+ | |||
+ | |||
+ | |||
+ | ===== Ограничения ===== | ||
+ | |||
+ | Plugin won't work inside numbered list\\ | ||
+ | |||
+ | <del>It also doesn't appear to work within a folded section using the "[[plugin:folded|Folded]]" plugin.</del>\\ | ||
+ | |||
+ | Correction: The syntax is as follows: | ||
+ | |||
+ | <code> | ||
+ | === Note === | ||
+ | ++++Note dans un Folded| | ||
+ | <note critique> | ||
+ | Ça fonctionne seulement avec le //div// pas le //span//. | ||
+ | </note> | ||
+ | ++++ | ||
+ | </code> | ||
+ | |||
+ | == Результат == | ||
+ | |||
+ | ++++Note dans un Folded| | ||
+ | <note critique> | ||
+ | Ça fonctionne seulement avec le //div// pas le //span//. | ||
+ | </note> | ||
+ | ++++ | ||