Здесь показаны различия между двумя версиями данной страницы.
— |
wiki:help:plugin:folded [2016/09/03 15:42] (текущий) ¶ создано |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
+ | ====== plugin:folded ====== | ||
+ | ===== Описание ===== | ||
+ | |||
+ | Foldable page sections | ||
+ | |||
+ | [[private:admin:wiki:plugin:folded:|для админа]] | ||
+ | |||
+ | |||
+ | ===== Использование ===== | ||
+ | |||
+ | If you want to make additional information available that is hidden by default, you have two options with this plugin: | ||
+ | |||
+ | **Inline:** | ||
+ | |||
+ | This is example ++text | with some of it only shown when you unfold it++. And after that | ||
+ | the text just continues to flow in the same paragraph. | ||
+ | | ||
+ | This is example ++text | with some of it only shown when you unfold it++. And after that | ||
+ | the text just continues to flow in the same paragraph. | ||
+ | |||
+ | **Block:** | ||
+ | |||
+ | <code> | ||
+ | This is example text. | ||
+ | |||
+ | ++++ Title | | ||
+ | |||
+ | | This table | is only shown | when you unfold the block | | ||
+ | |||
+ | {{page>some other wiki page&inline}} | ||
+ | |||
+ | ++++ | ||
+ | </code> | ||
+ | |||
+ | ^ ^ Inline ^ Block ^ | ||
+ | | Syntax | ''%%++title| formatted text ++%%'' | ''%%++++title| any content ++++%%'' | | ||
+ | | HTML | ''%%<span>%%'' tag | ''%%<div>%%'' tag | | ||
+ | | Can contain formatting | :-) | :-) | | ||
+ | | Can contain block elements((like tables, lists, new paragraphs, included files, etc.)) | --- | :-) | | ||
+ | | Can be used within a paragraph, table, list, etc. | :-) | --- | | ||
+ | |||