Template:Clear/doc
Jump to navigation
Jump to search
This template allows you to clear the left side, the right side, or both by adding
To clear the left, simply put #redirect Template:Tl. To clear the right, put #redirect Template:Tl. To clear both sides, put #redirect Template:Tl.
This template can also be called with #redirect Template:Tl for short.
{
"params": {
"1": {
"label": "Direction",
"description": "Which direction to clear",
"type": "string",
"default": "both",
"suggestedvalues": [
"left",
"right",
"both"
]
},
"class": {
"label": "Class",
"description": "A class to give to the clear",
"type": "string"
}
},
"description": "Clears the left, right, or both.",
"format": "inline"
}
<div style="clear:left/right/both;"></div>
Usage
- redirect Template:Tl: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images. An optional
classparameter can additionally be given for custom functionality.
To clear the left, simply put #redirect Template:Tl. To clear the right, put #redirect Template:Tl. To clear both sides, put #redirect Template:Tl.
This template can also be called with #redirect Template:Tl for short.