Template:Center

From Median-XL
Revision as of 09:30, 27 April 2024 by Nugwa (talk | contribs) (Created page with "<noinclude>==Usage== <nowiki>{{Center|Text}}</nowiki> centers the Text: {{Center|Text}} You can also include up to 20 lines of text (this uses Template:Lines).<br><nowiki>{{Center|Text line 1|Text line 2|Text line 3}}</nowiki> produces: {{Center|Text line 1|Text line 2|Text line 3}} This is used so you don't have to manually type <nowiki><br></nowiki> each time after a line. </noinclude><div class="center" style="width: auto; margin-left: auto; margin-right: auto;"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Center|Text}} centers the Text:

Text

You can also include up to 20 lines of text (this uses Template:Lines).
{{Center|Text line 1|Text line 2|Text line 3}} produces:

Text line 1
Text line 2
Text line 3

This is used so you don't have to manually type <br> each time after a line.