模板:清除
警告
-
<br style=“clear:left;”/> ,或 -
<br style=“clear:right;”/> ,或 -
<br style=“clear:both;”/> .
用法
-
二者都 :左侧或右侧都不允许有浮动元素(默认); -
左边 :左侧不允许有浮动元素; -
正确的 :右侧不允许有浮动元素。
示例
[[Image:Euclidean_algorithm_running_time_X_Y_361×361.png|thumb|alt=“从{{math|'X''{{dash|n}}'Y'|&}}坐标系的原点向外辐射的一组彩色线。每条线对应一组数字对,在欧几里德算法中要求相同的步骤数。”|[[Euclidean algorithm]中的步骤数 ]用于{{math|[[GCD]](''x'',''y'')|&}}。 红色点表示相对较少的步骤(快速),而黄色、绿色和蓝色点表示连续较多的步骤(缓慢)。 最大的蓝色区域位于线{{math|''y''{{=}}''⏴''{{sp|1}}''x''|&}}之后,其中{{math|''[[Phi|V2-0]]''|&}}代表[[黄金比例]]。]] {{-}}
代码
代码(不支持过时的表示HTML)
{{#开关:{{lc:{{1|both}}}} |l|left=<br style=“clear:left;”/> |r|right=<br style=“clear:right;”/> |both=<br style=“clear:both;”/> }}
代码(具有过时的表示HTML支持)
{{#开关:{{lc:{{1|both}}}} |l|left=<br style=“clear:left;”clear=“left”/> |r|right=<br style=“clear:right;”clear=“right”/> |both=<br style=“clear:both;”clear=“all”/> }}