Template:Center/doc: Difference between revisions

m Undo revision 171918 by ArrowHead294 (talk). Obfuscation of wiki markup
Tag: Undo
m -double bold
Line 11: Line 11:


=== Parameters ===
=== Parameters ===
; <code><nowiki>{{{1}}}</nowiki></code> '''(required)'''
; <code><nowiki>{{{1}}}</nowiki></code> (required)
: One unnamed parameter, consisting of the text to be centered.
: One unnamed parameter, consisting of the text to be centered.


; <code>width</code> '''(optional)'''
; <code>width</code> (optional)
: Pass in the desired width; the default value is <code>auto</code>.
: Pass in the desired width; the default value is <code>auto</code>.


; <code>top</code> '''(optional)'''
; <code>top</code> (optional)
: Pass in the desired upper margin; the default value is <code>auto</code>.
: Pass in the desired upper margin; the default value is <code>auto</code>.


; <code>bottom</code> '''(optional)'''
; <code>bottom</code> (optional)
: Pass in the desired lower margin; the default value is <code>auto</code>.
: Pass in the desired lower margin; the default value is <code>auto</code>.