- 好消息!您现在可以使用直连工具轻松访问本站 | 查看网站维护日志并获取更多帮助工具!
- 不知道接下来该看什么?点击此处会biu~的导向优质条目一览 ><
- 如果您在H萌娘上发现某些内容错误/空缺,请勇于修正/添加!编辑H萌娘其实很容易!
- 有任何意见、建议、求助都可以在 讨论版 提出!(需要登录)
- 上月网站数据信息出炉,你可以戳此查看H萌娘访问数据分析报告!(不含APP端数据)
模板:Info

警告!你还没有添加任何内容
警告!你还没有添加任何内容
结构
{{Info |class= |width= 默认值是80% |color= 默认值是#1e90ff |title-style= |title= |icon-style= |leftimage= 默认值是[[image:Icon-info.png|50px|link=]] |text-style= |text= 默认值是'''警告!你还没有添加任何内容''' |below-style= |below= }}
{{Info |class= |width= |color= |title-style= |title= |icon-style= |leftimage= |text-style= |text= |below-style= |below= }}
所有参数都可以留空或者删去,但是会使模板失去作用,不写任何东西的效果见上面的【效果预览】。
除了|text= 以外的所有参数留空或者删去是合理的用法。
|text=可以用参数【1】代替
可以使用参数title来增加一个标题
可以使用参数below来增加一个页脚
举例说明
{{info |width=50% |title=欢迎来到H萌娘! |text= 欢迎使用info模板框,这个模板是所有模板的父模板 |class= infoBoxRed |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[image:Icon-info.png|50px|link=]] |color= red |below=H萌娘,万物皆可H! |class= }}
页顶提示框模板
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | 提示的内容
| Content | suggested |
Color | color | 左边缘竖线颜色
| Unknown | optional |
BackgroundColor | backgroundColor | 背景颜色
| Unknown | optional |
Leftimage | leftimage | 选用的图片
| File | optional |
Fontcolor | fontcolor | 文字颜色
| Unknown | optional |
Size | size | 图片大小
| Number | optional |
Title | title | 标题
| Content | optional |
Title-style | title-style | 标题样式
| Unknown | optional |
Icon-style | icon-style | 图片样式
| Unknown | optional |
Text-style | text-style | 内容样式
| Unknown | optional |
Text | text | 提示的内容
| Content | optional |
Width | width | no description
| Number | optional |
Class | class | no description
| Unknown | optional |
Below | below | no description
| Unknown | optional |
Below-style | below-style | no description
| Unknown | optional |