Jump to content

Template:Responsive two-column/doc

From Meta, a Wikimedia project coordination wiki

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

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