More actions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
| color = #36a5e8 | | color = #36a5e8 | ||
}} | }} | ||
</ | </nowiki></pre> | ||
== 效果展示 == | == 效果展示 == | ||
{{#widget:StyledHeader}} | {{#widget:StyledHeader}} | ||
= H1标题样式 = | |||
== H2标题样式 == | |||
==== H4标题样式 ==== | |||
</noinclude> | </noinclude> | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude> |
Revision as of 15:30, 24 July 2024
功能说明
在文档中引入此模板后, 将修改默认的标题样式, 目前影响的标签有H1, H2, H4
参数说明
- color: 文字颜色(如 red、blue),默认为 black。
用法
{{#widget:StyledHeader}} {{#widget:StyledHeader | color = #36a5e8 }}
效果展示