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