模板:Vpad/doc

来自决策链云智库
< 模板:Vpad
Zeroclanzhang讨论 | 贡献2024年1月17日 (三) 13:18的版本 (创建页面,内容为“{{documentation subpage}} ==Usage== Template:Vpad (''V''ertical ''pad''ding) creates an invisible div of user-specified height for padding. <syntaxhighlight lang="wikitext">{{vpad |1= |clear= }}</syntaxhighlight> * {{para|1}} Height of the div in {{code|em}} or {{code|px}}. Defaults to {{code|1em}}. * {{para|clear}} Sets the CSS {{code|clear}} property. Defaults to {{code|both}}. ==TemplateData== {{cot|1=TemplateData|2= <templatedata> { "params": { "1": {…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

Template:Vpad (Vertical padding) creates an invisible div of user-specified height for padding.

{{vpad |1= |clear= }}
  • |1= Height of the div in em or px. Defaults to 1em.
  • |clear= Sets the CSS clear property. Defaults to both.

TemplateData

TemplateData

Creates an invisible div of user-specified height for padding

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Height1

Height of the div in 'em' or 'px'

默认值
1em
示例值
10px, 1=2em
字符串推荐
Clearclear

Sets the CSS 'clear' property

默认值
both
示例值
clear=left, clear=none
字符串可选

See also