跳转到内容

模板:Resize/TemplateData

维基教科书,自由的教学读本

TemplateData

[编辑]
这是用于新版可视化编辑器及其他工具的模板数据文档。

Resize模板数据

Template to aid switching the font-size used for a text string. Two forms {{resize|<size>|<text>}} and {{resize|<text>}} are possible.

模板参数[编辑模板数据]

参数描述类型状态
Size/Text1

Specifies a css font size e.g. '80%', '1.2em', 'x-large', 'larger'. In the one parameter version the first parameter is the text and the font size is '90%'.

字符串必需
Text when size is given2

The text to display in the two parameter version.

字符串可选