Template:Responsive two-column/doc
Appearance
This is a documentation subpage for Template:Responsive two-column. It contains usage information, categories, and other content that is not part of the original template page. |
This template uses TemplateStyles: |
This template creates a layout that is shown in two columns on larger (desktop) screens, while in two rows on smaller (mobile) ones. This is a responsive alternative to the legacy table-based layouts, which usually don’t work well on small screens.
Parameter | Description | Type | Status | |
---|---|---|---|---|
main content | main | The primary content box, which is shown on the left (on the right in right-to-left languages) in desktop view and on the top in mobile view
| Content | required |
additional content | additional | The secondary content box, which is shown on the right (on the left in right-to-left languages) in desktop view and at the bottom in mobile view
| Content | required |
inner spacing | margin-side | The amount of blank space between the two columns in desktop view (has no effect in mobile view)
| Line | optional |