Open main menu

Changes

Template:Infobox/doc

36 bytes added, 01:45, 12 July 2017
m
→‎Subboxes: <source>
| header6 = Main 6
}}
<pre source lang="sass" style="overflow:auto">
{{Infobox
| headerstyle = background-color:#eee;
| header6 = Main 6
}}
</presource>{{clear}}
Similar embedding techniques may be used within content parameters of some other templates generating tables (such as [[:Template:Sidebar|Sidebar]]) :
| heading5 = Heading 5
}}
<pre source lang="sass" style="overflow:auto">
{{Sidebar
| navbar = off
| heading5 = Heading 5
}}
</presource>{{clear}}
Note that the default padding of the parent data cell containing each subbox is still visible, so the subboxes are slightly narrower than the parent box and there's a higher vertical spacing between standard cells of the parent box than between cells of distinct subboxes.
Anonymous user