模板:Clear/doc:修订间差异
外观
< 模板:Clear
bwiki>35609647 小 列表替换:替换 “分类:模板页的文档” 为 “分类:模板文档” 第 97/145 个 |
小 导入1个版本 |
||
| (未显示另一用户的1个中间版本) | |||
| 第1行: | 第1行: | ||
{{Languages|Template:Clear/doc}} | |||
{{documentation subpage}} | |||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
{{tsh|-|clr}} | |||
Shorthand for <syntaxhighlight inline lang="html"><div style="clear: both;"></div></syntaxhighlight>. | |||
== TemplateData == | |||
< | {{TemplateData header}} | ||
[[ | <templatedata> | ||
</ | { | ||
"description": { | |||
"en": "Clear floating block-level elements without line break.", | |||
"pt-br": "“Limpar” elementos flutuantes em nível de bloco sem quebra de linha através do parâmetro “clear” do CSS." | |||
}, | |||
"params": { | |||
"1": { | |||
"label": { | |||
"en": "Clear", | |||
"pt-br": "Atributo" | |||
}, | |||
"description": { | |||
"en": "CSS clear: left, right, both, none.", | |||
"pt-br": "Atributos do parâmetro clear do CSS: left, right, both, none." | |||
}, | |||
"default": "both", | |||
"type": "string" | |||
} | |||
}, | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Formatting templates{{#translation:}}]] | |||
[[Category:Typing-aid templates{{#translation:}}]] | |||
[[Category:Utility templates{{#translation:}}]] | |||
}}</includeonly> | |||
2025年12月19日 (五) 23:43的最新版本
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:Clear. It contains usage information, categories and other content that is not part of the original 模板 page. |
Shorthand for <div style="clear: both;"></div>.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Clear
Clear floating block-level elements without line break.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Clear | 1 | CSS clear: left, right, both, none.
| 字符串 | 可选 |