قالب:Infobox subbox bodystyle

(تم التحويل من قالب:Subsidebar bodystyle)

border-collapse: collapse; border-spacing: 0px; border:none; width:100%; margin:0px; font-size: 100%; clear:none; float:none;

Template documentation

This template is used in conjunction with {{infobox}} or {{sidebar}} to create a borderless subbox, which can be embedded in another infobox or sidebar. This is similar in spirit to {{navbox subgroup}}, which does the same thing for {{navbox}}. It is slightly different from the "child" option for {{infobox}}, since it still creates the outer table.

Example 1

label1data1
label1adata1a
label3data3
{{Infobox
| label1 = label1
| data1 = data1
| data2 = {{infobox
  | bodystyle = {{infobox subbox bodystyle}}
  | label1 = label1a
  | data1  = data1a
  }}
| label3 = label3
| data3  = data3
}}

Example 2

{{Sidebar
| heading1 = heading1
| content1 = content1
| heading2 = heading2
| content2 = {{infobox
  | bodystyle = {{infobox subbox bodystyle}}
  | label1 = label2a
  | data1  = data2a
  | label2 = label2b
  | data2  = data2b
  }}
| heading3 = heading3
| content3 = content3
}}

Example 3

label1data1
label1a data1aa data1ab data1ac
label3data3
{{Infobox
| label1 = label1
| data1 = data1
| data2 = {{infobox3cols
  | bodystyle = {{infobox subbox bodystyle}}
  | label1 = label1a
  | data1a  = data1aa
  | data1b  = data1ab
  | data1c  = data1ac
  }}
| label3 = label3
| data3  = data3
}}

Example 4

{{Sidebar
| heading1 = heading1
| content1 = content1
| heading2 = heading2
| content2 = {{sidebar|navbar=off
  | bodystyle = {{Subsidebar bodystyle}}
  | heading1 = heading2a
  | content1 = content2a
  | heading2 = heading2b
  | content2 = content2b
  }}
| heading3 = heading3
| content3 = content3
}}