Jump to content

Template:Responsive two-column

Permanently protected template
From Meta, a Wikimedia project coordination wiki

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Template documentation

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
main contentmain

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

Default
{{Lorem ipsum}}
Contentrequired
additional contentadditional

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

Default
{{Lorem ipsum}}
Contentrequired
inner spacingmargin-side

The amount of blank space between the two columns in desktop view (has no effect in mobile view)

Default
2.8075em
Lineoptional