• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“模板:Info”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(“完善元模板”)
(更新模板)
 
(未显示另一用户的1个中间版本)
第10行: 第10行:
 
  除了|text= 以外都可以留空或者删去,不写任何东西的效果见上面的【效果预览】
 
  除了|text= 以外都可以留空或者删去,不写任何东西的效果见上面的【效果预览】
 
  |text=可以用参数【1】代替
 
  |text=可以用参数【1】代替
  ''可以使用参数title来增加一个标题!也可以用参数below增加一个页脚!''
+
  {{color|red|新增功能:可以使用参数title来增加一个标题!也可以用参数below增加一个页脚!}}
 
<pre>
 
<pre>
 
{{info
 
{{info
第17行: 第17行:
 
|text= 欢迎使用info模板框,这个模板是所有模板的父模板
 
|text= 欢迎使用info模板框,这个模板是所有模板的父模板
 
|text-style= color: red; font-weight: bold; font-style: italic;
 
|text-style= color: red; font-weight: bold; font-style: italic;
|leftimage= [[image:Icon-forbidden.png|50px|link=]]
+
|leftimage= [[image:Icon-info.png|50px|link=]]
 
|color= red
 
|color= red
 
|backgroundColor=
 
|backgroundColor=
|below=插件百科?
+
|below=插件百科
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>
 
<noinclude>[[Category:元模板‎]]</noinclude>
 
<noinclude>[[Category:元模板‎]]</noinclude>

2016年2月18日 (四) 22:00的最新版本


这是效果预览

Icon-info.png
警告!你还没有添加任何内容


举例说明:

除了|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=插件百科
}}