Template:Clear float

From OpenGL.org
Jump to: navigation, search

This template is used to ensure that floating panels are cleared, so that they do not interfere with section titles, code blocks, and the like.

For example:

{{infobox feature | name = This is a test | core = 0.1 | core_extension = I have an extension | arb_extension = Another extension | ext_extension = I'm really long }}

void TheInfoBoxOverlapsWithMe(int iThinkThisIsBad);

becomes this:

This is a test
Core in version 4.4
Core since version 0.1
Core ARB extension I have an extension
ARB extension Another extension
EXT extension I'm really long
void TheInfoBoxOverlapsWithMe(int iThinkThisIsBad);



To avoid this, use this template{{clear float}}:

{{infobox feature | name = This is a test | core = 0.1 | core_extension = I have an extension | arb_extension = Another extension | ext_extension = I'm really long }} {{clear float}}

void TheInfoBoxOverlapsWithMe(int iThinkThisIsBad);

Which renders as this:

This is a test
Core in version 4.4
Core since version 0.1
Core ARB extension I have an extension
ARB extension Another extension
EXT extension I'm really long


void TheInfoBoxOverlapsWithMe(int iThinkThisIsBad);