Template:Center: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="text-align: center;">{{{1}}}</div></includeonly><noinclude>
<includeonly><div style="text-align: center;">{{{1}}}</div></includeonly><noinclude>
A template used to align a content within its block in the center.
A template used to align a content within its block in the center.
It produces a `div` with `text-align: center` style.
It produces a <code>div</code> with <code>text-align: center</code> style.


== Examples ==
== Examples ==

Revision as of 16:11, 8 July 2024

A template used to align a content within its block in the center. It produces a div with text-align: center style.

Examples

{{Center|A centered text}}
A centered text


{{Center|
Multiple<br/>Lines

Of

Text
}}

Multiple
Lines

Of

Text


{{Center|[[File:Shelphy Adriana.png|250px|A centered image]]}}
A centered image