| At line 1 changed one line |
| [RefactorMe] -- pages need to be renamed |
| !! Collapsable Boxes |
| At line 3 changed 2 lines |
| In addition to the simple styles represented by the [Wiki.Markup], JSPWiki also allows you to put in your own styles, which |
| are defined in the jspwiki.css file. These may vary from site to site, and it is up to the site administrator to define a style. |
| This [Wiki.Style] is an extension of [How To Create Collapsable Lists]. |
| It provides collapsable boxes : when closed only the title of the box is visible; |
| when opened the complete box becomes visible. A open/close icon will be shown |
| at the right edge of the box, indicating the status of the box. |
| At line 6 changed one line |
| Following styles are supported by the standard jspwiki.css file: |
| This is very convenient for info in pages like |
| LeftMenu, LeftMenuFooter, your <username>Favorites, and so on. |
| At line 8 changed 8 lines |
| * %~%small -- Smaller then normal font, like %%small this %% |
| * %~%sub -- Subscript, like a%%sub ij %%= a%%sub ji%% |
| * %~%sup -- Superscript, like 2%%sup 3 %%= 8 |
| * %~%strike -- Strikethrough text, like %%strike this text is hardly readable %% |
| * %~%center -- Center your text. See also [How To Center Text] |
| * %~%ltr -- left-to-right text formatting |
| * %~%rtl -- right-to-left text formatting |
| * %~%commenbox -- comment box floating at the right margin |
| ! Usage |
| At line 17 changed 10 lines |
| Special block markers : |
| %%information |
| Use %~%information ... %~% for informational messages |
| %% |
| %%warning |
| Use %~%warning ... %~% for warning blocks |
| %% |
| %%error |
| Use %~%error ... %~% for error blocks |
| %% |
| {{{ |
| %%collapsebox |
| ! Title of the box |
| Here is the body of the box |
| * item 1 |
| * item 2 |
| %% |
| }}} |
| At line 22 added one line |
| Reality check: |
| At line 29 changed one line |
| Some other, more dynamic styles are supported as well, powered by client-side ~JavaScript |
| %%collapsebox |
| ! Box1 |
| Here is the body of the box |
| * item 1 |
| * item 2 |
| %% |
| At line 31 removed 7 lines |
| * %~%collapsable -- Turn ordinary lists into collapsable trees. See [How To Create Collapsable Lists] |
| * %~%collapsebox -- Turn text section into a collapsable box. See [Wiki.How To.Create Collapsable Boxes] |
| * %~%sortable -- Turn ordinary wiki tables into sortable tables. See [Wiki.How To.Create Sortable Tables] |
| * %~%tabbedSection, %~%tab -- Create pages with tabular sections. See [Wiki.How To.Create Tabbed Sections] |
| * %~%graphBar, %~%gBar -- Turn lists of values in horizontal grapghical bars. See [Wiki.How To.Create Graph Bars] |
| * %~%zebra-table -- Odd/even colouring of tables. See [Wiki.How To.Create Zebra Tables] |
|