Template:Info:修订间差异
跳到导航
跳到搜索
imported>Recital君 (// Edit via Wikiplus) |
imported>Zyksnowy (想要…不用</includeonly>(ˉ﹃ˉ)) |
||
| 第6行: | 第6行: | ||
{{info}} | {{info}} | ||
== 結構 == | |||
<pre> | |||
{{Info | |||
|class= | |||
|width= | |||
|color= | |||
|backgroundColor= | |||
|title-style= | |||
|title= | |||
|icon-style= | |||
|leftimage= | |||
|text-style= | |||
|text= | |||
|below-style= | |||
|below= | |||
}} | |||
</pre> | |||
除了|text= 以外都可以留空或者删去,不写任何东西的效果见上面的【效果预览】 | 除了|text= 以外都可以留空或者删去,不写任何东西的效果见上面的【效果预览】 | ||
|text=可以用参数【1】代替 | |text=可以用参数【1】代替 | ||
{{color|red|新增功能:可以使用参数title来增加一个标题!也可以用参数below增加一个页脚!}} | {{color|red|新增功能:可以使用参数title来增加一个标题!也可以用参数below增加一个页脚!}} | ||
== 举例说明 == | |||
<pre> | <pre> | ||
{{info | {{info | ||
| 第24行: | 第44行: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:提示模板]]</noinclude> | |||
2016年6月3日 (五) 12:52的版本
这是效果预览
警告!你还没有添加任何内容
結構
{{Info
|class=
|width=
|color=
|backgroundColor=
|title-style=
|title=
|icon-style=
|leftimage=
|text-style=
|text=
|below-style=
|below=
}}
除了|text= 以外都可以留空或者删去,不写任何东西的效果见上面的【效果预览】
|text=可以用参数【1】代替
新增功能:可以使用参数title来增加一个标题!也可以用参数below增加一个页脚!
举例说明
{{info
|width=50%
|title=欢迎来到萌娘百科!
|text= 欢迎使用info模板框,这个模板是所有模板的父模板
|text-style= color: red; font-weight: bold; font-style: italic;
|leftimage= [[image:Icon-info.png|50px|link=]]
|color= red
|backgroundColor=
|below=萌娘百科,万物皆可萌!
|class=
}}