个人工具

“模板:Box”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
<noinclude>{{Template}}
+
<noinclude>
  
'''A generic message box.'''
+
'''普通消息框。'''
  
See also:
+
参见:
  
 
* [[:Template:Box BLUE]]
 
* [[:Template:Box BLUE]]
第10行: 第10行:
 
* [[:Template:Box YELLOW]]
 
* [[:Template:Box YELLOW]]
  
====Usage====
+
====用法====
  
 
{{Codeline|1=<nowiki>{{Box||Content without heading}}</nowiki>}}
 
{{Codeline|1=<nowiki>{{Box||Content without heading}}</nowiki>}}
第20行: 第20行:
 
{{Codeline|1=<nowiki>{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</nowiki>}}
 
{{Codeline|1=<nowiki>{{Box|Example:|Content followed by border-color and background-color|#DF0000|#FFDFDF}}</nowiki>}}
  
====Example====
+
====示例====
  
 
{{Box||Content without heading}}
 
{{Box||Content without heading}}
第29行: 第29行:
  
 
{{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|#000000}}}"><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|#000000}}}"><strong> {{{1}}} </strong>{{{2}}}</div></includeonly>
[[Category:模板]]
 

2010年9月24日 (五) 15:38的最新版本


普通消息框。

参见:

用法

{{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