Template:Info:修订间差异

跳到导航 跳到搜索
添加4字节 、​ 2020年4月12日 (星期日)
[InPageEdit] 没有编辑摘要 →‎結構
imported>=海豚=
无编辑摘要
imported>=海豚=
([InPageEdit] 没有编辑摘要 →‎結構
第13行: 第13行:
| #default = }}<noinclude>
| #default = }}<noinclude>


==  結構 ==
==  结构 ==
<pre>
<pre>
{{Info
{{Info
|class=
|class=
|width= 默 值是80%
|width= 默 值是80%
|color= 默 值是#1e90ff
|color= 默 值是#1e90ff
|backgroundColor=
|backgroundColor=
|title-style=
|title-style=
|title=
|title=
|icon-style=
|icon-style=
|leftimage= 默 值是[[image:Icon-info.png|50px|link=]]
|leftimage= 默 值是[[image:Icon-info.png|50px|link=]]
|text-style=
|text-style=
|text= 默 值是'''警告!你还没有添加任何内容'''
|text= 默 值是'''警告!你还没有添加任何内容'''
|below-style=
|below-style=
|below=
|below=
第48行: 第48行:
</pre>
</pre>


  所有 參數 都可以留空或者删去,但是 使模板失去作用,不写任何东西的效果见上面的【效果预览】。
  所有 参数 都可以留空或者删去,但是 使模板失去作用,不写任何东西的效果见上面的【效果预览】。
  除了|text= 以外的所有 參數 留空或者删去是合理的用法。
  除了|text= 以外的所有 参数 留空或者删去是合理的用法。
  |text=可以用参数【1】代替
   |text=可以用参数【1】代替
  {{Color|red|可以使用参数title来增加一个标题<br />可以使用参数below来增加一个页脚}}
   {{Color|red|可以使用参数title来增加一个标题<br />可以使用参数below来增加一个页脚}}


== 举例说明 ==
== 举例说明 ==
匿名用户

导航菜单