Template:Center: Difference between revisions

m
2 revisions imported from templatewiki:Template:Center
m (noinclude)
m (2 revisions imported from templatewiki:Template:Center)
 
(20 intermediate revisions by 18 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 centre. To use this, place <nowiki>{{centre|text}}</nowiki> on the desired page, replacing ''text'' with the desired content.
</noinclude>
 
[[Category:Function templates]]</noinclude>