Template:Box/doc: Difference between revisions

→‎Usage: update usage information
(→‎Examples: edit examples)
(→‎Usage: update usage information)
Line 9: Line 9:
|-
|-
| header || optional || Valid options: <tt>yes</tt> or <tt>no</tt>.<br />Default: yes.
| header || optional || Valid options: <tt>yes</tt> or <tt>no</tt>.<br />Default: yes.
|-
| body || optional || Valid options: <tt>yes</tt> or <tt>no</tt>.<br />Default: yes.
|-
|-
| color || optional || Valid options: <tt>ldstech</tt>, <tt>pink</tt>, <tt>orange</tt>, <tt>yellow</tt>, <tt>green</tt>, <tt>blue</tt> and <tt>purple</tt>.<br />Default: Gray box title, white background for body, shades of gray for borders.
| color || optional || Valid options: <tt>ldstech</tt>, <tt>pink</tt>, <tt>orange</tt>, <tt>yellow</tt>, <tt>green</tt>, <tt>blue</tt> and <tt>purple</tt>.<br />Default: Gray box title, white background for body, shades of gray for borders.
Line 18: Line 20:
| width || optional || Values can be expressed in either % or px.<br />Default: adjusts to width of content.
| width || optional || Values can be expressed in either % or px.<br />Default: adjusts to width of content.
|-
|-
| title || mandatory || The title of the box.
| title || mandatory || The title of the box (unless <tt>header=no</tt>).
|-
|-
| content || mandatory || The content to be displayed in the box.
| content || mandatory || The content to be displayed in the box (unless <tt>body=no</tt>).
|-
|-
|}
|}
90,866

edits