Template:Center/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
Line 2:
{{Commons Import}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{caution-banner|This template '''does not function''' for [[Wikipedia:WP:MOBILE|the mobile view and mobile applications]]. Be aware that more than half of the Wikipedia visitors are via mobile.}}
{{high-risk}}
{{used in system}}
Line 10:
== Usage ==
{{See also|Wikipedia:Span and div}}
{{markup
| <nowiki>{{Center|Hello world!}}</nowiki>
Line 20:
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">...</div>
</syntaxhighlight>
To center a table, see [[Wikipedia:Help:TABLECENTER|Help:TABLECENTER]].
=== Tables ===
| |||