Wiki source code of Center
Last modified by anna_gerasimets on 2026/02/25 08:09
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | $services.localization.render('rendering.macro.center.description') | ||
| 3 | |||
| 4 | == Parameters == | ||
| 5 | |||
| 6 | |=Name|=Description|=Default | ||
| 7 | |class|$services.localization.render('rendering.macro.center.parameter.class.description')|- | ||
| 8 | |||
| 9 | == Examples == | ||
| 10 | |||
| 11 | {{code}} | ||
| 12 | {{center}} | ||
| 13 | === centred Title === | ||
| 14 | |||
| 15 | my centred text | ||
| 16 | |||
| 17 | Hello world | ||
| 18 | {{/center}} | ||
| 19 | {{/code}} | ||
| 20 | |||
| 21 | {{center}} | ||
| 22 | === centred Title === | ||
| 23 | |||
| 24 | my centred text | ||
| 25 | |||
| 26 | Hello world | ||
| 27 | {{/center}} | ||
| 28 | |||
| 29 | {{code}} | ||
| 30 | {{center class="custom-css-class"}} | ||
| 31 | [[image:Sandbox.WebHome@XWikiLogo.png]] | ||
| 32 | |||
| 33 | |=Table|=Other | ||
| 34 | |Hello|World | ||
| 35 | {{/center}} | ||
| 36 | {{/code}} | ||
| 37 | |||
| 38 | {{center class="custom-css-class"}} | ||
| 39 | [[image:Sandbox.WebHome@XWikiLogo.png]] | ||
| 40 | |||
| 41 | |=Table|=Other | ||
| 42 | |Hello|World | ||
| 43 | {{/center}} | ||
| 44 | |||
| 45 | {{/velocity}} |