模板:Box:修订间差异

来自中国分布式计算总站
跳转到导航 跳转到搜索
Cuihao留言 | 贡献
以内容“<noinclude>{{Metatemplate}} '''A generic message box.''' See also: * Template:Box BLUE * Template:Box GREEN * Template:Box RED * [[:Template:Box YELLO...”创建新页面
 
Cuihao留言 | 贡献
无编辑摘要
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
<noinclude>{{Metatemplate}}
<noinclude>{{Metatemplate}}


'''A generic message box.'''
用于突出文本的方框。


See also:
另见:
* [[:模板:Warning]]
* [[:模板:Note]]
* [[:模板:Tip]]


* [[:Template:Box BLUE]]
===用法===
* [[:Template:Box GREEN]]
* [[:Template:Box RED]]
* [[:Template:Box YELLOW]]


====Usage====
<nowiki>{{Box||Content without heading}}</nowiki>


{{Ic|1=<nowiki>{{Box||Content without heading}}</nowiki>}}
<nowiki>{{Box|Example:|Content with heading}}</nowiki>


{{Ic|1=<nowiki>{{Box|Example:|Content with heading}}</nowiki>}}
<nowiki>{{Box|Example:|Content followed by border-color|#DF0000}}</nowiki>


{{Ic|1=<nowiki>{{Box|Example:|Content followed by border-color|#DF0000}}</nowiki>}}
<nowiki>{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</nowiki>
 
{{Ic|1=<nowiki>{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</nowiki>}}
 
====Example====


===示例===
{{Box||Content without heading}}
{{Box||Content without heading}}


第28行: 第25行:
{{Box|Example:|Content followed by border-color|#DF0000}}
{{Box|Example:|Content followed by border-color|#DF0000}}


{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</noinclude><includeonly><div style="padding: 5px; margin: 0.50em 0; background-color: {{{4}}}; border: thin solid {{{3|#000}}}; overflow: hidden;"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly>
{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</noinclude><includeonly><div style="padding: 5px; margin: 0.50em 0; background-color: {{{4}}}; border: thin solid {{{3|#fff}}}; overflow: hidden;"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly>

2013年4月5日 (五) 11:00的最新版本

本页面是一个元模板,无实际内容,仅由其他模板调用。

通常元模板不应当直接用于Wiki页面,而仅用作生成其他模板。请不要随意修改模板,因为这里的修改会影响到所有直接或间接使用到该模板的页面

对于本元模板,如果您有意见或建议,请联系管理员或到论坛Wiki 系统讨论区反映。

用于突出文本的方框。

另见:

用法

{{Box||Content without heading}}
{{Box|Example:|Content with heading}}
{{Box|Example:|Content followed by border-color|#DF0000}}
{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}

示例

Content without heading
Example: Content with heading
Example: Content followed by border-color
Example: Content followed by border-color and background-color