模板:信息
刷
历
编
跳到导航
跳到搜索
所有模板列表
如果是第一次来,按"Ctrl+D"可以收藏随时查看更新~按右上角“WIKI功能→编辑”即可修改页面内容。觉得WIKI好玩的话,请推荐给朋友哦~(◕ω<)☆
猫之城wiki使用过的提示信息模板
提示类
复制的内容
{{信息 |width=80% |text= <big>该样式用于提醒/提示/教学等情形</big> |text-style= color: Black; font-weight: bold; |leftimage= [[文件:提示.png|50px|link=]] |color= blue |backgroundColor=#AFEEEE }}
效果
正在施工
复制的内容
{{信息 |width=100% |text= <big>施工中</big> |text-style= color: Black; font-weight: bold; |leftimage= [[文件:正在施工.png|50px|link=]] |color= #B22222 |backgroundColor=#FAFAD2 }}
效果
警告类
复制的内容
{{信息 |width=75% |text= <big>该样式用于声明/警告/告知后果等情形</big> |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[文件:警告.png|50px|link=]] |color= red |backgroundColor=#FFEBCD }}
效果
使用方法
调用参数
{{信息 |class= 风格(模板)success、info、warning、danger其中一个,默认值是 info |width= 宽度 默认值是 auto |color= 左边竖条颜色 默认值是 #1e90ff |backgroundColor=背景色 |icon-style=图标风格 |leftimage= 图片 默认值是[[文件:999.jpg|50px|link=]] |text-style= 文本格式 |text= 文本内容 默认值是'''警告!你还没有添加任何内容''' }}
示例1
你所写的
{{信息}}
显示内容
示例2
你所写的
{{信息 |width=80% |text= 内容:欢迎使用信息模板框,这个模板是所有模板的父模板 |text-style= color: red; font-weight: bold; font-style: italic; |leftimage= [[文件:Test.png|50px|link=]] |color= red |backgroundColor=#ffe897 }}
显示内容
所有模板列表