打开主菜单
首页
随机
登录
设置
关于帆域维基
免责声明
帆域维基
搜索
查看“Template:信息/文档”的源代码
←
Template:信息/文档
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<noinclude>[[分类:说明]]</noinclude> {{教程标题|一级标题=使用方法}} <div class="wenzi1"> ===调用参数=== <pre>{{信息 |class= success、info、warning、danger其中一个,默认值是 info |width= 默认值是 auto |color= 默认值是 #1e90ff |backgroundColor= |icon-style= |leftimage= 默认值是[[文件:999.jpg|50px|link=]] |text-style= |text= 默认值是'''警告!你还没有添加任何内容''' }}</pre> </div> {{教程标题|一级标题=示例1}} <div class="wenzi1"> ===你所写的=== <pre>{{信息}}</pre> ===显示内容=== {{信息}} </div> {{教程标题|一级标题=示例2}} <div class="wenzi1"> ===你所写的=== <pre>{{信息 |width=80% |text= 内容:欢迎使用信息模板框,这个模板是所有模板的父模板 |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[文件:Test.png|50px|link=]] |color= red |backgroundColor=#ffe897 }}</pre> ===显示内容=== {{信息 |width=80% |text= 内容:欢迎使用信息模板框,这个模板是所有模板的父模板 |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[文件:Test.png|50px|link=]] |color= red |backgroundColor=#ffe897 }} </div>
该页面使用的模板:
Template:信息
(
查看源代码
)
Template:教程标题
(
查看源代码
)
返回
Template:信息/文档
。