0 Votes

Center

Last modified by Ryan C on 2025/05/30 00:24

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