# Исходный код вики Box

Редактировал(а) Alexandr Fokin 2023/12/17 12:23

Скрыть последних авторов

author | version | line-number | content
--- | --- | --- | ---
| 1.1 | 1 | {{box cssClass="floatinginfobox"}}
|  | 2 | {{toc start="2" /}}
|  | 3 | {{/box}}
|  | 4 |
|  | 5 | {{velocity}}
| 2.1 | 6 | #set ($exoPrefix = 'https://extensions.xwiki.org/xwiki/bin/view/Extension')
| 1.1 | 7 | $services.localization.render('help.macros.box.description1', ['**','**']) [[$services.localization.render('help.more.label')>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Box+Macro]]
|  | 8 |
|  | 9 | $services.localization.render('help.macros.box.description2')
|  | 10 | * [[$services.localization.render('help.macros.box')>>$exoPrefix/Box%20Macro]]
|  | 11 | * [[$services.localization.render('help.macros.info')>>$exoPrefix/Info+Macro]]
|  | 12 | * [[$services.localization.render('help.macros.success')>>$exoPrefix/Success+Macro]]
|  | 13 | * [[$services.localization.render('help.macros.warning')>>$exoPrefix/Warning+Macro]]
|  | 14 | * [[$services.localization.render('help.macros.error')>>$exoPrefix/Error+Macro]]
|  | 15 |
|  | 16 | == $services.localization.render('help.macros.box') ==
|  | 17 |
|  | 18 | {{example}}
|  | 19 | {{box title='$services.localization.render('help.macros.box.subtitle')'}}
|  | 20 | $services.localization.render('help.macros.box.message')
|  | 21 | {{/box}}
|  | 22 | {{/example}}
|  | 23 |
|  | 24 | == $services.localization.render('help.macros.info') ==
|  | 25 |
|  | 26 | {{example}}
|  | 27 | {{info}}
|  | 28 | $services.localization.render('help.macros.info.message')
|  | 29 | {{/info}}
|  | 30 | {{/example}}
|  | 31 |
|  | 32 | == $services.localization.render('help.macros.success') ==
|  | 33 |
|  | 34 | {{example}}
|  | 35 | {{success}}
|  | 36 | $services.localization.render('help.macros.success.message')
|  | 37 | {{/success}}
|  | 38 | {{/example}}
|  | 39 |
|  | 40 | == $services.localization.render('help.macros.warning') ==
|  | 41 |
|  | 42 | {{example}}
|  | 43 | {{warning}}
|  | 44 | $services.localization.render('help.macros.warning.message')
|  | 45 | {{/warning}}
|  | 46 | {{/example}}
|  | 47 |
|  | 48 | == $services.localization.render('help.macros.error') ==
|  | 49 |
|  | 50 | {{example}}
|  | 51 | {{error}}
|  | 52 | $services.localization.render('help.macros.error.message')
|  | 53 | {{/error}}
|  | 54 | {{/example}}
|  | 55 | {{/velocity}}

## Приложения