Template:Center: Difference between revisions

104 bytes removed ,  01:30, 9 August 2023
m
1 revision imported
No edit summary
m (1 revision imported)
 
(5 intermediate revisions by 5 users not shown)
Line 1: 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>
<templatestyles src="center/styles.css" /><div class="wst-center tiInherit {{#if:{{{nomargin|}}}|wst-center-nomargin}}" {{optional style|style={{{style|}}}}}>
<noinclude>
{{{text|{{{1|}}}}}}
==Usage ==
</div><noinclude>
<nowiki>{{Center|This should be center}}</nowiki>
{{documentation}}
Output:
{{Center|This should be center}}
</noinclude>
</noinclude>