Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FloatBox: Difference between revisions

Template page
Created page with "<div style="clear:{{{clear|both}}}; float: {{{float|right}}};" class={{{class|}}}> {{{content|}}} </div><noinclude> {{documentation}} <templatedata> { "params": { "clear": { "type": "string", "suggestedvalues": [ "both", "left", "right", "none" ], "default": "both" }, "float": { "type": "string", "suggestedvalues": [ "left", "right", "inline-start", "inline-end", "none" ], "default": "right", "suggeste..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="clear:{{{clear|both}}}; float: {{{float|right}}};" class={{{class|}}}>
<div style="clear:{{{clear|both}}}; float: {{{float|right}}}; display: flex; flex-direction: column; gap: 10px;" class={{{class|}}}>
{{{content|}}}
{{{content|}}}
</div><noinclude>
</div><noinclude>
Line 32: Line 32:
},
},
"content": {
"content": {
"type": "unbalanced-wikitext",
"type": "content",
"required": true
"required": true
}
}

Latest revision as of 15:12, 27 September 2025

Creates a box for aligning multiple boxes (for example infoboxes) into a column.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
clearclear

no description

Suggested values
both left right none
Default
both
Stringoptional
floatfloat

no description

Suggested values
left right inline-start inline-end none
Default
right
Stringsuggested
classclass

no description

Stringoptional
contentcontent

no description

Contentrequired