Template:Subinfobox bodystyle/doc

This template provides the correct styling with which to embed an Infobox or Sidebar within another template (usually another infobox or sidebar).

with Infobox
{{Infobox/Sidebar/etc <&#33;--(i.e. the parent template)--> ........ | dataN/contentN/etc = {{Infobox | bodystyle = {{subinfobox bodystyle{{))}} ........ }} ........ }}

(Technical note: Using {{tl|subinfobox bodystyle}} rather than Infobox's child parameter to embed an {{tl|Infobox}} means that the outermost table used to contain the (otherwise typical stand-alone) Infobox is retained.)

with Sidebar
When using (as subsidebar bodystyle) to embed a Sidebar, the embedded Sidebar's navbar parameter (see documentation) also needs to be set to "off" (off):

Infobox within Infobox


Infobox within Sidebar


Infobox3cols within Infobox


Sidebar within Sidebar


TemplateData
{	"description": "This template provides the correct styling with which to embed an or  within another template (usually another infobox or sidebar).", "params": {} }