Template:Center: Difference between revisions

m
2 revisions imported from templatewiki:Template:Center
No edit summary
m (2 revisions imported from templatewiki:Template:Center)
 
(18 intermediate revisions by 16 users not shown)
Line 1:
<includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;{{#if: {{{style|}}} | {{{style}}};}}">{{{1|[[Category:Pages using center with no arguments]]}}}</div></includeonly><noinclude>
<div align="center">{{{1}}}</div><noinclude>
{{documentation}}
 
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
This is a simple template to align stuff to the center. To use this, place <nowiki>{{center|text}}</nowiki> on the desired page, replacing ''text'' with the desired content.
 
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>