Template:Responsive two-column
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.
This template can be used to create a two-column layout (“desktop layout”) that collapses into one column on narrower screens (“mobile layout”, less than 1000px wide viewport). The template takes script directionality of the page language into account: the main content is always displayed on the primary side (i.e. left for left-to-right and right for right-to-left languages) in desktop layout.
Usage
{{Responsive two-column
|main =
|additional =
}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
main | main text | Text of the main section. Shown on the left for left-to-right languages and right for right-to-left languages in desktop layout; on the top in mobile layout | Lorem ipsum dolor sit amet… | required |
additional | additional text | Text of the secondary section. Shown on the right for left-to-right languages and left for right-to-left languages in desktop layout; on the bottom in mobile layout | Lorem ipsum dolor sit amet… | required |
margin-side | inner margin | Length of the inner margin (between the two columns); has no impact in mobile layout | 2.8075em | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template can be used to create a two-column layout (“desktop layout”) that collapses into one column on narrower screens (“mobile layout”, less than 1000px wide viewport). The template takes script directionality of the page language into account: the main content is always displayed on the primary side (i.e. left for left-to-right and right for right-to-left languages) in desktop layout.
|
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Localization
This template is not intended to be localized.