sidebar
sidebar — A portion of a document that is isolated from the main narrative flow.
Synopsis
sidebar ::= × ⏵ ⏷
- Sequence of:- One of:
- One or more of:- empty
- empty
- html:form
- revhistory
- webtoc
- Admonition elements ⏵ ⏷
- Formal elements ⏵ ⏷
- Graphic elements ⏵ ⏷
- Informal elements ⏵ ⏷- informaltable(db.cals.informaltable)
- informaltable(db.html.informaltable)
 
- List elements ⏵ ⏷
- Paragraph elements ⏵ ⏷
- Publishing elements ⏵ ⏷
- Verbatim elements ⏵ ⏷
 
 
Attributes
Common attributes and common linking attributes.
Additional attributes:
- floatstyle
Additional Constraints
- sidebar must not occur among the children or descendants of sidebar
Description
A sidebar is a short piece of text, rarely
      longer than a single column or page, that is presented outside the
      narrative flow of the main text.
Sidebars are often used for digressions or interesting observations that are related, but not directly relevant, to the main text.
Processing expectations
Formatted as a displayed block. Sometimes
        sidebars are boxed or shaded.
DocBook does not specify the location of the
        sidebar within the final displayed flow of text.
        The wrapper may float or remain where it is located.
Attributes
Common attributes and common linking attributes.
- floatstyle
- Specifies style information to be used when rendering the float 
Parents
25 elements contain sidebar. × ⏵ ⏷
These elements contain sidebar: abstract, appendix, bibliodiv, bibliography, blockquote, caption (db.caption), entry, example, figure, footnote, html:fieldset, html:form, itemizedlist, legalnotice, listitem, note, orderedlist, revdescription, section, sidebar, td, textobject, th, variablelist, webpage.
Children
25 elements occur in sidebar. × ⏵ ⏷
The following elements occur in sidebar: blockquote, epigraph, example, figure, html:form, info (db.info), info (db.titleforbidden.info), informaltable (db.cals.informaltable), informaltable (db.html.informaltable), itemizedlist, literallayout, mediaobject, note, orderedlist, para, programlisting, revhistory, sidebar, subtitle, table (db.cals.table), table (db.html.table), title, titleabbrev, variablelist, webtoc.
See Also
Related elements: abstract, blockquote, epigraph.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>|<title>Example sidebar</title>||<section><title>An Example Section</title>5 ||<para>Some narrative text.|</para>||<sidebar><title>A Sidebar</title>10 |<para>Sidebar content.|</para>|</sidebar>||<para>The continuing flow of the narrative text, as if the15 |sidebar was not present.|</para>||</section>|20 |</article>