Template:Center/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
m Styling doesn't need to be done here
Line 13: Line 13:
; <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>style</code> '''(optional)'''
: Custom styling can be achieved by passing in the desired CSS using this argument.


; <code>top</code> '''(optional)'''
; <code>top</code> '''(optional)'''
: Pass in the desired upper margin. 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. Default value is <code>auto</code>.
: Pass in the desired lower margin. The default value is <code>auto</code>.