Center

Ultima modifica di Flavio Pellitteri il 2026/09/30 11:06

Center content into a page. Can center text but also other element like images, group block, ...

Parameters

NameDescriptionDefault
classAdditional CSS class to apply to the block-

Examples

{{center}}
=== centred Title ===

my centred text

Hello world
{{/center}}

centred Title

my centred text

Hello world

{{center class="custom-css-class"}}
[[image:Sandbox.WebHome@XWikiLogo.png]]

|=Table|=Other
|Hello|World
{{/center}}

XWikiLogo.png

TableOther
HelloWorld