Template:Wrapper

From The C&C Wiki


A helper div that allows to modify the layout of the flexbox.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Modifiercolspan

Numeric value to define a relative width of a div in the flexbox.

Suggested values
0 1 2
Example
2
Numbersuggested
Classclass

A custom or pre-defined Bootstrap class name to be applied to the wrapper div.

Stringoptional
Example

Makes the first div two times wider if other conditions allow this.

{{navbox block}}
{{wrapper|colspan=2}}
{{Featured media
|header_class=bg-white
|image=Captain & Company - Banner (512x512).png
}}
{{end}}
{{Featured media
|header_class=bg-white
|image=Captain & Company - Banner (512x512).png
}}
{{end}}
Result
Discord | Twitter