Template:Center/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 12: | Line 12: | ||
; <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. | ||
: {{escape notice}} | |||
; <code>width</code> (optional) | ; <code>width</code> (optional) | ||
| Line 24: | Line 25: | ||
; <code>both</code> (optional) | ; <code>both</code> (optional) | ||
: Pass in this to set both upper and lower margins to the same desired value. Note that this will override any margin specified using <code>top</code> or <code>bottom</code>. | : Pass in this to set both upper and lower margins to the same desired value. Note that this will override any margin specified using <code>top</code> or <code>bottom</code>. | ||