打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Info:修订间差异

来自高中笔记
MM 喵了个留言 | 贡献
创建页面,内容为“<includeonly><div class="infoBox" style="width:{{{width|80%}}};border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}> {{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundC…”
 
MM 喵了个留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
<includeonly><div class="infoBox" style="width:{{{width|80%}}};border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}>
<includeonly><div class="infoBox" style="width:{{{width|80%}}};border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}>
{{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[image:Icon-info.png|50px|link=]]}}}</div><div class="infoBoxText" style="{{{text-style|}}}">{{{text|{{{1|'''警告!你还没有添加任何内容'''}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}}
{{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[File:Icon-Information.png|50px|link=]]}}}</div><div class="infoBoxText" style="{{{text-style|}}}">{{{text|{{{1|'''警告!你还没有添加任何内容'''}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}}
</div></div></includeonly>
</div></div></includeonly>


<noinclude>这是效果预览
<noinclude>这是效果预览
{{info}}
{{info}}
举例说明:
除了|text= 以外都可以留空或者删去,不写任何东西的效果见上面的【效果预览】
|text=可以用参数【1】代替
{{color|red|新增功能:可以使用参数title来增加一个标题!也可以用参数below增加一个页脚!}}
<pre>
{{info
|width=50%
|title=欢迎来到高中笔记!
|text=这里是 info 模板
|text-style= color: red; font-weight: bold; font-style: italic;
|leftimage= [[image:Icon-IIInformation.png|50px|link=]]
|color= red
|backgroundColor=
|below=高中笔记
}}
</pre>
{{info
|width=50%
|title=欢迎来到高中笔记!
|text=这里是 info 模板
|text-style= color: red; font-weight: bold; font-style: italic;
|leftimage= [[File:Icon-Information.png|50px|link=]]
|color= red
|backgroundColor=
|below=高中笔记
}}
</noinclude>
</noinclude>

2024年7月27日 (六) 20:29的最新版本


这是效果预览

警告!你还没有添加任何内容


举例说明:

除了|text= 以外都可以留空或者删去,不写任何东西的效果见上面的【效果预览】
|text=可以用参数【1】代替
新增功能:可以使用参数title来增加一个标题!也可以用参数below增加一个页脚!
{{info
|width=50% 
|title=欢迎来到高中笔记!
|text=这里是 info 模板
|text-style= color: red; font-weight: bold; font-style: italic;
|leftimage= [[image:Icon-IIInformation.png|50px|link=]]
|color= red
|backgroundColor=
|below=高中笔记
}}
欢迎来到高中笔记!
这里是 info 模板
高中笔记