Wiki source code of Box
Last modified by Andrey Che on 2018/12/10 14:09
Show last authors
1 | {{box cssClass="floatinginfobox"}} |
2 | {{toc start="2" /}} |
3 | {{/box}} |
4 | |
5 | **Box Macro** displays a message in a styled box. [[Learn more>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Box+Macro]] |
6 | |
7 | There are several specialised box macros: |
8 | * [[Info Macro>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Info+Macro]] |
9 | * [[Success Macro>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Success+Macro]] |
10 | * [[Warning Macro>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Warning+Macro]] |
11 | * [[Error Macro>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Error+Macro]] |
12 | |
13 | == Box Macro == |
14 | |
15 | {{example}} |
16 | {{box title="Title of the box" width="30%"}} |
17 | This is a box message |
18 | {{/box}} |
19 | {{/example}} |
20 | |
21 | == Info Macro == |
22 | |
23 | {{example}} |
24 | {{info}} |
25 | This is an informative message |
26 | {{/info}} |
27 | {{/example}} |
28 | |
29 | == Success Macro == |
30 | |
31 | {{example}} |
32 | {{success}} |
33 | This is a success message |
34 | {{/success}} |
35 | {{/example}} |
36 | |
37 | == Warning Macro == |
38 | |
39 | {{example}} |
40 | {{warning}} |
41 | This is a warning message |
42 | {{/warning}} |
43 | {{/example}} |
44 | |
45 | == Error Macro == |
46 | |
47 | {{example}} |
48 | {{error}} |
49 | This is an error message |
50 | {{/error}} |
51 | {{/example}} |