Template:Center/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 8: | Line 8: | ||
</div></pre> | </div></pre> | ||
This template eliminates the need to manually type out the <code><nowiki><div></nowiki></code> elements every time. | This template eliminates the need to manually type out the <code><nowiki><div></nowiki></code> elements every time something needs to be centered. | ||
Custom styling can be achieved by passing in the desired CSS | === Parameters === | ||
; <code><nowiki>{{{1}}}</nowiki></code> '''(required''') | |||
: One unnamed parameter, consisting of the text to be centered. | |||
; <code>style</code> | |||
: Custom styling can be achieved by passing in the desired CSS using this argument. |